diff options
| author | Artem Borisov <dedsa2002@gmail.com> | 2017-12-22 11:45:58 +0300 |
|---|---|---|
| committer | Demon000 <demonsingur@gmail.com> | 2018-01-24 21:47:42 +0200 |
| commit | 4eedfc92eb137a1e47d60852733b96c059c0f29b (patch) | |
| tree | 79f0cd5592a0960101ad4130f40b8ae20e4c008b | |
| parent | d4b0b38649cecfbf830f430c6165832702a5a35d (diff) | |
libra: Dex-preopt boot and system server
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
| -rw-r--r-- | BoardConfig.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 48f796c9..c320f59c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -71,11 +71,12 @@ BOARD_CHARGER_ENABLE_SUSPEND := true # CNE BOARD_USES_QCNE := true -# Dex +# Dexpreopt ifeq ($(HOST_OS),linux) - ifeq ($(TARGET_BUILD_VARIANT),user) + ifneq ($(TARGET_BUILD_VARIANT),eng) ifeq ($(WITH_DEXPREOPT),) WITH_DEXPREOPT := true + WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true endif endif endif |
