2016-11-14 21:48:09 +00:00
|
|
|
ifneq ($(TARGET_USES_AOSP),true)
|
|
|
|
TARGET_USES_QCOM_BSP := true
|
|
|
|
endif
|
2016-08-03 20:45:30 +00:00
|
|
|
|
|
|
|
TARGET_COMPILE_WITH_MSM_KERNEL := true
|
|
|
|
TARGET_HAS_QC_KERNEL_SOURCE := true
|
|
|
|
TARGET_USES_QCOM_MM_AUDIO := true
|
|
|
|
|
2016-09-08 20:17:11 +00:00
|
|
|
BOARD_USES_ADRENO := true
|
|
|
|
|
2016-08-03 20:45:30 +00:00
|
|
|
# include additional build utilities
|
|
|
|
include device/qcom/common/utils.mk
|
|
|
|
|
2016-11-12 21:18:52 +00:00
|
|
|
ifneq ($(HOST_OS),linux)
|
2017-04-25 17:28:34 +00:00
|
|
|
ifneq ($(sdclang_already_warned),true)
|
|
|
|
$(warning **********************************************)
|
|
|
|
$(warning * SDCLANG is not supported on non-linux hosts.)
|
|
|
|
$(warning **********************************************)
|
|
|
|
sdclang_already_warned := true
|
|
|
|
endif
|
2016-11-12 21:18:52 +00:00
|
|
|
else
|
2016-09-24 23:35:09 +00:00
|
|
|
# include definitions for SDCLANG
|
|
|
|
include device/qcom/common/sdclang/sdclang.mk
|
2016-11-12 21:18:52 +00:00
|
|
|
endif
|
2016-09-24 23:35:09 +00:00
|
|
|
|
2016-09-25 15:35:49 +00:00
|
|
|
# Qualcomm specific packages
|
2017-05-07 00:20:58 +00:00
|
|
|
ifneq ($(TARGET_USES_AOSP_CAMERA),true)
|
2016-10-13 21:49:52 +00:00
|
|
|
PRODUCT_PACKAGES += SnapdragonCamera
|
2017-05-07 00:20:58 +00:00
|
|
|
endif
|
2016-09-25 15:35:49 +00:00
|
|
|
|
2016-09-01 20:32:32 +00:00
|
|
|
TARGET_CRYPTFS_HW_PATH := device/qcom/common/cryptfs_hw
|
|
|
|
|
2016-10-26 17:08:24 +00:00
|
|
|
# SECCOMP Extension
|
|
|
|
BOARD_SECCOMP_POLICY += device/qcom/common/seccomp
|
|
|
|
|
2016-08-03 20:45:30 +00:00
|
|
|
# Advanced DPM
|
|
|
|
ifeq ($(TARGET_WANTS_EXTENDED_DPM_PLATFORM),true)
|
|
|
|
PRODUCT_BOOT_JARS += tcmclient
|
|
|
|
PRODUCT_BOOT_JARS += com.qti.dpmframework
|
|
|
|
PRODUCT_BOOT_JARS += dpmapi
|
|
|
|
PRODUCT_BOOT_JARS += com.qti.location.sdk
|
|
|
|
endif
|
|
|
|
|
2016-08-05 19:18:44 +00:00
|
|
|
# Block Dash by default
|
|
|
|
TARGET_DISABLE_DASH ?= true
|
|
|
|
|
|
|
|
# Dash extension
|
|
|
|
ifeq ($(TARGET_DISABLE_DASH),false)
|
|
|
|
PRODUCT_BOOT_JARS += qcmediaplayer
|
|
|
|
endif
|
|
|
|
|