Home | History | Annotate | Download | only in hci
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_SRC_FILES := \
      6         src/bt_hci_bdroid.c \
      7         src/lpm.c \
      8         src/bt_hw.c \
      9         src/btsnoop.c \
     10         src/utils.c
     11 
     12 ifeq ($(BLUETOOTH_HCI_USE_MCT),true)
     13 
     14 LOCAL_CFLAGS := -DHCI_USE_MCT
     15 
     16 LOCAL_SRC_FILES += \
     17         src/hci_mct.c \
     18         src/userial_mct.c
     19 
     20 else
     21 
     22 LOCAL_SRC_FILES += \
     23         src/hci_h4.c \
     24         src/userial.c
     25 
     26 endif
     27 
     28 LOCAL_C_INCLUDES += \
     29         $(LOCAL_PATH)/include \
     30         $(LOCAL_PATH)/../utils/include
     31 
     32 LOCAL_SHARED_LIBRARIES := \
     33         libcutils \
     34         liblog \
     35         libdl \
     36         libbt-utils
     37 
     38 LOCAL_MODULE := libbt-hci
     39 LOCAL_MODULE_TAGS := optional
     40 LOCAL_MODULE_CLASS := SHARED_LIBRARIES
     41 
     42 include $(BUILD_SHARED_LIBRARY)
     43