diff options
| author | Artem Borisov <dedsa2002@gmail.com> | 2017-12-30 16:03:20 +0300 |
|---|---|---|
| committer | firebird11 <hbgassel@gmail.com> | 2019-01-12 14:15:33 +0100 |
| commit | 51e387e5b614fa54cb30bc8acdfbd0f6efe05447 (patch) | |
| tree | 5990d18ff879a761f6425bcd5b22467dd580a198 | |
| parent | 5762e90aa7d496130e091f121a547d6c361b94d3 (diff) | |
g3-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
| -rw-r--r-- | BoardConfigCommon.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 42d105e..71a2584 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -88,6 +88,16 @@ TARGET_USES_ION := true USE_OPENGL_RENDERER := true TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x02000000U +# Dexpreopt +ifeq ($(HOST_OS),linux) + ifneq ($(TARGET_BUILD_VARIANT),eng) + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT := true + WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true + endif + endif +endif + # Filesystem TARGET_FS_CONFIG_GEN := $(LOCAL_PATH)/config.fs |
