Enable dexpreopt for user and userdebug builds

This commit is contained in:
Kamil Trzcinski 2016-11-26 10:56:10 +01:00
parent 1c1439faaa
commit a3791b238a

View file

@ -24,6 +24,15 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
BOARD_CACHEIMAGE_PARTITION_SIZE := 805306368
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824
# Enable dex-preoptimization to speed up first boot sequence
ifeq ($(HOST_OS),linux)
ifeq ($(filter user userdebug,$(TARGET_BUILD_VARIANT)),)
ifeq ($(WITH_DEXPREOPT),)
WITH_DEXPREOPT := true
endif
endif
endif
# recovery stuff
TW_THEME := landscape_hdpi
TW_NO_REBOOT_BOOTLOADER := true