Cheney Ni | aef115f | 2018-11-07 08:41:55 +0800 | [diff] [blame] | 1 | // The format of the name is audio.<type>.<hardware/etc>.so |
| 2 | |
| 3 | cc_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 Ni | eaa0110 | 2019-03-11 20:49:11 +0800 | [diff] [blame] | 16 | "libaudioutils", |
Cheney Ni | aef115f | 2018-11-07 08:41:55 +0800 | [diff] [blame] | 17 | "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 | |
| 33 | cc_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 | } |