OSDN Git Service

DO NOT MERGE Fix unexpected behavior in smp_sm_event
[android-x86/system-bt.git] / stack / BUILD.gn
1 #
2 #  Copyright (C) 2015 Google, Inc.
3 #
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at:
7 #
8 #  http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16
17 static_library("stack") {
18   sources = [
19     "a2dp/a2d_api.c",
20     "a2dp/a2d_sbc.c",
21     "avrc/avrc_api.c",
22     "avrc/avrc_sdp.c",
23     "avrc/avrc_opt.c",
24     "avrc/avrc_bld_tg.c",
25     "avrc/avrc_bld_ct.c",
26     "avrc/avrc_pars_tg.c",
27     "avrc/avrc_pars_ct.c",
28     "avrc/avrc_utils.c",
29     "hid/hidh_api.c",
30     "hid/hidh_conn.c",
31     "bnep/bnep_main.c",
32     "bnep/bnep_utils.c",
33     "bnep/bnep_api.c",
34     "hcic/hciblecmds.c",
35     "hcic/hcicmds.c",
36     "btm/btm_ble.c",
37     "btm/btm_sec.c",
38     "btm/btm_inq.c",
39     "btm/btm_ble_addr.c",
40     "btm/btm_ble_bgconn.c",
41     "btm/btm_main.c",
42     "btm/btm_dev.c",
43     "btm/btm_ble_gap.c",
44     "btm/btm_ble_adv_filter.c",
45     "btm/btm_ble_multi_adv.c",
46     "btm/btm_ble_batchscan.c",
47     "btm/btm_ble_cont_energy.c",
48     "btm/btm_ble_privacy.c",
49     "btm/btm_acl.c",
50     "btm/btm_sco.c",
51     "btm/btm_pm.c",
52     "btm/btm_devctl.c",
53     "rfcomm/rfc_utils.c",
54     "rfcomm/port_rfc.c",
55     "rfcomm/rfc_l2cap_if.c",
56     "rfcomm/rfc_mx_fsm.c",
57     "rfcomm/port_utils.c",
58     "rfcomm/rfc_port_fsm.c",
59     "rfcomm/rfc_port_if.c",
60     "rfcomm/port_api.c",
61     "rfcomm/rfc_ts_frames.c",
62     "mcap/mca_dact.c",
63     "mcap/mca_dsm.c",
64     "mcap/mca_l2c.c",
65     "mcap/mca_main.c",
66     "mcap/mca_csm.c",
67     "mcap/mca_cact.c",
68     "mcap/mca_api.c",
69     "gatt/gatt_sr.c",
70     "gatt/gatt_cl.c",
71     "gatt/gatt_api.c",
72     "gatt/gatt_auth.c",
73     "gatt/gatt_utils.c",
74     "gatt/gatt_main.c",
75     "gatt/att_protocol.c",
76     "gatt/gatt_attr.c",
77     "gatt/gatt_db.c",
78     "avct/avct_api.c",
79     "avct/avct_l2c.c",
80     "avct/avct_lcb.c",
81     "avct/avct_ccb.c",
82     "avct/avct_lcb_act.c",
83     "smp/smp_main.c",
84     "smp/smp_l2c.c",
85     "smp/smp_cmac.c",
86     "smp/smp_utils.c",
87     "smp/smp_act.c",
88     "smp/smp_keys.c",
89     "smp/smp_api.c",
90     "smp/aes.c",
91     "smp/smp_br_main.c",
92     "smp/p_256_curvepara.c",
93     "smp/p_256_ecc_pp.c",
94     "smp/p_256_multprecision.c",
95     "avdt/avdt_ccb.c",
96     "avdt/avdt_scb_act.c",
97     "avdt/avdt_msg.c",
98     "avdt/avdt_ccb_act.c",
99     "avdt/avdt_api.c",
100     "avdt/avdt_scb.c",
101     "avdt/avdt_ad.c",
102     "avdt/avdt_l2c.c",
103     "sdp/sdp_server.c",
104     "sdp/sdp_main.c",
105     "sdp/sdp_db.c",
106     "sdp/sdp_utils.c",
107     "sdp/sdp_api.c",
108     "sdp/sdp_discovery.c",
109     "pan/pan_main.c",
110     "srvc/srvc_battery.c",
111     "srvc/srvc_battery_int.h",
112     "srvc/srvc_dis.c",
113     "srvc/srvc_dis_int.h",
114     "srvc/srvc_eng.c",
115     "srvc/srvc_eng_int.h",
116     "pan/pan_api.c",
117     "pan/pan_utils.c",
118     "btu/btu_hcif.c",
119     "btu/btu_init.c",
120     "btu/btu_task.c",
121     "l2cap/l2c_fcr.c",
122     "l2cap/l2c_ucd.c",
123     "l2cap/l2c_main.c",
124     "l2cap/l2c_api.c",
125     "l2cap/l2c_utils.c",
126     "l2cap/l2c_csm.c",
127     "l2cap/l2c_link.c",
128     "l2cap/l2c_ble.c",
129     "l2cap/l2cap_client.c",
130     "gap/gap_api.c",
131     "gap/gap_ble.c",
132     "gap/gap_conn.c",
133     "gap/gap_utils.c",
134   ]
135
136   include_dirs = [
137     "include",
138     "avct",
139     "btm",
140     "avrc",
141     "l2cap",
142     "avdt",
143     "gatt",
144     "gap",
145     "pan",
146     "bnep",
147     "hid",
148     "sdp",
149     "smp",
150     "srvc",
151     "//osi/include",
152     "//btcore/include",
153     "//vnd/include",
154     "//vnd/ble",
155     "//btif/include",
156     "//hci/include",
157     "//include",
158     "//udrv/include",
159     "//rpc/include",
160     "//hcis",
161     "//ctrlr/include",
162     "//bta/include",
163     "//bta/sys",
164     "//utils/include",
165     "//",
166   ]
167 }