diff options
author | Andreas Gampe <agampe@google.com> | 2014-10-01 22:01:16 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-10-02 10:14:59 -0700 |
commit | 5e0dbe0c3769031b4785ef54a89554cd5c75cba7 (patch) | |
tree | 8efd2a114dcf90ed68ca3322a1e835d39517c5fc /core/prebuilt_internal.mk | |
parent | bc904d2f66c457c781cea47bec32c588d97ce870 (diff) | |
download | build-5e0dbe0c3769031b4785ef54a89554cd5c75cba7.zip build-5e0dbe0c3769031b4785ef54a89554cd5c75cba7.tar.gz build-5e0dbe0c3769031b4785ef54a89554cd5c75cba7.tar.bz2 |
Conditionally skip dex-preopting prebuilts.
To skip dex-preopting prebuilts (to save system image space),
set "DONT_DEXPREOPT_PREBUILTS := true".
Bug: 17772057
Change-Id: I13f10e2a9c251366f29606158f8c2fb54f8ee8b1
Diffstat (limited to 'core/prebuilt_internal.mk')
-rw-r--r-- | core/prebuilt_internal.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk index 5666cfd..284884c 100644 --- a/core/prebuilt_internal.mk +++ b/core/prebuilt_internal.mk @@ -157,8 +157,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 |