1// The format of the name is audio.<type>.<hardware/etc>.so
2
3cc_library_shared {
4    name: "audio.bluetooth.default",
5    relative_install_path: "hw",
6    proprietary: true,
7    srcs: [
8        "audio_bluetooth_hw.cc",
9        "stream_apis.cc",
10        "device_port_proxy.cc",
11        "utils.cc",
12    ],
13    header_libs: ["libhardware_headers"],
14    shared_libs: [
15        "android.hardware.bluetooth.audio@2.0",
16        "libaudioutils",
17        "libbase",
18        "libbluetooth_audio_session",
19        "libcutils",
20        "libfmq",
21        "libhidlbase",
22        "liblog",
23        "libutils",
24    ],
25    cflags: [
26        "-Wall",
27        "-Werror",
28        "-Wno-unused-parameter",
29    ],
30}
31
32cc_test {
33    name: "audio_bluetooth_hw_test",
34    srcs: [
35        "utils.cc",
36        "utils_unittest.cc",
37    ],
38    shared_libs: [
39        "libbase",
40        "libcutils",
41        "liblog",
42        "libutils",
43    ],
44    cflags: [
45        "-Wall",
46        "-Werror",
47        "-Wno-unused-parameter",
48    ],
49}
50