Disable WITH_DEXPREOPT.

This commit is contained in:
fanyouwei 2022-08-30 18:50:45 +08:00 committed by hcl
parent 1bdc607dc0
commit 06e9467041
2 changed files with 2 additions and 2 deletions

View File

@ -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. # Conditional to building on linux, as dex2oat currently does not work on darwin.
ifeq ($(HOST_OS),linux) ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT := true WITH_DEXPREOPT := false
endif endif
# ############################################################### # ###############################################################

View File

@ -67,7 +67,7 @@ ifeq ($(HOST_OS),linux)
ifeq (,$(filter eng, $(TARGET_BUILD_VARIANT))) ifeq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
ifneq (true,$(WITH_DEXPREOPT)) ifneq (true,$(WITH_DEXPREOPT))
ifneq (true,$(WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY)) 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 endif
endif endif