summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Grinko <iivanich@gmail.com>2015-04-28 07:37:28 +0300
committerEthan Chen <intervigil@gmail.com>2015-07-27 22:23:50 -0700
commitd7fe849324178b37e84efa40828202c6bc333700 (patch)
tree45962e9d33edcb6327b8f242b41bd4231ab938c4
parent325f170653e3970f4e3c08d1f341c7ad123b50e8 (diff)
downloadhardware_qcom_audio-cm-12.1-caf-8660.tar.gz
hardware_qcom_audio-cm-12.1-caf-8660.tar.bz2
hardware_qcom_audio-cm-12.1-caf-8660.zip
msm8660: Add build guards to the old audio policycm-12.1-caf-8660
* QCOM A family devices use the default frameworks/av audio policy Change-Id: If9092aacf4fc9574e31101f06f6ed0a05d80ff65
-rw-r--r--msm8660/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/msm8660/Android.mk b/msm8660/Android.mk
index 8418600e..9eae9a5a 100644
--- a/msm8660/Android.mk
+++ b/msm8660/Android.mk
@@ -94,7 +94,7 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_CFLAGS += $(common_cflags)
include $(BUILD_SHARED_LIBRARY)
-
+ifeq ($(USE_LEGACY_AUDIO_POLICY), 1)
# The audio policy is implemented on top of legacy policy code
include $(CLEAR_VARS)
@@ -124,6 +124,7 @@ LOCAL_C_INCLUDES += hardware/libhardware_legacy/audio
LOCAL_CFLAGS += $(common_cflags)
include $(BUILD_SHARED_LIBRARY)
+endif
# Load audio_policy.conf to system/etc/
include $(CLEAR_VARS)