Cheney Ni | ad05f3e | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 1 | // Bluetooth Audio library for target |
| 2 | // ======================================================== |
| 3 | cc_library_static { |
| 4 | name: "libbt-audio-hal-interface", |
| 5 | defaults: ["fluoride_defaults"], |
| 6 | include_dirs: [ |
| 7 | "system/bt", |
| 8 | "system/bt/bta/include", |
Satish kumar sugasi | 6c1dec9 | 2019-02-07 14:40:35 -0800 | [diff] [blame] | 9 | "system/bt/bta/sys", |
Cheney Ni | ad05f3e | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 10 | "system/bt/btif/include", |
| 11 | "system/bt/stack/include", |
| 12 | ], |
| 13 | srcs: [ |
Hansong Zhang | b3ffbed | 2019-02-15 16:19:44 -0800 | [diff] [blame] | 14 | "a2dp_encoding.cc", |
Cheney Ni | ad05f3e | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 15 | "client_interface.cc", |
Cheney Ni | 32c6ba5 | 2018-12-12 20:20:28 +0800 | [diff] [blame] | 16 | "hearing_aid_software_encoding.cc", |
Cheney Ni | ad05f3e | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 17 | ], |
| 18 | shared_libs: [ |
| 19 | "android.hardware.bluetooth.audio@2.0", |
| 20 | "libfmq", |
| 21 | "libhidlbase", |
Cheney Ni | ad05f3e | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 22 | ], |
| 23 | static_libs: [ |
| 24 | "libosi", |
| 25 | "libbt-common", |
| 26 | ], |
| 27 | cflags: [ |
| 28 | "-DBUILDCFG", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | // Bluetooth Audio client interface library unit tests for target and host |
| 33 | // ======================================================== |
| 34 | cc_test { |
| 35 | name: "bluetooth-test-audio-hal-interface", |
| 36 | defaults: ["fluoride_defaults"], |
| 37 | include_dirs: [ |
| 38 | "system/bt", |
| 39 | ], |
| 40 | srcs: [ |
| 41 | "client_interface_unittest.cc", |
| 42 | ], |
| 43 | shared_libs: [ |
| 44 | "android.hardware.bluetooth.audio@2.0", |
| 45 | "libcutils", |
| 46 | "libfmq", |
| 47 | "libhidlbase", |
Cheney Ni | ad05f3e | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 48 | "liblog", |
| 49 | "libutils", |
| 50 | ], |
| 51 | static_libs: [ |
| 52 | "libbt-audio-hal-interface", |
| 53 | "libbt-common", |
| 54 | ], |
| 55 | cflags: [ |
| 56 | "-DBUILDCFG", |
| 57 | ], |
| 58 | } |