From 06e946704117760592204e0f12aefe8695a79912 Mon Sep 17 00:00:00 2001 From: fanyouwei Date: Tue, 30 Aug 2022 18:50:45 +0800 Subject: [PATCH] Disable WITH_DEXPREOPT. --- core/board_config.mk | 2 +- core/dex_preopt_config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/board_config.mk b/core/board_config.mk index ea6ec1e4e..1a15ec931 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 # ############################################################### diff --git a/core/dex_preopt_config.mk b/core/dex_preopt_config.mk index 51238a36c..c4a0015a7 100644 --- a/core/dex_preopt_config.mk +++ b/core/dex_preopt_config.mk @@ -67,7 +67,7 @@ ifeq ($(HOST_OS),linux) ifeq (,$(filter eng, $(TARGET_BUILD_VARIANT))) ifneq (true,$(WITH_DEXPREOPT)) ifneq (true,$(WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY)) - $(call pretty-error, DEXPREOPT must be enabled for user and userdebug builds) + # $(call pretty-error, DEXPREOPT must be enabled for user and userdebug builds) endif endif endif