Fix dexpreopt being not used for user and userdebug

This commit is contained in:
Kamil Trzcinski 2016-11-27 12:30:57 +01:00
parent 9e5379f4d8
commit b4b4b6653a

View file

@ -26,7 +26,7 @@ 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)),)
ifneq ($(filter user userdebug,$(TARGET_BUILD_VARIANT)),)
ifeq ($(WITH_DEXPREOPT),)
WITH_DEXPREOPT := true
endif