From 2b5e84858837a275ebdd6bd9239fb8512d4a60a8 Mon Sep 17 00:00:00 2001 From: shoudil Date: Wed, 23 May 2018 17:11:17 +0800 Subject: [PATCH] configs:sdm845/sdm855/sdm710:Disable device overlay Use macro TARGET_USE_QSSI to conditionally disable build-time audio specific device overlays to support QSSI on sdm845/855/710. Change-Id: Ie17488006d4606b6daaf70830bd018f00f29c414 CRs-Fixed: 2248130 --- configs/msmnile/msmnile.mk | 2 ++ configs/sdm710/sdm710.mk | 2 ++ configs/sdm845/sdm845.mk | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/msmnile/msmnile.mk b/configs/msmnile/msmnile.mk index e515548b..6c12107e 100644 --- a/configs/msmnile/msmnile.mk +++ b/configs/msmnile/msmnile.mk @@ -68,8 +68,10 @@ AUDIO_FEATURE_ENABLED_DLKM := true AUDIO_FEATURE_ENABLED_USB_BURST_MODE := true ##AUDIO_FEATURE_FLAGS +ifneq ($(strip $(TARGET_USES_QSSI)), true) #Audio Specific device overlays DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/common/overlay +endif PRODUCT_COPY_FILES += \ hardware/qcom/audio/configs/msmnile/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ diff --git a/configs/sdm710/sdm710.mk b/configs/sdm710/sdm710.mk index 94b45a1f..22a7d088 100644 --- a/configs/sdm710/sdm710.mk +++ b/configs/sdm710/sdm710.mk @@ -71,8 +71,10 @@ AUDIO_FEATURE_ENABLED_SND_MONITOR := true AUDIO_FEATURE_ENABLED_DLKM := true ##AUDIO_FEATURE_FLAGS +ifneq ($(strip $(TARGET_USES_QSSI)), true) #Audio Specific device overlays DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/common/overlay +endif # Audio configuration file ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true) diff --git a/configs/sdm845/sdm845.mk b/configs/sdm845/sdm845.mk index bbc8423e..1b6383c4 100644 --- a/configs/sdm845/sdm845.mk +++ b/configs/sdm845/sdm845.mk @@ -64,8 +64,10 @@ AUDIO_FEATURE_ENABLED_RAS := true AUDIO_FEATURE_ENABLED_SND_MONITOR := true ##AUDIO_FEATURE_FLAGS +ifneq ($(strip $(TARGET_USES_QSSI)), true) #Audio Specific device overlays DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/common/overlay +endif # Audio configuration file ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true)