From c51cafcfb4aa11ca9c2e1936f03921e2782ab560 Mon Sep 17 00:00:00 2001 From: McKnight22 Date: Thu, 5 May 2022 00:52:33 +0800 Subject: [PATCH] Disable dex2oat invoked on DEX code installed on the system image due to dex2oat failed when compiling ART boot image. --- core/board_config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/board_config.mk b/core/board_config.mk index 1b08f9a0b4..c8dc2d7fd8 100644 --- a/core/board_config.mk +++ b/core/board_config.mk @@ -149,7 +149,7 @@ _board_strip_readonly_list += $(_build_broken_var_list) \ # Conditional to building on linux, as dex2oat currently does not work on darwin. ifeq ($(HOST_OS),linux) - WITH_DEXPREOPT := true + WITH_DEXPREOPT := false endif # ############################################################### -- Gitee