diff options
author | Alex Light <allight@google.com> | 2014-08-19 16:58:34 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-19 16:58:34 +0000 |
commit | 7ea26c73c609415bc03b1592b1e910ae3dbf6df7 (patch) | |
tree | 972ccc127b35f76d869f23472c3c9ce47ca8f714 | |
parent | 2733c82f972011c5fab1962c9550c678a69ece65 (diff) | |
parent | e2e2214be83b74efbebca6eba45adf3690900bf8 (diff) | |
download | mako-7ea26c73c609415bc03b1592b1e910ae3dbf6df7.tar.gz |
am e2e2214b: Enable WITH_DEXPREOPT on devices where it is possible
* commit 'e2e2214be83b74efbebca6eba45adf3690900bf8':
Enable WITH_DEXPREOPT on devices where it is possible
-rw-r--r-- | BoardConfig.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index a56770d..6d8072b 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,6 +68,14 @@ TARGET_USES_OVERLAY := true TARGET_USES_SF_BYPASS := true TARGET_USES_C2D_COMPOSITON := true +# Enable dex-preoptimization to speed up first boot sequence +ifeq ($(HOST_OS),linux) + ifeq ($(TARGET_BUILD_VARIANT),user) + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT := true + endif + endif +endif WITH_DEXPREOPT_BOOT_IMG_ONLY ?= true TARGET_RECOVERY_FSTAB = device/lge/mako/fstab.mako |