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