blob: 314dd5084c871487844d14b96c1f9db6d82732c8 [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",
29 defaults: ["fluoride_defaults"],
30 include_dirs: ["system/bt"],
31 srcs: [
32 "test/interop_test.cc",
33 ],
34 shared_libs: [
35 "liblog",
36 "libdl",
37 ],
38 static_libs: [
39 "libbtdevice",
40 "libbtcore",
41 "libosi",
42 "libosi-AllocationTestHarness",
43 "libcutils",
44 ],
45}