Home | History | Annotate | Download | only in bta
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # BTA static library for target
      4 # ========================================================
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_SRC_FILES:= \
      8     ./dm/bta_dm_ci.c \
      9     ./dm/bta_dm_act.c \
     10     ./dm/bta_dm_pm.c \
     11     ./dm/bta_dm_main.c \
     12     ./dm/bta_dm_cfg.c \
     13     ./dm/bta_dm_api.c \
     14     ./dm/bta_dm_sco.c \
     15     ./gatt/bta_gattc_api.c \
     16     ./gatt/bta_gatts_act.c \
     17     ./gatt/bta_gatts_main.c \
     18     ./gatt/bta_gattc_utils.c \
     19     ./gatt/bta_gatts_api.c \
     20     ./gatt/bta_gattc_main.c \
     21     ./gatt/bta_gattc_act.c \
     22     ./gatt/bta_gattc_cache.c \
     23     ./gatt/bta_gatts_utils.c \
     24     ./ag/bta_ag_sdp.c \
     25     ./ag/bta_ag_sco.c \
     26     ./ag/bta_ag_cfg.c \
     27     ./ag/bta_ag_main.c \
     28     ./ag/bta_ag_api.c \
     29     ./ag/bta_ag_rfc.c \
     30     ./ag/bta_ag_act.c \
     31     ./ag/bta_ag_cmd.c \
     32     ./ag/bta_ag_ci.c \
     33     ./ag/bta_ag_at.c \
     34     ./hf_client/bta_hf_client_act.c \
     35     ./hf_client/bta_hf_client_api.c \
     36     ./hf_client/bta_hf_client_main.c \
     37     ./hf_client/bta_hf_client_rfc.c \
     38     ./hf_client/bta_hf_client_at.c \
     39     ./hf_client/bta_hf_client_sdp.c \
     40     ./hf_client/bta_hf_client_sco.c \
     41     ./hf_client/bta_hf_client_cmd.c \
     42     ./hh/bta_hh_cfg.c \
     43     ./hh/bta_hh_act.c \
     44     ./hh/bta_hh_api.c \
     45     ./hh/bta_hh_le.c \
     46     ./hh/bta_hh_utils.c \
     47     ./hh/bta_hh_main.c \
     48     ./pan/bta_pan_main.c \
     49     ./pan/bta_pan_ci.c \
     50     ./pan/bta_pan_act.c \
     51     ./pan/bta_pan_api.c \
     52     ./av/bta_av_act.c \
     53     ./av/bta_av_ci.c \
     54     ./av/bta_av_api.c \
     55     ./av/bta_av_aact.c \
     56     ./av/bta_av_main.c \
     57     ./av/bta_av_cfg.c \
     58     ./av/bta_av_ssm.c \
     59     ./av/bta_av_sbc.c \
     60     ./ar/bta_ar.c \
     61     ./hl/bta_hl_act.c \
     62     ./hl/bta_hl_api.c \
     63     ./hl/bta_hl_main.c \
     64     ./hl/bta_hl_utils.c \
     65     ./hl/bta_hl_sdp.c \
     66     ./hl/bta_hl_ci.c \
     67     ./sdp/bta_sdp_api.c \
     68     ./sdp/bta_sdp_act.c \
     69     ./sdp/bta_sdp.c \
     70     ./sdp/bta_sdp_cfg.c \
     71     ./sys/bta_sys_main.c \
     72     ./sys/bta_sys_conn.c \
     73     ./sys/utl.c \
     74     ./jv/bta_jv_act.c \
     75     ./jv/bta_jv_cfg.c \
     76     ./jv/bta_jv_main.c \
     77     ./jv/bta_jv_api.c
     78 
     79 LOCAL_MODULE := libbt-bta
     80 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
     81 LOCAL_MODULE_TAGS := optional
     82 LOCAL_SHARED_LIBRARIES := libcutils libc
     83 
     84 LOCAL_C_INCLUDES+= . \
     85                    $(LOCAL_PATH)/include \
     86                    $(LOCAL_PATH)/sys \
     87                    $(LOCAL_PATH)/dm \
     88                    $(LOCAL_PATH)/hh \
     89                    $(LOCAL_PATH)/../ \
     90                    $(LOCAL_PATH)/../btcore/include \
     91                    $(LOCAL_PATH)/../hci/include \
     92                    $(LOCAL_PATH)/../include \
     93                    $(LOCAL_PATH)/../stack/include \
     94                    $(LOCAL_PATH)/../stack/btm \
     95                    $(LOCAL_PATH)/../udrv/include \
     96                    $(LOCAL_PATH)/../vnd/include \
     97                    $(LOCAL_PATH)/../utils/include \
     98                    $(bluetooth_C_INCLUDES)
     99 
    100 LOCAL_CFLAGS += $(bluetooth_CFLAGS) -DBUILDCFG
    101 LOCAL_CONLYFLAGS += $(bluetooth_CONLYFLAGS)
    102 LOCAL_CPPFLAGS += $(bluetooth_CPPFLAGS)
    103 
    104 include $(BUILD_STATIC_LIBRARY)
    105