diff options
author | Artem Borisov <dedsa2002@gmail.com> | 2017-12-30 16:03:20 +0300 |
---|---|---|
committer | TingyiChen <tingyi364@gmail.com> | 2019-08-13 11:48:18 +0200 |
commit | 2e1831f910c53c18e320a035581089b0b78efb40 (patch) | |
tree | 3962efdd22c01e27efbdf8863e69d8a67b6d0223 /BoardConfigCommon.mk | |
parent | eeedd110bce6fc5a03e136fef16d08fb221ef027 (diff) |
wayne-common: Enable boot and system server dex-preopt
As stated in https://android.googlesource.com/platform/build/+/418258c
this is required in O-MR1 since sepolicy now prevents system server from
loading anything from /data making our system extremely slow and janky.
Change-Id: I215ec7ebe95981ef0b953fe938e12b83675795ab
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r-- | BoardConfigCommon.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 23adb7c..8829ae9 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -168,10 +168,12 @@ TARGET_TAP_TO_WAKE_NODE := "/proc/nvt_wake_gesture" # Enable dexpreopt to speed boot time ifeq ($(HOST_OS),linux) ifneq ($(TARGET_BUILD_VARIANT),eng) - WITH_DEXPREOPT := true + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT := true + WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true + endif endif endif -WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true # FM AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true |