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
This commit is contained in:
Andreas Gampe 2014-10-01 22:01:16 -07:00 committed by Ying Wang
parent bc904d2f66
commit 5e0dbe0c37
1 changed files with 3 additions and 1 deletions

View File

@ -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