mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
BoardConfig: Set up WITH_DEXPREOPT/DEX_PREOPT_DEFAULT
Without it, the prebuilt jar file could be empty. Test: Compile and make sure jar file is valid. Bug: 36279497 Change-Id: I136bdbdf283977888b128797f328594c751669c0
This commit is contained in:
@@ -67,6 +67,18 @@ QCOM_BOARD_PLATFORMS += msm8998
|
||||
BOARD_HAVE_BLUETOOTH_QCOM := true
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/google/wahoo/bluetooth
|
||||
|
||||
# Enable dex pre-opt to speed up initial boot
|
||||
ifeq ($(HOST_OS),linux)
|
||||
ifeq ($(WITH_DEXPREOPT),)
|
||||
WITH_DEXPREOPT := true
|
||||
WITH_DEXPREOPT_PIC := true
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
# Retain classes.dex in APK's for non-user builds
|
||||
DEX_PREOPT_DEFAULT := nostripping
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Camera
|
||||
TARGET_USES_AOSP := true
|
||||
BOARD_QTI_CAMERA_32BIT_ONLY := true
|
||||
|
||||
Reference in New Issue
Block a user