blob: 5954eb85bba8153ad074935909a6356775528f4a [file] [log] [blame]
Scott James Remnantdaef4752015-05-12 13:58:49 -07001source_set("stack") {
2 sources = [
3 "a2dp/a2d_api.c",
4 "a2dp/a2d_sbc.c",
5 "avrc/avrc_api.c",
6 "avrc/avrc_sdp.c",
7 "avrc/avrc_opt.c",
8 "avrc/avrc_bld_tg.c",
9 "avrc/avrc_bld_ct.c",
10 "avrc/avrc_pars_tg.c",
11 "avrc/avrc_pars_ct.c",
12 "avrc/avrc_utils.c",
13 "hid/hidh_api.c",
14 "hid/hidh_conn.c",
15 "bnep/bnep_main.c",
16 "bnep/bnep_utils.c",
17 "bnep/bnep_api.c",
18 "hcic/hciblecmds.c",
19 "hcic/hcicmds.c",
20 "btm/btm_ble.c",
21 "btm/btm_sec.c",
22 "btm/btm_inq.c",
23 "btm/btm_ble_addr.c",
24 "btm/btm_ble_bgconn.c",
25 "btm/btm_main.c",
26 "btm/btm_dev.c",
27 "btm/btm_ble_gap.c",
28 "btm/btm_ble_adv_filter.c",
29 "btm/btm_ble_multi_adv.c",
30 "btm/btm_ble_batchscan.c",
31 "btm/btm_ble_cont_energy.c",
32 "btm/btm_acl.c",
33 "btm/btm_sco.c",
34 "btm/btm_pm.c",
35 "btm/btm_devctl.c",
36 "rfcomm/rfc_utils.c",
37 "rfcomm/port_rfc.c",
38 "rfcomm/rfc_l2cap_if.c",
39 "rfcomm/rfc_mx_fsm.c",
40 "rfcomm/port_utils.c",
41 "rfcomm/rfc_port_fsm.c",
42 "rfcomm/rfc_port_if.c",
43 "rfcomm/port_api.c",
44 "rfcomm/rfc_ts_frames.c",
45 "mcap/mca_dact.c",
46 "mcap/mca_dsm.c",
47 "mcap/mca_l2c.c",
48 "mcap/mca_main.c",
49 "mcap/mca_csm.c",
50 "mcap/mca_cact.c",
51 "mcap/mca_api.c",
52 "gatt/gatt_sr.c",
53 "gatt/gatt_cl.c",
54 "gatt/gatt_api.c",
55 "gatt/gatt_auth.c",
56 "gatt/gatt_utils.c",
57 "gatt/gatt_main.c",
58 "gatt/att_protocol.c",
59 "gatt/gatt_attr.c",
60 "gatt/gatt_db.c",
61 "avct/avct_api.c",
62 "avct/avct_l2c.c",
63 "avct/avct_lcb.c",
64 "avct/avct_ccb.c",
65 "avct/avct_lcb_act.c",
66 "smp/smp_main.c",
67 "smp/smp_l2c.c",
68 "smp/smp_cmac.c",
69 "smp/smp_utils.c",
70 "smp/smp_act.c",
71 "smp/smp_keys.c",
72 "smp/smp_api.c",
73 "smp/aes.c",
74 "avdt/avdt_ccb.c",
75 "avdt/avdt_scb_act.c",
76 "avdt/avdt_msg.c",
77 "avdt/avdt_ccb_act.c",
78 "avdt/avdt_api.c",
79 "avdt/avdt_scb.c",
80 "avdt/avdt_ad.c",
81 "avdt/avdt_l2c.c",
82 "sdp/sdp_server.c",
83 "sdp/sdp_main.c",
84 "sdp/sdp_db.c",
85 "sdp/sdp_utils.c",
86 "sdp/sdp_api.c",
87 "sdp/sdp_discovery.c",
88 "pan/pan_main.c",
89 "srvc/srvc_battery.c",
90 "srvc/srvc_battery_int.h",
91 "srvc/srvc_dis.c",
92 "srvc/srvc_dis_int.h",
93 "srvc/srvc_eng.c",
94 "srvc/srvc_eng_int.h",
95 "pan/pan_api.c",
96 "pan/pan_utils.c",
97 "btu/btu_hcif.c",
98 "btu/btu_init.c",
99 "btu/btu_task.c",
100 "l2cap/l2c_fcr.c",
101 "l2cap/l2c_ucd.c",
102 "l2cap/l2c_main.c",
103 "l2cap/l2c_api.c",
104 "l2cap/l2c_utils.c",
105 "l2cap/l2c_csm.c",
106 "l2cap/l2c_link.c",
107 "l2cap/l2c_ble.c",
108 "l2cap/l2cap_client.c",
109 "gap/gap_api.c",
110 "gap/gap_ble.c",
111 "//vnd/ble/vendor_ble.c",
112 ]
113
114 include_dirs = [
115 "include",
116 "avct",
117 "btm",
118 "avrc",
119 "l2cap",
120 "avdt",
121 "gatt",
122 "gap",
123 "pan",
124 "bnep",
125 "hid",
126 "sdp",
127 "smp",
128 "srvc",
129 "//btcore/include",
130 "//vnd/include",
131 "//vnd/ble",
132 "//btif/include",
133 "//hci/include",
134 "//include",
135 "//gki/common",
136 "//gki/ulinux",
137 "//osi/include",
138 "//udrv/include",
139 "//rpc/include",
140 "//hcis",
141 "//ctrlr/include",
142 "//bta/include",
143 "//bta/sys",
144 "//utils/include",
145 "//",
146 ]
147
148 deps = [ "//hci" ]
149
150 cflags = [
151 "-Wno-unused-variable",
152 "-Wno-unused-value",
153 "-Wno-unused-function",
154 "-Wno-pointer-to-int-cast",
155 "-Wno-int-to-pointer-cast",
156 ]
157}