summaryrefslogtreecommitdiffstats
path: root/hci/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hci/Android.mk')
-rw-r--r--hci/Android.mk18
1 files changed, 16 insertions, 2 deletions
diff --git a/hci/Android.mk b/hci/Android.mk
index b21793b..875197c 100644
--- a/hci/Android.mk
+++ b/hci/Android.mk
@@ -4,13 +4,27 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
src/bt_hci_bdroid.c \
- src/hci_h4.c \
- src/userial.c \
src/lpm.c \
src/bt_hw.c \
src/btsnoop.c \
src/utils.c
+ifeq ($(BLUETOOTH_HCI_USE_MCT),true)
+
+LOCAL_CFLAGS := -DHCI_USE_MCT
+
+LOCAL_SRC_FILES += \
+ src/hci_mct.c \
+ src/userial_mct.c
+
+else
+
+LOCAL_SRC_FILES += \
+ src/hci_h4.c \
+ src/userial.c
+
+endif
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include