1 ifneq ($(TARGET_SIMULATOR),true) 2 3 LOCAL_PATH:= $(call my-dir) 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)/../include \ 23 $(LOCAL_PATH)/../gki/common \ 24 $(LOCAL_PATH)/../gki/ulinux \ 25 $(LOCAL_PATH)/../udrv/include \ 26 $(LOCAL_PATH)/../rpc/include \ 27 $(LOCAL_PATH)/../hcis \ 28 $(LOCAL_PATH)/../ctrlr/include \ 29 $(LOCAL_PATH)/../bta/include \ 30 $(LOCAL_PATH)/../bta/sys \ 31 $(LOCAL_PATH)/../brcm/include \ 32 $(LOCAL_PATH)/../utils/include \ 33 $(bdroid_C_INCLUDES) \ 34 35 LOCAL_CFLAGS += $(bdroid_CFLAGS) 36 37 ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true) 38 LOCAL_CFLAGS += \ 39 -DBOARD_HAVE_BLUETOOTH_BCM 40 endif 41 42 LOCAL_PRELINK_MODULE:=false 43 LOCAL_SRC_FILES:= \ 44 ./a2dp/a2d_api.c \ 45 ./a2dp/a2d_sbc.c \ 46 ./avrc/avrc_api.c \ 47 ./avrc/avrc_sdp.c \ 48 ./avrc/avrc_opt.c \ 49 ./avrc/avrc_bld_tg.c \ 50 ./avrc/avrc_bld_ct.c \ 51 ./avrc/avrc_pars_tg.c \ 52 ./avrc/avrc_pars_ct.c \ 53 ./avrc/avrc_utils.c \ 54 ./hid/hidh_api.c \ 55 ./hid/hidh_conn.c \ 56 ./bnep/bnep_main.c \ 57 ./bnep/bnep_utils.c \ 58 ./bnep/bnep_api.c \ 59 ./hcic/hciblecmds.c \ 60 ./hcic/hcicmds.c \ 61 ./btm/btm_ble.c \ 62 ./btm/btm_sec.c \ 63 ./btm/btm_inq.c \ 64 ./btm/btm_ble_addr.c \ 65 ./btm/btm_ble_bgconn.c \ 66 ./btm/btm_main.c \ 67 ./btm/btm_dev.c \ 68 ./btm/btm_ble_gap.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 ./avdt/avdt_ccb.c \ 112 ./avdt/avdt_scb_act.c \ 113 ./avdt/avdt_msg.c \ 114 ./avdt/avdt_ccb_act.c \ 115 ./avdt/avdt_api.c \ 116 ./avdt/avdt_scb.c \ 117 ./avdt/avdt_ad.c \ 118 ./avdt/avdt_l2c.c \ 119 ./sdp/sdp_server.c \ 120 ./sdp/sdp_main.c \ 121 ./sdp/sdp_db.c \ 122 ./sdp/sdp_utils.c \ 123 ./sdp/sdp_api.c \ 124 ./sdp/sdp_discovery.c \ 125 ./pan/pan_main.c \ 126 ./srvc/srvc_battery.c \ 127 ./srvc/srvc_battery_int.h \ 128 ./srvc/srvc_dis.c \ 129 ./srvc/srvc_dis_int.h \ 130 ./srvc/srvc_eng.c \ 131 ./srvc/srvc_eng_int.h \ 132 ./pan/pan_api.c \ 133 ./pan/pan_utils.c \ 134 ./btu/btu_hcif.c \ 135 ./btu/btu_init.c \ 136 ./btu/btu_task.c \ 137 ./l2cap/l2c_fcr.c \ 138 ./l2cap/l2c_ucd.c \ 139 ./l2cap/l2c_main.c \ 140 ./l2cap/l2c_api.c \ 141 ./l2cap/l2c_utils.c \ 142 ./l2cap/l2c_csm.c \ 143 ./l2cap/l2c_link.c \ 144 ./l2cap/l2c_ble.c \ 145 ./gap/gap_api.c \ 146 ./gap/gap_ble.c \ 147 ./gap/gap_conn.c \ 148 ./gap/gap_utils.c 149 150 LOCAL_MODULE := libbt-brcm_stack 151 LOCAL_MODULE_TAGS := optional 152 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 153 LOCAL_SHARED_LIBRARIES := libcutils libc 154 155 include $(BUILD_STATIC_LIBRARY) 156 157 endif # TARGET_SIMULATOR != true 158