diff options
| author | Elektroschmock <elektroschmock78@googlemail.com> | 2019-03-16 01:19:00 +0100 |
|---|---|---|
| committer | Elektroschmock <elektroschmock78@googlemail.com> | 2019-03-16 01:44:01 +0100 |
| commit | 964e4e4fccd76f3c6e2f74c853094d4e863128e1 (patch) | |
| tree | 7a2dd1af390b5049c6095dc98c1dac2e584c758b | |
| parent | 6695ab7f5209590f25aa56a87ebf7d12378733e3 (diff) | |
shamu: Enable full Dexpreopting
Needs additional 22 MB on system, but speeds up first boot
Change-Id: I5a4d9f9256ff65cd8ed66d53a01d28e24665c4aa
| -rw-r--r-- | BoardConfig.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 48685bd9..e70cfe1c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -49,6 +49,17 @@ USE_DEVICE_SPECIFIC_CAMERA:= true BACKLIGHT_PATH := /sys/class/leds/lcd-backlight/brightness BOARD_CHARGER_ENABLE_SUSPEND := true +# Dexpreopt +# Enable dex-preoptimization to speed up first boot sequence +ifeq ($(HOST_OS),linux) + ifneq ($(TARGET_BUILD_VARIANT),eng) + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := false + WITH_DEXPREOPT := true + endif + endif +endif + # EGL # Maximum GLES shader cache size for each app to store the compiled shader # binaries. Decrease the size if RAM or Flash Storage size is a limitation |
