Home | History | Annotate | Download | only in gki
      1 ifneq ($(TARGET_SIMULATOR),true)
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_C_INCLUDES:= $(LOCAL_PATH)/common \
      8                    $(LOCAL_PATH)/ulinux \
      9                    $(LOCAL_PATH)/../include \
     10                    $(LOCAL_PATH)/../stack/include \
     11                    $(LOCAL_PATH)/../utils/include \
     12                    $(bdroid_C_INCLUDES) \
     13 
     14 LOCAL_CFLAGS += -Werror $(bdroid_CFLAGS)
     15 
     16 ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true)
     17 LOCAL_CFLAGS += \
     18 	-DBOARD_HAVE_BLUETOOTH_BCM
     19 endif
     20 
     21 LOCAL_PRELINK_MODULE:=false
     22 LOCAL_SRC_FILES:= \
     23     ./ulinux/gki_ulinux.c \
     24     ./common/gki_debug.c \
     25     ./common/gki_time.c \
     26     ./common/gki_buffer.c
     27 
     28 LOCAL_MODULE := libbt-brcm_gki
     29 LOCAL_MODULE_TAGS := optional
     30 LOCAL_SHARED_LIBRARIES := libcutils libc
     31 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
     32 
     33 include $(BUILD_STATIC_LIBRARY)
     34 
     35 endif  # TARGET_SIMULATOR != true
     36