blob: f72a16b6cdc8d842f8f50b6b806ed1af3c63d93f [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"],
6 local_include_dirs: [
7 "include",
8 ],
9 include_dirs: [
10 "system/bt",
11 "system/bt/btcore/include",
12 "system/bt/hci/include",
Jakub Pawlowskiecace462017-10-17 16:40:41 -070013 "system/bt/internal_include",
Jack Hee2eeff42016-12-07 18:25:17 -080014 "system/bt/stack/include",
15 ],
16 srcs: [
17 "src/controller.cc",
Mudumba Ananth57f65082017-02-09 09:05:48 -080018 "src/esco_parameters.cc",
Jack Hee2eeff42016-12-07 18:25:17 -080019 "src/interop.cc",
20 ],
21 shared_libs: [
22 "liblog",
23 ],
24}
25
26// Bluetooth device unit tests for target
27// ========================================================
28cc_test {
29 name: "net_test_device",
Dan Shib04b6c92017-03-31 17:12:28 -070030 test_suites: ["device-tests"],
Jack Hee2eeff42016-12-07 18:25:17 -080031 defaults: ["fluoride_defaults"],
32 include_dirs: ["system/bt"],
33 srcs: [
34 "test/interop_test.cc",
35 ],
36 shared_libs: [
37 "liblog",
38 "libdl",
39 ],
40 static_libs: [
41 "libbtdevice",
42 "libbtcore",
43 "libosi",
44 "libosi-AllocationTestHarness",
45 "libcutils",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070046 "libbluetooth-types",
Jack Hee2eeff42016-12-07 18:25:17 -080047 ],
48}