summaryrefslogtreecommitdiffstats
path: root/core/prebuilt_internal.mk
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-10-02 21:45:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-02 21:45:54 +0000
commit2e3a71e65817cf1fc51f78c5da73ffebe798a6d4 (patch)
treee60144e269104e217a611d19a0a59d2d029097d2 /core/prebuilt_internal.mk
parent90bbdb78ccbda1ddab01f02e6e77ecd504d2e96e (diff)
parenteb304c0d27fa96773ad52683ee4846e2e66ad61d (diff)
downloadbuild-2e3a71e65817cf1fc51f78c5da73ffebe798a6d4.zip
build-2e3a71e65817cf1fc51f78c5da73ffebe798a6d4.tar.gz
build-2e3a71e65817cf1fc51f78c5da73ffebe798a6d4.tar.bz2
am eb304c0d: am 0f85ebab: am 5e0dbe0c: Conditionally skip dex-preopting prebuilts.
* commit 'eb304c0d27fa96773ad52683ee4846e2e66ad61d': Conditionally skip dex-preopting prebuilts.
Diffstat (limited to 'core/prebuilt_internal.mk')
-rw-r--r--core/prebuilt_internal.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk
index 0544c54..551cf2d 100644
--- a/core/prebuilt_internal.mk
+++ b/core/prebuilt_internal.mk
@@ -164,8 +164,10 @@ else
$(built_module) : PRIVATE_CERTIFICATE := $(LOCAL_CERTIFICATE).x509.pem
endif
-# Disable dex-preopt of prebuilts to save space
+# Disable dex-preopt of prebuilts to save space, if requested.
+ifeq ($(DONT_DEXPREOPT_PREBUILTS),true)
LOCAL_DEX_PREOPT := false
+endif
#######################################
# defines built_odex along with rule to install odex