diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2016-06-30 10:56:15 -0700 |
---|---|---|
committer | Mohamad Ayyash <mkayyash@google.com> | 2016-06-30 11:27:09 -0700 |
commit | 65aff07b7729d9c68ae4116660c2b5001e34de39 (patch) | |
tree | 3af4b97b1b038215d6020f5fb8f08cf370d6260e | |
parent | 8aad1a4f1ebca44179a4ba264f209ded8dfcfb18 (diff) | |
download | flounder-65aff07b7729d9c68ae4116660c2b5001e34de39.tar.gz |
Use WITH_DEXPREOPT_BOOT_IMG_ONLY
Don't dex preopt apps to avoid I/O congestion due to paging larger sized
pre-compiled .odex files as opposed to background generated
interpret-only odex files.
BUG: 29759285
BUG: 28904641
BUG: 29389829
Change-Id: Ia67117cde3521fc4ec4e79685d0e0f4b51b6d6df
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
-rw-r--r-- | BoardConfig.mk | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index eb8fb0e..16d6379 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -105,14 +105,10 @@ TARGET_SUPPORTS_32_BIT_APPS := TARGET_SUPPORTS_64_BIT_APPS := true endif -# 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 +# Don't dex preopt apps to avoid I/O congestion due to paging larger sized +# pre-compiled .odex files as opposed to background generated interpret-only +# odex files. +WITH_DEXPREOPT_BOOT_IMG_ONLY := true TARGET_RELEASETOOLS_EXTENSIONS := device/htc/flounder |