msm8974-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
This commit is contained in:
parent
c5a6d91889
commit
9e14a9cbdf
@ -34,6 +34,16 @@ BOARD_BATTERY_DEVICE_NAME := "battery"
|
|||||||
BOARD_CHARGING_CMDLINE_NAME := "androidboot.bootchg"
|
BOARD_CHARGING_CMDLINE_NAME := "androidboot.bootchg"
|
||||||
BOARD_CHARGING_CMDLINE_VALUE := "true"
|
BOARD_CHARGING_CMDLINE_VALUE := "true"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
||||||
OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so
|
OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so
|
||||||
|
Loading…
Reference in New Issue
Block a user