BT Audio support using primary HAL
- Added BT extension to support audio playback via primary output.
The BT extension exposes APIs to commicate with the BT device for
audio playback
The BT extension uses the BT IPC interfaces in order to communicate
with the BT devices.
Change-Id: I53e642a778dbe74e3e0030a81a19c001b7560d16
diff --git a/hal/Android.mk b/hal/Android.mk
index 4b41346..1e210cc 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -268,6 +268,11 @@
LOCAL_SRC_FILES += audio_hw_extn_api.c
endif
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_BT_HAL)),true)
+ LOCAL_CFLAGS += -DAUDIO_EXTN_BT_HAL_ENABLED
+ LOCAL_SRC_FILES += audio_extn/bt_hal.c
+endif
+
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \