Skip to content

Commit

Permalink
Update dexpreopt flags
Browse files Browse the repository at this point in the history
Lets make them more like oneplus 6 and lets preopt user build to
  • Loading branch information
kondors1995 authored and mdeejay committed Mar 16, 2019
1 parent 64ae088 commit a1c9d45
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,16 @@ ENABLE_CPUSETS := true
# Crypto
TARGET_HW_DISK_ENCRYPTION := true

# Dexpreopt
# Enable dexpreopt to speed boot time
ifeq ($(HOST_OS),linux)
ifneq ($(TARGET_BUILD_VARIANT),eng)
ifeq ($(WITH_DEXPREOPT),)
WITH_DEXPREOPT := true
endif
endif
WITH_DEXPREOPT_DEBUG_INFO := false
USE_DEX2OAT_DEBUG := false
DONT_DEXPREOPT_PREBUILTS := true
WITH_DEXPREOPT_PIC := true
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI
endif
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY ?= true

# Display
MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
Expand Down

0 comments on commit a1c9d45

Please sign in to comment.