Fix dexpreopt being not used for user and userdebug
This commit is contained in:
parent
9e5379f4d8
commit
b4b4b6653a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue