From c4e01f6871b8b26f1b785aeaaf65aa4dcb0714da Mon Sep 17 00:00:00 2001 From: Demon000 Date: Mon, 6 Jul 2020 00:29:02 +0300 Subject: [PATCH] sm6250-common: use dexpreopt on linux host and non-eng build --- BoardConfigCommon.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 08a7468..775ba42 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -41,6 +41,13 @@ TARGET_USES_QTI_CAMERA_DEVICE := true # Charger BOARD_CHARGER_ENABLE_SUSPEND := true +# Dex +ifeq ($(HOST_OS),linux) + ifneq ($(TARGET_BUILD_VARIANT),eng) + WITH_DEXPREOPT ?= true + endif +endif + # Kernel BOARD_KERNEL_BASE := 0x00000000 BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb