sm6250-common: use dexpreopt on linux host and non-eng build

This commit is contained in:
Demon000 2020-07-06 00:29:02 +03:00
parent 24af70e3ba
commit c4e01f6871

View File

@ -41,6 +41,13 @@ TARGET_USES_QTI_CAMERA_DEVICE := true
# Charger # Charger
BOARD_CHARGER_ENABLE_SUSPEND := true BOARD_CHARGER_ENABLE_SUSPEND := true
# Dex
ifeq ($(HOST_OS),linux)
ifneq ($(TARGET_BUILD_VARIANT),eng)
WITH_DEXPREOPT ?= true
endif
endif
# Kernel # Kernel
BOARD_KERNEL_BASE := 0x00000000 BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb