diff options
author | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-06-15 22:35:15 +0100 |
---|---|---|
committer | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-06-15 22:35:15 +0100 |
commit | 801912641f9a7b0026198daf0b0d0de336d47f7f (patch) | |
tree | 87e1573a97a7f80b2c39551771e195511b97d6d8 /core | |
parent | 9b017f96679dd6459e2cf44734d8f1062cda2ac5 (diff) | |
download | build-801912641f9a7b0026198daf0b0d0de336d47f7f.zip build-801912641f9a7b0026198daf0b0d0de336d47f7f.tar.gz build-801912641f9a7b0026198daf0b0d0de336d47f7f.tar.bz2 |
Conditionally skip dex-preopting specific prebuilts.
Extend change I13f10e2a9c251366f29606158f8c2fb54f8ee8b so that it
optionally applies to a specific list of modules.
Change-Id: Id56aeadfb8d2581a2c7b7045725419bf4f6b8faa
Diffstat (limited to 'core')
-rw-r--r-- | core/prebuilt_internal.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk index b5ff3a1..2a4b716 100644 --- a/core/prebuilt_internal.mk +++ b/core/prebuilt_internal.mk @@ -190,6 +190,11 @@ ifeq ($(DONT_DEXPREOPT_PREBUILTS),true) LOCAL_DEX_PREOPT := false endif +# Disable dex-preopt of specific prebuilts to save space, if requested. +ifneq ($(filter $(DEXPREOPT_BLACKLIST),$(LOCAL_MODULE)),) +LOCAL_DEX_PREOPT := false +endif + ####################################### # defines built_odex along with rule to install odex include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk |