Home | History | Annotate | Download | only in stack
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # Bluetooth stack static library for target
      4 # ========================================================
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_C_INCLUDES:= \
      8                    $(LOCAL_PATH)/include \
      9                    $(LOCAL_PATH)/avct \
     10                    $(LOCAL_PATH)/btm \
     11                    $(LOCAL_PATH)/avrc \
     12                    $(LOCAL_PATH)/l2cap \
     13                    $(LOCAL_PATH)/avdt \
     14                    $(LOCAL_PATH)/gatt \
     15                    $(LOCAL_PATH)/gap \
     16                    $(LOCAL_PATH)/pan \
     17                    $(LOCAL_PATH)/bnep \
     18                    $(LOCAL_PATH)/hid \
     19                    $(LOCAL_PATH)/sdp \
     20                    $(LOCAL_PATH)/smp \
     21                    $(LOCAL_PATH)/srvc \
     22                    $(LOCAL_PATH)/../btcore/include \
     23                    $(LOCAL_PATH)/../vnd/include \
     24                    $(LOCAL_PATH)/../vnd/ble \
     25                    $(LOCAL_PATH)/../btif/include \
     26                    $(LOCAL_PATH)/../hci/include \
     27                    $(LOCAL_PATH)/../include \
     28                    $(LOCAL_PATH)/../udrv/include \
     29                    $(LOCAL_PATH)/../rpc/include \
     30                    $(LOCAL_PATH)/../hcis \
     31                    $(LOCAL_PATH)/../ctrlr/include \
     32                    $(LOCAL_PATH)/../bta/include \
     33                    $(LOCAL_PATH)/../bta/sys \
     34                    $(LOCAL_PATH)/../utils/include \
     35                    $(LOCAL_PATH)/../ \
     36                    $(bluetooth_C_INCLUDES)
     37 
     38 LOCAL_SRC_FILES:= \
     39     ./a2dp/a2d_api.c \
     40     ./a2dp/a2d_sbc.c \
     41     ./avrc/avrc_api.c \
     42     ./avrc/avrc_sdp.c \
     43     ./avrc/avrc_opt.c \
     44     ./avrc/avrc_bld_tg.c \
     45     ./avrc/avrc_bld_ct.c \
     46     ./avrc/avrc_pars_tg.c \
     47     ./avrc/avrc_pars_ct.c \
     48     ./avrc/avrc_utils.c \
     49     ./hid/hidh_api.c \
     50     ./hid/hidh_conn.c \
     51     ./bnep/bnep_main.c \
     52     ./bnep/bnep_utils.c \
     53     ./bnep/bnep_api.c \
     54     ./hcic/hciblecmds.c \
     55     ./hcic/hcicmds.c \
     56     ./btm/btm_ble.c \
     57     ./btm/btm_sec.c \
     58     ./btm/btm_inq.c \
     59     ./btm/btm_ble_addr.c \
     60     ./btm/btm_ble_bgconn.c \
     61     ./btm/btm_main.c \
     62     ./btm/btm_dev.c \
     63     ./btm/btm_ble_gap.c \
     64     ./btm/btm_ble_adv_filter.c \
     65     ./btm/btm_ble_multi_adv.c \
     66     ./btm/btm_ble_batchscan.c \
     67     ./btm/btm_ble_cont_energy.c \
     68     ./btm/btm_ble_privacy.c \
     69     ./btm/btm_acl.c \
     70     ./btm/btm_sco.c \
     71     ./btm/btm_pm.c \
     72     ./btm/btm_devctl.c \
     73     ./rfcomm/rfc_utils.c \
     74     ./rfcomm/port_rfc.c \
     75     ./rfcomm/rfc_l2cap_if.c \
     76     ./rfcomm/rfc_mx_fsm.c \
     77     ./rfcomm/port_utils.c \
     78     ./rfcomm/rfc_port_fsm.c \
     79     ./rfcomm/rfc_port_if.c \
     80     ./rfcomm/port_api.c \
     81     ./rfcomm/rfc_ts_frames.c \
     82     ./mcap/mca_dact.c \
     83     ./mcap/mca_dsm.c \
     84     ./mcap/mca_l2c.c \
     85     ./mcap/mca_main.c \
     86     ./mcap/mca_csm.c \
     87     ./mcap/mca_cact.c \
     88     ./mcap/mca_api.c \
     89     ./gatt/gatt_sr.c \
     90     ./gatt/gatt_cl.c \
     91     ./gatt/gatt_api.c \
     92     ./gatt/gatt_auth.c \
     93     ./gatt/gatt_utils.c \
     94     ./gatt/gatt_main.c \
     95     ./gatt/att_protocol.c \
     96     ./gatt/gatt_attr.c \
     97     ./gatt/gatt_db.c \
     98     ./avct/avct_api.c \
     99     ./avct/avct_l2c.c \
    100     ./avct/avct_lcb.c \
    101     ./avct/avct_ccb.c \
    102     ./avct/avct_lcb_act.c \
    103     ./smp/smp_main.c \
    104     ./smp/smp_l2c.c \
    105     ./smp/smp_cmac.c \
    106     ./smp/smp_utils.c \
    107     ./smp/smp_act.c \
    108     ./smp/smp_keys.c \
    109     ./smp/smp_api.c \
    110     ./smp/aes.c \
    111     ./smp/smp_br_main.c\
    112     ./smp/p_256_curvepara.c \
    113     ./smp/p_256_ecc_pp.c \
    114     ./smp/p_256_multprecision.c \
    115     ./avdt/avdt_ccb.c \
    116     ./avdt/avdt_scb_act.c \
    117     ./avdt/avdt_msg.c \
    118     ./avdt/avdt_ccb_act.c \
    119     ./avdt/avdt_api.c \
    120     ./avdt/avdt_scb.c \
    121     ./avdt/avdt_ad.c \
    122     ./avdt/avdt_l2c.c \
    123     ./sdp/sdp_server.c \
    124     ./sdp/sdp_main.c \
    125     ./sdp/sdp_db.c \
    126     ./sdp/sdp_utils.c \
    127     ./sdp/sdp_api.c \
    128     ./sdp/sdp_discovery.c \
    129     ./pan/pan_main.c \
    130     ./srvc/srvc_battery.c \
    131     ./srvc/srvc_dis.c \
    132     ./srvc/srvc_eng.c \
    133     ./pan/pan_api.c \
    134     ./pan/pan_utils.c \
    135     ./btu/btu_hcif.c \
    136     ./btu/btu_init.c \
    137     ./btu/btu_task.c \
    138     ./l2cap/l2c_fcr.c \
    139     ./l2cap/l2c_ucd.c \
    140     ./l2cap/l2c_main.c \
    141     ./l2cap/l2c_api.c \
    142     ./l2cap/l2c_utils.c \
    143     ./l2cap/l2c_csm.c \
    144     ./l2cap/l2c_link.c \
    145     ./l2cap/l2c_ble.c \
    146     ./l2cap/l2cap_client.c \
    147     ./gap/gap_api.c \
    148     ./gap/gap_ble.c \
    149     ./gap/gap_conn.c \
    150     ./gap/gap_utils.c
    151 
    152 LOCAL_MODULE := libbt-stack
    153 LOCAL_STATIC_LIBRARIES := libbt-hci
    154 LOCAL_SHARED_LIBRARIES := libcutils
    155 
    156 LOCAL_CFLAGS += $(bluetooth_CFLAGS)
    157 LOCAL_CONLYFLAGS += $(bluetooth_CONLYFLAGS)
    158 LOCAL_CPPFLAGS += $(bluetooth_CPPFLAGS)
    159 
    160 include $(BUILD_STATIC_LIBRARY)
    161