2 # Copyright (C) 2015 Google, Inc.
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:
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 static_library("stack") {
20 "a2dp/a2dp_aac_encoder.cc",
22 "a2dp/a2dp_codec_config.cc",
24 "a2dp/a2dp_sbc_encoder.cc",
25 "a2dp/a2dp_sbc_up_sample.cc",
26 "a2dp/a2dp_vendor.cc",
27 "a2dp/a2dp_vendor_aptx.cc",
28 "a2dp/a2dp_vendor_aptx_encoder.cc",
29 "a2dp/a2dp_vendor_aptx_hd.cc",
30 "a2dp/a2dp_vendor_aptx_hd_encoder.cc",
31 "a2dp/a2dp_vendor_ldac.cc",
32 "a2dp/a2dp_vendor_ldac_abr.cc",
33 "a2dp/a2dp_vendor_ldac_encoder.cc",
35 "avct/avct_bcb_act.cc",
38 "avct/avct_l2c_br.cc",
40 "avct/avct_lcb_act.cc",
44 "avdt/avdt_ccb_act.cc",
48 "avdt/avdt_scb_act.cc",
50 "avrc/avrc_bld_ct.cc",
51 "avrc/avrc_bld_tg.cc",
53 "avrc/avrc_pars_ct.cc",
54 "avrc/avrc_pars_tg.cc",
60 "btm/ble_advertiser_hci_interface.cc",
63 "btm/btm_ble_addr.cc",
64 "btm/btm_ble_adv_filter.cc",
65 "btm/btm_ble_batchscan.cc",
66 "btm/btm_ble_bgconn.cc",
67 "btm/btm_ble_cont_energy.cc",
69 "btm/btm_ble_multi_adv.cc",
70 "btm/btm_ble_privacy.cc",
83 "gatt/att_protocol.cc",
105 "l2cap/l2c_utils.cc",
106 "l2cap/l2cap_client.cc",
117 "rfcomm/port_api.cc",
118 "rfcomm/port_rfc.cc",
119 "rfcomm/port_utils.cc",
120 "rfcomm/rfc_l2cap_if.cc",
121 "rfcomm/rfc_mx_fsm.cc",
122 "rfcomm/rfc_port_fsm.cc",
123 "rfcomm/rfc_port_if.cc",
124 "rfcomm/rfc_ts_frames.cc",
125 "rfcomm/rfc_utils.cc",
128 "sdp/sdp_discovery.cc",
133 "smp/p_256_curvepara.cc",
134 "smp/p_256_ecc_pp.cc",
135 "smp/p_256_multprecision.cc",
138 "smp/smp_br_main.cc",
144 "srvc/srvc_battery.cc",
182 "//third_party/libchrome:base",
183 "//third_party/libldac:libldacBT_enc",
184 "//third_party/libldac:libldacBT_abr",
185 "//third_party/aac:libFraunhoferAAC",
189 executable("stack_unittests") {
192 "test/stack_a2dp_test.cc",
201 "//embdrv/sbc/encoder/include",
207 "//third_party/tinyxml2",
230 "//main:bluetooth.default",
231 "//third_party/googletest:gmock_main",
232 "//third_party/libchrome:base",
236 executable("net_test_stack_multi_adv") {
239 "btm/btm_ble_multi_adv.cc",
240 "test/ble_advertiser_test.cc",
263 "//third_party/googletest:gmock_main",
264 "//third_party/libchrome:base",