diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2016-07-01 00:01:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-07-01 00:01:14 +0000 |
commit | 0f814206b25ccf6d52ebbf5e63cf91b421033cc8 (patch) | |
tree | ab30ec9339e1f9db593a5d7360553bbc8f580c3f | |
parent | af31cf4b467cf4bf3bc8b26b20946bb98b6bb83f (diff) | |
parent | 65aff07b7729d9c68ae4116660c2b5001e34de39 (diff) | |
download | flounder-0f814206b25ccf6d52ebbf5e63cf91b421033cc8.tar.gz |
Merge "Use WITH_DEXPREOPT_BOOT_IMG_ONLY" into nyc-dev
-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 |