blob: 0b7cda7a900dc5cebd3c47b6ec24850f01d8a811 [file] [log] [blame]
Jack Hee2eeff42016-12-07 18:25:17 -08001// Bluetooth device static library for target
2// ========================================================
3cc_library_static {
4 name: "libbtdevice",
5 defaults: ["fluoride_defaults"],
Ted0267a332018-08-17 18:49:37 +08006 host_supported: true,
Jack Hee2eeff42016-12-07 18:25:17 -08007 local_include_dirs: [
8 "include",
9 ],
10 include_dirs: [
11 "system/bt",
12 "system/bt/btcore/include",
13 "system/bt/hci/include",
Jakub Pawlowskiecace462017-10-17 16:40:41 -070014 "system/bt/internal_include",
Jack Hee2eeff42016-12-07 18:25:17 -080015 "system/bt/stack/include",
16 ],
17 srcs: [
18 "src/controller.cc",
Mudumba Ananth57f65082017-02-09 09:05:48 -080019 "src/esco_parameters.cc",
Jack Hee2eeff42016-12-07 18:25:17 -080020 "src/interop.cc",
21 ],
22 shared_libs: [
23 "liblog",
24 ],
25}
26
27// Bluetooth device unit tests for target
28// ========================================================
29cc_test {
30 name: "net_test_device",
Dan Shib04b6c92017-03-31 17:12:28 -070031 test_suites: ["device-tests"],
Jack Hee2eeff42016-12-07 18:25:17 -080032 defaults: ["fluoride_defaults"],
33 include_dirs: ["system/bt"],
34 srcs: [
35 "test/interop_test.cc",
36 ],
37 shared_libs: [
38 "liblog",
39 "libdl",
40 ],
41 static_libs: [
42 "libbtdevice",
43 "libbtcore",
44 "libosi",
45 "libosi-AllocationTestHarness",
46 "libcutils",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070047 "libbluetooth-types",
Jack Hee2eeff42016-12-07 18:25:17 -080048 ],
49}