1// 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/esco_parameters.cc",
19        "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",
30    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}
47