blob: 7cafc3abad5147231f0f4713cfaf107bfa984f16 [file] [log] [blame]
Bob Badour92ecf7c2021-02-12 18:05:29 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "system_bt_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["system_bt_license"],
8}
9
Jack He65b2a572016-12-07 18:25:17 -080010cc_defaults {
11 name: "fluoride_bta_defaults",
12 defaults: ["fluoride_defaults"],
13 local_include_dirs: [
14 "include",
15 "sys",
16 "dm",
17 "hd",
18 "hh",
Jack He65b2a572016-12-07 18:25:17 -080019 ],
20 include_dirs: [
21 "packages/modules/Bluetooth/system",
22 "packages/modules/Bluetooth/system/bta/include",
23 "packages/modules/Bluetooth/system/btcore/include",
Ajay Panicker0ad702c2018-03-16 17:13:50 -070024 "packages/modules/Bluetooth/system/btif/avrcp",
Jack He483217b2017-10-21 01:35:57 -070025 "packages/modules/Bluetooth/system/btif/include",
Chris Manton131f21c2021-06-08 17:38:06 -070026 "packages/modules/Bluetooth/system/gd",
Jack He65b2a572016-12-07 18:25:17 -080027 "packages/modules/Bluetooth/system/hci/include",
Jakub Pawlowski9e9eb4b2017-10-17 16:40:41 -070028 "packages/modules/Bluetooth/system/internal_include",
Jack He65b2a572016-12-07 18:25:17 -080029 "packages/modules/Bluetooth/system/stack/include",
30 "packages/modules/Bluetooth/system/stack/btm",
31 "packages/modules/Bluetooth/system/udrv/include",
32 "packages/modules/Bluetooth/system/vnd/include",
33 "packages/modules/Bluetooth/system/utils/include",
Zach Johnson22761ec2020-12-21 18:14:30 -080034 "packages/modules/Bluetooth/system/gd/rust/shim",
Jack He65b2a572016-12-07 18:25:17 -080035 ],
36 shared_libs: [
37 "libcutils",
38 ],
Jakub Pawlowskia75a6542017-10-19 00:26:09 -070039 header_libs: ["libbluetooth_headers"],
Jack He65b2a572016-12-07 18:25:17 -080040 cflags: ["-DBUILDCFG"],
41}
42
Chris Mantona9c16c82021-07-08 08:22:48 -070043filegroup {
44 name: "BtaDmSources",
45 srcs: [
46 "dm/bta_dm_act.cc",
47 "dm/bta_dm_api.cc",
48 "dm/bta_dm_cfg.cc",
49 "dm/bta_dm_ci.cc",
50 "dm/bta_dm_main.cc",
51 "dm/bta_dm_pm.cc",
52 ],
53}
54
Jack He65b2a572016-12-07 18:25:17 -080055// BTA static library for target
Jack He65b2a572016-12-07 18:25:17 -080056cc_library_static {
57 name: "libbt-bta",
58 defaults: ["fluoride_bta_defaults"],
59 srcs: [
Chris Mantona9c16c82021-07-08 08:22:48 -070060 ":BtaDmSources",
Jack He65b2a572016-12-07 18:25:17 -080061 "ag/bta_ag_act.cc",
62 "ag/bta_ag_api.cc",
63 "ag/bta_ag_at.cc",
64 "ag/bta_ag_cfg.cc",
Jack He65b2a572016-12-07 18:25:17 -080065 "ag/bta_ag_cmd.cc",
66 "ag/bta_ag_main.cc",
67 "ag/bta_ag_rfc.cc",
68 "ag/bta_ag_sco.cc",
69 "ag/bta_ag_sdp.cc",
70 "ar/bta_ar.cc",
71 "av/bta_av_aact.cc",
72 "av/bta_av_act.cc",
73 "av/bta_av_api.cc",
74 "av/bta_av_cfg.cc",
75 "av/bta_av_ci.cc",
76 "av/bta_av_main.cc",
77 "av/bta_av_ssm.cc",
Łukasz Rymanowski06a5be22020-12-15 09:14:51 +000078 "csis/csis_client.cc",
Jack He65b2a572016-12-07 18:25:17 -080079 "gatt/bta_gattc_act.cc",
80 "gatt/bta_gattc_api.cc",
81 "gatt/bta_gattc_cache.cc",
82 "gatt/bta_gattc_main.cc",
Jakub Pawlowski19d0aae2017-11-29 21:49:32 -080083 "gatt/bta_gattc_queue.cc",
Jack He65b2a572016-12-07 18:25:17 -080084 "gatt/bta_gattc_utils.cc",
85 "gatt/bta_gatts_act.cc",
86 "gatt/bta_gatts_api.cc",
87 "gatt/bta_gatts_main.cc",
88 "gatt/bta_gatts_utils.cc",
Jakub Pawlowski6d3cb112018-04-18 07:31:30 -070089 "gatt/database.cc",
90 "gatt/database_builder.cc",
Łukasz Rymanowskia6b83332020-12-13 07:12:57 +000091 "groups/groups.cc",
Łukasz Rymanowski35b08362021-01-29 09:05:10 +000092 "vc/device.cc",
93 "vc/vc.cc",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +000094 "le_audio/client.cc",
Alice Kuo422f55d2021-12-30 11:33:32 +080095 "le_audio/codec_manager.cc",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +000096 "le_audio/devices.cc",
Abhishek Pandit-Subedie4043892021-10-15 11:39:36 -070097 "le_audio/hal_verifier.cc",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +000098 "le_audio/state_machine.cc",
99 "le_audio/client_parser.cc",
100 "le_audio/client_audio.cc",
101 "le_audio/le_audio_types.cc",
Jakub Pawlowski7d06e572018-02-28 22:44:42 -0800102 "hearing_aid/hearing_aid.cc",
Hansong Zhangd19e0272018-01-19 12:23:57 -0800103 "hearing_aid/hearing_aid_audio_source.cc",
Jack He65b2a572016-12-07 18:25:17 -0800104 "hf_client/bta_hf_client_act.cc",
105 "hf_client/bta_hf_client_api.cc",
106 "hf_client/bta_hf_client_at.cc",
107 "hf_client/bta_hf_client_main.cc",
108 "hf_client/bta_hf_client_rfc.cc",
109 "hf_client/bta_hf_client_sco.cc",
110 "hf_client/bta_hf_client_sdp.cc",
111 "hh/bta_hh_act.cc",
112 "hh/bta_hh_api.cc",
113 "hh/bta_hh_cfg.cc",
114 "hh/bta_hh_le.cc",
115 "hh/bta_hh_main.cc",
116 "hh/bta_hh_utils.cc",
Jack He65b2a572016-12-07 18:25:17 -0800117 "hd/bta_hd_act.cc",
118 "hd/bta_hd_api.cc",
119 "hd/bta_hd_main.cc",
120 "jv/bta_jv_act.cc",
121 "jv/bta_jv_api.cc",
122 "jv/bta_jv_cfg.cc",
Jack He65b2a572016-12-07 18:25:17 -0800123 "pan/bta_pan_act.cc",
124 "pan/bta_pan_api.cc",
125 "pan/bta_pan_ci.cc",
126 "pan/bta_pan_main.cc",
127 "sdp/bta_sdp.cc",
128 "sdp/bta_sdp_act.cc",
129 "sdp/bta_sdp_api.cc",
130 "sdp/bta_sdp_cfg.cc",
131 "sys/bta_sys_conn.cc",
132 "sys/bta_sys_main.cc",
133 "sys/utl.cc",
134 ],
Ajay Panicker0ad702c2018-03-16 17:13:50 -0700135 static_libs: [
136 "avrcp-target-service",
137 "lib-bt-packets",
138 ],
Abhishek Pandit-Subedie4043892021-10-15 11:39:36 -0700139 shared_libs: [
140 "android.hardware.bluetooth.audio@2.0",
141 "android.hardware.bluetooth.audio@2.1",
Alice Kuoc5275a32021-11-08 22:42:52 +0800142 "android.hardware.bluetooth.audio@2.2",
Abhishek Pandit-Subedie4043892021-10-15 11:39:36 -0700143 ],
Hansong Zhang777b6342021-02-23 15:52:11 -0800144 host_supported: true,
Jack He65b2a572016-12-07 18:25:17 -0800145}
146
147// bta unit tests for target
Jack He65b2a572016-12-07 18:25:17 -0800148cc_test {
149 name: "net_test_bta",
150 defaults: ["fluoride_bta_defaults"],
Yanfei Zhoud2439812018-08-28 10:58:52 +0800151 test_suites: ["device-tests"],
Jack He65b2a572016-12-07 18:25:17 -0800152 srcs: [
Chris Manton8fe47512021-09-24 13:30:54 -0700153 ":TestMockStackBtm",
154 ":TestCommonMockFunctions",
Jack He65b2a572016-12-07 18:25:17 -0800155 "test/bta_hf_client_test.cc",
Yanfei Zhoud2439812018-08-28 10:58:52 +0800156 "test/bta_dm_cust_uuid_test.cc",
Fei Zhenga6d4be12019-12-25 10:45:51 +0800157 "test/bta_dip_test.cc",
Jakub Pawlowski6d3cb112018-04-18 07:31:30 -0700158 "test/gatt/database_builder_test.cc",
159 "test/gatt/database_builder_sample_device_test.cc",
160 "test/gatt/database_test.cc",
Jack He65b2a572016-12-07 18:25:17 -0800161 ],
162 shared_libs: [
Hansong Zhang8bb04bb2018-12-12 14:52:00 -0800163 "libcrypto",
Jack He65b2a572016-12-07 18:25:17 -0800164 "liblog",
165 "libprotobuf-cpp-lite",
166 ],
167 static_libs: [
HsingYuan Lo2d3da482020-08-18 09:30:32 +0200168 "crypto_toolbox_for_tests",
Jack He65b2a572016-12-07 18:25:17 -0800169 "libbtcore",
170 "libbt-bta",
Cheney Ni895430b2018-12-12 20:20:28 +0800171 "libbt-audio-hal-interface",
Jakub Pawlowskif9f45852017-07-03 15:39:36 -0700172 "libbluetooth-types",
Jack He9a30a9f2018-03-03 00:03:25 -0800173 "libbt-protos-lite",
Jack He65b2a572016-12-07 18:25:17 -0800174 "libosi",
Jack He42823982018-08-15 12:38:37 -0700175 "libbt-common",
Jack He65b2a572016-12-07 18:25:17 -0800176 ],
177}
Song Gaoe2253a52019-12-10 10:36:17 +0800178
Chris Manton445082d2021-02-07 20:26:22 -0800179cc_test {
180 name: "bt_host_test_bta",
181 defaults: ["fluoride_bta_defaults"],
182 test_suites: ["device-tests"],
183 host_supported: true,
184 include_dirs: [
185 "packages/modules/Bluetooth/system",
Chris Manton6aa6c0d2021-04-30 15:21:38 -0700186 "packages/modules/Bluetooth/system/gd",
187 ],
188 generated_headers: [
Chris Manton6aa6c0d2021-04-30 15:21:38 -0700189 "BluetoothGeneratedDumpsysDataSchema_h",
190 "BluetoothGeneratedPackets_h",
Chris Manton445082d2021-02-07 20:26:22 -0800191 ],
192 srcs: [
Chris Manton29deec22021-07-14 10:03:54 -0700193 ":OsiCompatSources",
Chris Manton847dc382021-05-12 10:08:48 -0700194 ":TestCommonMainHandler",
Chris Manton6aa6c0d2021-04-30 15:21:38 -0700195 ":TestMockBtif",
196 ":TestMockDevice",
197 ":TestMockMainShim",
Chris Manton29deec22021-07-14 10:03:54 -0700198 ":TestMockOsi",
Chris Manton6aa6c0d2021-04-30 15:21:38 -0700199 ":TestMockStack",
Chris Manton866c5da2021-07-15 22:21:18 -0700200 "ar/bta_ar.cc",
201 "dm/bta_dm_api.cc",
Chris Manton445082d2021-02-07 20:26:22 -0800202 "dm/bta_dm_act.cc",
203 "dm/bta_dm_cfg.cc",
204 "dm/bta_dm_ci.cc",
205 "dm/bta_dm_main.cc",
206 "dm/bta_dm_pm.cc",
207 "gatt/bta_gattc_act.cc",
208 "gatt/bta_gattc_api.cc",
209 "gatt/bta_gattc_cache.cc",
210 "gatt/bta_gattc_main.cc",
211 "gatt/bta_gattc_queue.cc",
212 "gatt/bta_gattc_utils.cc",
213 "gatt/database.cc",
214 "gatt/database_builder.cc",
215 "hh/bta_hh_act.cc",
Chris Manton847dc382021-05-12 10:08:48 -0700216 "hh/bta_hh_api.cc",
Chris Manton445082d2021-02-07 20:26:22 -0800217 "hh/bta_hh_cfg.cc",
218 "hh/bta_hh_le.cc",
219 "hh/bta_hh_main.cc",
220 "hh/bta_hh_utils.cc",
Chris Manton3dc9ad82021-10-10 17:23:19 -0700221 "pan/bta_pan_act.cc",
222 "pan/bta_pan_api.cc",
223 "pan/bta_pan_main.cc",
Chris Manton445082d2021-02-07 20:26:22 -0800224 "sys/bta_sys_conn.cc",
225 "sys/bta_sys_main.cc",
226 "test/bta_dm_test.cc",
Chris Manton607b8c02021-05-07 09:45:55 -0700227 "test/bta_gatt_test.cc",
Chris Manton3dc9ad82021-10-10 17:23:19 -0700228 "test/bta_pan_test.cc",
Chris Manton445082d2021-02-07 20:26:22 -0800229 ],
230 shared_libs: [
Yi Kong2fb33f82021-12-16 02:46:09 +0800231 "libbase",
Chris Manton445082d2021-02-07 20:26:22 -0800232 "libcrypto",
Chris Manton6aa6c0d2021-04-30 15:21:38 -0700233 "libflatbuffers-cpp",
Chris Manton445082d2021-02-07 20:26:22 -0800234 "liblog",
235 "libprotobuf-cpp-lite",
236 ],
237 static_libs: [
238 "libbluetooth-types",
239 "libbt-common",
240 "libbt-protos-lite",
241 "libbtcore",
242 "libgmock",
243 ],
Chris Manton29deec22021-07-14 10:03:54 -0700244 sanitize: {
245 address: true,
246 cfi: true,
247 misc_undefined: ["bounds"],
248 },
Chris Manton445082d2021-02-07 20:26:22 -0800249}
250
Song Gaoe2253a52019-12-10 10:36:17 +0800251// bta hf client add record tests for target
Song Gaoe2253a52019-12-10 10:36:17 +0800252cc_test {
253 name: "net_test_hf_client_add_record",
254 defaults: ["fluoride_defaults"],
255 test_suites: ["device-tests"],
256 include_dirs: [
257 "packages/modules/Bluetooth/system",
Chris Manton131f21c2021-06-08 17:38:06 -0700258 "packages/modules/Bluetooth/system/gd",
Song Gaoe2253a52019-12-10 10:36:17 +0800259 "packages/modules/Bluetooth/system/bta/include",
260 "packages/modules/Bluetooth/system/bta/sys",
261 "packages/modules/Bluetooth/system/btif/include",
262 "packages/modules/Bluetooth/system/internal_include",
263 "packages/modules/Bluetooth/system/stack/include",
264 "packages/modules/Bluetooth/system/utils/include",
265 ],
266 srcs: [
267 "test/bta_hf_client_add_record_test.cc",
268 ],
269 header_libs: ["libbluetooth_headers"],
270 shared_libs: [
271 "libcutils",
272 "liblog",
273 ],
274 static_libs: [
275 "libbluetooth-types",
276 "libosi",
277 ],
278 cflags: ["-DBUILDCFG"],
279}
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000280
Łukasz Rymanowski06a5be22020-12-15 09:14:51 +0000281// csis unit tests for host
282cc_test {
283 name: "bluetooth_csis_test",
284 test_suites: ["device-tests"],
285 defaults: [
286 "fluoride_bta_defaults",
287 "clang_coverage_bin",
288 ],
289 host_supported: true,
290 include_dirs: [
291 "packages/modules/Bluetooth/system",
292 "packages/modules/Bluetooth/system/bta/groups",
293 "packages/modules/Bluetooth/system/bta/include",
294 "packages/modules/Bluetooth/system/bta/test/common",
295 "packages/modules/Bluetooth/system/btif/include",
296 "packages/modules/Bluetooth/system/osi/include",
297 ],
298 srcs : [
299 ":TestMockBtif",
Chienyuan9c8568e2021-11-15 20:01:15 +0800300 ":TestMockMainShimLeScanning",
Łukasz Rymanowski06a5be22020-12-15 09:14:51 +0000301 "csis/csis_client.cc",
302 "csis/csis_client_test.cc",
303 "groups/groups.cc",
304 "gatt/database.cc",
305 "gatt/database_builder.cc",
306 "test/common/bta_dm_api_mock.cc",
307 "test/common/bta_gatt_api_mock.cc",
308 "test/common/bta_gatt_queue_mock.cc",
309 "test/common/btm_api_mock.cc",
310 ],
311 shared_libs: [
312 "libprotobuf-cpp-lite",
313 "libcrypto",
314 ],
315 static_libs : [
316 "crypto_toolbox_for_tests",
317 "libgmock",
318 "libbt-common",
319 "libbt-protos-lite",
320 "libosi",
321 ],
322 sanitize: {
323 cfi: true,
324 scs: true,
325 address: true,
326 all_undefined: true,
327 integer_overflow: true,
328 diag: {
329 undefined : true
330 },
331 },
332}
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000333
Łukasz Rymanowskia6b83332020-12-13 07:12:57 +0000334// groups unit tests for host
335cc_test {
336 name: "bluetooth_groups_test",
337 test_suites: ["device-tests"],
338 defaults: [
339 "fluoride_bta_defaults",
340 "clang_coverage_bin",
341 ],
342 host_supported: true,
343 include_dirs: [
344 "packages/modules/Bluetooth/system",
345 "packages/modules/Bluetooth/system/bta/include",
346 ],
347 srcs : [
348 ":TestMockBtif",
349 "groups/groups_test.cc",
350 "groups/groups.cc",
351 ],
352 shared_libs: [
353 "libprotobuf-cpp-lite",
354 "libcrypto",
355 ],
356 static_libs : [
357 "crypto_toolbox_for_tests",
358 "libgmock",
359 "libbt-common",
360 "libbt-protos-lite",
361 "libosi",
362 ],
363 sanitize: {
364 cfi: true,
365 scs: true,
366 address: true,
367 all_undefined: true,
368 integer_overflow: true,
369 diag: {
370 undefined : true
371 },
372 },
373}
374
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000375// bta unit tests for host
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000376cc_test {
377 name: "bluetooth_vc_test",
378 test_suites: ["device-tests"],
379 defaults: [
380 "fluoride_bta_defaults",
381 "clang_coverage_bin",
382 ],
383 host_supported: true,
384 include_dirs: [
385 "packages/modules/Bluetooth/system",
386 "packages/modules/Bluetooth/system/bta/include",
387 "packages/modules/Bluetooth/system/bta/test/common",
388 "packages/modules/Bluetooth/system/stack/include",
389 ],
390 srcs : [
Łukasz Rymanowski3e620852021-08-25 16:46:05 +0000391 ":TestMockOsi",
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000392 "gatt/database.cc",
393 "gatt/database_builder.cc",
394 "test/common/bta_gatt_api_mock.cc",
395 "test/common/bta_gatt_queue_mock.cc",
Łukasz Rymanowski3e620852021-08-25 16:46:05 +0000396 "test/common/mock_csis_client.cc",
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000397 "test/common/btm_api_mock.cc",
398 "vc/devices_test.cc",
399 "vc/device.cc",
400 "vc/vc.cc",
401 "vc/vc_test.cc",
402 ],
403 shared_libs: [
404 "libprotobuf-cpp-lite",
405 "libcrypto",
406 ],
407 static_libs : [
408 "crypto_toolbox_for_tests",
409 "libgmock",
410 "libbt-common",
411 "libbt-protos-lite",
Łukasz Rymanowski3e620852021-08-25 16:46:05 +0000412 "libosi"
Łukasz Rymanowski35b08362021-01-29 09:05:10 +0000413 ],
414 sanitize: {
415 cfi: false,
416 },
417}
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000418
419// bta unit tests for LE Audio
420// ========================================================
421cc_test {
422 name: "bluetooth_le_audio_test",
423 test_suites: ["device-tests"],
424 defaults: [
425 "fluoride_defaults",
426 "clang_coverage_bin",
427 ],
428 host_supported: true,
429 include_dirs: [
430 "packages/modules/Bluetooth/system",
431 "packages/modules/Bluetooth/system/bta/include",
432 "packages/modules/Bluetooth/system/bta/test/common",
433 "packages/modules/Bluetooth/system/btif/include",
434 "packages/modules/Bluetooth/system/gd",
435 "packages/modules/Bluetooth/system/stack/include",
436 ],
437 srcs : [
438 ":TestStubOsi",
Alice Kuo422f55d2021-12-30 11:33:32 +0800439 ":TestMockBtaLeAudioHalVerifier",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000440 "test/common/bta_gatt_api_mock.cc",
441 "test/common/bta_gatt_queue_mock.cc",
442 "test/common/btm_api_mock.cc",
443 "le_audio/client_audio.cc",
444 "le_audio/client_audio_test.cc",
445 "le_audio/client_parser.cc",
446 "le_audio/client_parser_test.cc",
447 "le_audio/devices.cc",
448 "le_audio/devices_test.cc",
449 "le_audio/le_audio_types.cc",
450 "le_audio/le_audio_types_test.cc",
451 "le_audio/mock_iso_manager.cc",
452 "test/common/mock_controller.cc",
453 "le_audio/state_machine.cc",
Alice Kuo422f55d2021-12-30 11:33:32 +0800454 "le_audio/state_machine_test.cc",
455 "le_audio/mock_codec_manager.cc",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000456 ],
457 shared_libs: [
458 "libprotobuf-cpp-lite",
459 "libcrypto",
460 "liblog", // __android_log_print
461 ],
462 static_libs : [
463 "libgmock",
464 "libbt-common",
465 "libbt-protos-lite",
466 "libosi",
467 ],
468 sanitize: {
469 cfi: false,
470 },
471}
472
473cc_test {
474 name: "bluetooth_le_audio_client_test",
475 test_suites: ["device-tests"],
476 defaults: [
477 "fluoride_bta_defaults",
478 "clang_coverage_bin",
479 ],
480 host_supported: true,
481 include_dirs: [
482 "packages/modules/Bluetooth/system",
483 "packages/modules/Bluetooth/system/bta/include",
484 "packages/modules/Bluetooth/system/bta/test/common",
485 "packages/modules/Bluetooth/system/stack/include",
486 ],
487 srcs : [
Abhishek Pandit-Subedie4043892021-10-15 11:39:36 -0700488 ":TestMockBtaLeAudioHalVerifier",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000489 "gatt/database.cc",
490 "gatt/database_builder.cc",
491 "le_audio/client.cc",
492 "le_audio/client_parser.cc",
493 "le_audio/devices.cc",
494 "le_audio/le_audio_client_test.cc",
495 "le_audio/le_audio_types.cc",
496 "le_audio/mock_iso_manager.cc",
497 "le_audio/mock_le_audio_client_audio.cc",
498 "le_audio/mock_state_machine.cc",
499 "test/common/btm_api_mock.cc",
500 "test/common/bta_gatt_api_mock.cc",
501 "test/common/bta_gatt_queue_mock.cc",
502 "test/common/btif_storage_mock.cc",
503 "test/common/mock_csis_client.cc",
504 "test/common/mock_controller.cc",
505 "test/common/mock_device_groups.cc",
Alice Kuo422f55d2021-12-30 11:33:32 +0800506 "le_audio/mock_codec_manager.cc",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000507 ],
508 shared_libs: [
Abhishek Pandit-Subedie4043892021-10-15 11:39:36 -0700509 "android.hardware.bluetooth.audio@2.0",
510 "android.hardware.bluetooth.audio@2.1",
Alice Kuoc5275a32021-11-08 22:42:52 +0800511 "android.hardware.bluetooth.audio@2.2",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000512 "libprotobuf-cpp-lite",
513 "libcrypto",
514 "liblog",
515 ],
516 static_libs : [
517 "crypto_toolbox_for_tests",
518 "libgmock",
519 "libbt-common",
520 "libbt-protos-lite",
521 "libosi",
522 "liblc3codec",
Jakub Pawlowski02d57e62021-11-12 22:03:18 +0100523 "liblc3encoder",
Grzegorz Kołodziejczyk926fd432021-10-06 11:54:53 +0000524 ],
525 sanitize: {
526 cfi: true,
527 scs: true,
528 address: true,
529 all_undefined: true,
530 integer_overflow: true,
531 diag: {
532 undefined : true
533 },
534 },
535}
536