diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index c8ae861..80453f5 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -34,6 +34,16 @@ BOARD_BATTERY_DEVICE_NAME := "battery" BOARD_CHARGING_CMDLINE_NAME := "androidboot.bootchg" 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 NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so