audio: hal: Conditionally build audio.primary.lito
This has a proprietary header dependency when AUDIO_FEATURE_ENABLED_DYNAMIC_LOG
flag is enabled. Hence, allow this module to be hidden when the
proprietary headers are not available in source.
Issue: FP4-INT#6
Change-Id: Ic6b0d8dffad4bb99fc0ffc7cec5fe52ffdfb2081
diff --git a/hal/Android.mk b/hal/Android.mk
index 98b751f..7ee7fa2 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -1,3 +1,4 @@
+ifeq ($(TARGET_HAS_PROPRIETARY_HEADERS), true)
ifneq ($(AUDIO_USE_STUB_HAL), true)
ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)
LOCAL_PATH := $(call my-dir)
@@ -409,3 +410,4 @@
endif
endif
+endif