1LOCAL_PATH := $(call my-dir) 2 3ifneq ($(BOARD_HAVE_BLUETOOTH_BCM),) 4 5include $(CLEAR_VARS) 6 7BDROID_DIR := $(TOP_DIR)external/bluetooth/bluedroid 8 9LOCAL_SRC_FILES := \ 10 src/bt_vendor_brcm.c \ 11 src/hardware.c \ 12 src/userial_vendor.c \ 13 src/upio.c \ 14 src/conf.c 15 16LOCAL_C_INCLUDES += \ 17 $(LOCAL_PATH)/include \ 18 $(BDROID_DIR)/hci/include 19 20LOCAL_SHARED_LIBRARIES := \ 21 libcutils \ 22 liblog 23 24LOCAL_MODULE := libbt-vendor 25LOCAL_MODULE_TAGS := optional 26LOCAL_MODULE_CLASS := SHARED_LIBRARIES 27LOCAL_MODULE_OWNER := broadcom 28LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES) 29 30include $(LOCAL_PATH)/vnd_buildcfg.mk 31 32include $(BUILD_SHARED_LIBRARY) 33 34ifeq ($(TARGET_PRODUCT), full_maguro) 35 include $(LOCAL_PATH)/conf/samsung/maguro/Android.mk 36endif 37ifeq ($(TARGET_PRODUCT), full_crespo) 38 include $(LOCAL_PATH)/conf/samsung/crespo/Android.mk 39endif 40ifeq ($(TARGET_PRODUCT), full_crespo4g) 41 include $(LOCAL_PATH)/conf/samsung/crespo4g/Android.mk 42endif 43ifeq ($(TARGET_PRODUCT), full_wingray) 44 include $(LOCAL_PATH)/conf/moto/wingray/Android.mk 45endif 46 47endif # BOARD_HAVE_BLUETOOTH_BCM 48