blob: 94a77ff633496edfedc7c7e302f71772d19ec868 [file] [log] [blame]
Cheney Niad05f3e2018-11-08 16:41:02 +08001// Bluetooth Audio library for target
2// ========================================================
3cc_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 sugasi6c1dec92019-02-07 14:40:35 -08009 "system/bt/bta/sys",
Cheney Niad05f3e2018-11-08 16:41:02 +080010 "system/bt/btif/include",
11 "system/bt/stack/include",
12 ],
13 srcs: [
Hansong Zhangb3ffbed2019-02-15 16:19:44 -080014 "a2dp_encoding.cc",
Cheney Niad05f3e2018-11-08 16:41:02 +080015 "client_interface.cc",
Cheney Ni32c6ba52018-12-12 20:20:28 +080016 "hearing_aid_software_encoding.cc",
Cheney Niad05f3e2018-11-08 16:41:02 +080017 ],
18 shared_libs: [
19 "android.hardware.bluetooth.audio@2.0",
20 "libfmq",
21 "libhidlbase",
Cheney Niad05f3e2018-11-08 16:41:02 +080022 ],
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// ========================================================
34cc_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 Niad05f3e2018-11-08 16:41:02 +080048 "liblog",
49 "libutils",
50 ],
51 static_libs: [
52 "libbt-audio-hal-interface",
53 "libbt-common",
54 ],
55 cflags: [
56 "-DBUILDCFG",
57 ],
58}