summaryrefslogtreecommitdiffstats
path: root/gki/Android.mk
blob: 2317fc014f83c766f7b3f6a05afa96f122c76bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ifneq ($(TARGET_SIMULATOR),true)

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_C_INCLUDES:= $(LOCAL_PATH)/common \
                   $(LOCAL_PATH)/ulinux \
                   $(LOCAL_PATH)/../include \
                   $(LOCAL_PATH)/../stack/include/


LOCAL_CFLAGS += -Werror

ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true)
LOCAL_CFLAGS += \
	-DBOARD_HAVE_BLUETOOTH_BCM 
endif

LOCAL_PRELINK_MODULE:=false
LOCAL_SRC_FILES:= \
    ./ulinux/gki_ulinux.c \
    ./common/gki_debug.c \
    ./common/gki_time.c \
    ./common/gki_buffer.c 
    
LOCAL_MODULE := libbt-brcm_gki 
LOCAL_MODULE_TAGS := eng 
LOCAL_SHARED_LIBRARIES := libcutils libc

include $(BUILD_STATIC_LIBRARY)

endif  # TARGET_SIMULATOR != true