diff options
author | Alex Light <allight@google.com> | 2014-08-11 10:46:02 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2014-08-19 16:45:06 +0000 |
commit | e2e2214be83b74efbebca6eba45adf3690900bf8 (patch) | |
tree | 972ccc127b35f76d869f23472c3c9ce47ca8f714 | |
parent | 69c4f825690f9885bc46b6628b03ab53b1cb28f8 (diff) | |
download | mako-e2e2214be83b74efbebca6eba45adf3690900bf8.tar.gz |
Enable WITH_DEXPREOPT on devices where it is possible
Change-Id: I0ea9768f801865f95f2774b8377cc8f3d75e30bf
(cherry picked from commit ecebdcb6773931f08ee6bb4fbcee2320b06bfb12)
-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 |