Merge "Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option." into lmp-dev

This commit is contained in:
Alex Light 2014-08-12 17:11:10 +00:00 committed by Android (Google) Code Review
commit 95221ced39
2 changed files with 8 additions and 1 deletions

View File

@ -32,6 +32,12 @@ endif
ifneq (,$(filter $(LOCAL_MODULE),$(PRODUCT_DEX_PREOPT_PACKAGES_IN_DATA)))
LOCAL_DEX_PREOPT :=
endif
# if WITH_DEXPREOPT_BOOT_IMG_ONLY=true and module is not in boot class path skip
ifeq (true,$(WITH_DEXPREOPT_BOOT_IMG_ONLY))
ifeq ($(filter $(DEXPREOPT_BOOT_JARS_MODULES),$(LOCAL_MODULE)),)
LOCAL_DEX_PREOPT :=
endif
endif
built_odex :=
installed_odex :=

View File

@ -262,7 +262,8 @@ _product_stash_var_list += \
_product_stash_var_list += \
DEFAULT_SYSTEM_DEV_CERTIFICATE \
WITH_DEXPREOPT
WITH_DEXPREOPT \
WITH_DEXPREOPT_BOOT_IMG_ONLY
#
# Stash values of the variables in _product_stash_var_list.