blob: 9cdd64a39ebedc9df3c8eda98a7c4fa536950a73 [file] [log] [blame]
Cheney Niaef115f2018-11-07 08:41:55 +08001// 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",
Cheney Nieaa01102019-03-11 20:49:11 +080016 "libaudioutils",
Cheney Niaef115f2018-11-07 08:41:55 +080017 "libbase",
18 "libbluetooth_audio_session",
19 "libcutils",
20 "libfmq",
21 "libhidlbase",
22 "libhidltransport",
23 "liblog",
24 "libutils",
25 ],
26 cflags: [
27 "-Wall",
28 "-Werror",
29 "-Wno-unused-parameter",
30 ],
31}
32
33cc_test {
34 name: "audio_bluetooth_hw_test",
35 srcs: [
36 "utils.cc",
37 "utils_unittest.cc",
38 ],
39 shared_libs: [
40 "libbase",
41 "libcutils",
42 "liblog",
43 "libutils",
44 ],
45 cflags: [
46 "-Wall",
47 "-Werror",
48 "-Wno-unused-parameter",
49 ],
50}