summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)