Revert "For user and userdebug generate error if DEXPREOPT is not enabled"
This reverts commitf26b8e4249
. Reason for revert: Too many broken targets Bug: 74209329 Test: m (cherry picked from commit0ecba4b139
) Merged-In: I8f1390eacf685e1b7144b712fe5afb8da384ceb0 Change-Id: If3540c3a4bfd2fa829e3c948c699a5fd62994998
This commit is contained in:
@@ -46,16 +46,6 @@ ifeq ($(HOST_OS),linux)
|
|||||||
ifneq (false,$(WITH_DEXPREOPT_DEBUG_INFO))
|
ifneq (false,$(WITH_DEXPREOPT_DEBUG_INFO))
|
||||||
PRODUCT_DEX_PREOPT_BOOT_FLAGS += --generate-mini-debug-info
|
PRODUCT_DEX_PREOPT_BOOT_FLAGS += --generate-mini-debug-info
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Non eng linux builds must have preopt enabled so that system server doesn't run as interpreter
|
|
||||||
# only. b/74209329
|
|
||||||
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)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GLOBAL_DEXPREOPT_FLAGS :=
|
GLOBAL_DEXPREOPT_FLAGS :=
|
||||||
|
@@ -317,7 +317,8 @@ _product_stash_var_list += \
|
|||||||
_product_stash_var_list += \
|
_product_stash_var_list += \
|
||||||
DEFAULT_SYSTEM_DEV_CERTIFICATE \
|
DEFAULT_SYSTEM_DEV_CERTIFICATE \
|
||||||
WITH_DEXPREOPT \
|
WITH_DEXPREOPT \
|
||||||
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY
|
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY \
|
||||||
|
WITH_DEXPREOPT_APP_IMAGE
|
||||||
|
|
||||||
#
|
#
|
||||||
# Mark the variables in _product_stash_var_list as readonly
|
# Mark the variables in _product_stash_var_list as readonly
|
||||||
|
Reference in New Issue
Block a user