forked from openkylin/platform_build
Disable WITH_DEXPREOPT.
This commit is contained in:
parent
1bdc607dc0
commit
06e9467041
|
@ -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
|
||||||
|
|
||||||
# ###############################################################
|
# ###############################################################
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue