st-hal-ar: do not allow including of ListenSoundModel on OSS builds
Change-Id: Id0d398a63c7552aefca295c6130527530c301a6c
diff --git a/Android.mk b/Android.mk
index d50ce71..f92d1c8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -46,6 +46,7 @@
libutils \
libar-pal
+ifneq ($(QCPATH),)
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_LSM_HIDL)),true)
LOCAL_HEADER_LIBRARIES += liblisten_headers
@@ -55,6 +56,7 @@
LOCAL_CFLAGS += -DLSM_HIDL_ENABLED
endif
+endif #QCPATH
include $(BUILD_SHARED_LIBRARY)
endif #TARGET_USES_QCOM_AUDIO_AR