blob: 4dedf0311fcaebced041e892d81b490449db1369 [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",
13 "system/bt/include",
14 "system/bt/stack/include",
15 ],
16 srcs: [
17 "src/controller.cc",
18 "src/interop.cc",
19 ],
20 shared_libs: [
21 "liblog",
22 ],
23}
24
25// Bluetooth device unit tests for target
26// ========================================================
27cc_test {
28 name: "net_test_device",
Dan Shib04b6c92017-03-31 17:12:28 -070029 test_suites: ["device-tests"],
Jack Hee2eeff42016-12-07 18:25:17 -080030 defaults: ["fluoride_defaults"],
31 include_dirs: ["system/bt"],
32 srcs: [
33 "test/interop_test.cc",
34 ],
35 shared_libs: [
36 "liblog",
37 "libdl",
38 ],
39 static_libs: [
40 "libbtdevice",
41 "libbtcore",
42 "libosi",
43 "libosi-AllocationTestHarness",
44 "libcutils",
45 ],
46}