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
51
52
53
54
55
56
57
58
59
60
|
// Bluetooth Audio library for target
// ========================================================
cc_library_static {
name: "libbt-audio-hal-interface",
defaults: ["fluoride_defaults"],
include_dirs: [
"system/bt",
"system/bt/bta/include",
"system/bt/bta/sys",
"system/bt/btif/include",
"system/bt/stack/include",
],
srcs: [
"a2dp_encoding.cc",
"client_interface.cc",
"hearing_aid_software_encoding.cc",
],
shared_libs: [
"android.hardware.bluetooth.audio@2.0",
"libfmq",
"libhidlbase",
"libhidltransport",
],
static_libs: [
"libosi",
"libbt-common",
],
cflags: [
"-DBUILDCFG",
],
}
// Bluetooth Audio client interface library unit tests for target and host
// ========================================================
cc_test {
name: "bluetooth-test-audio-hal-interface",
defaults: ["fluoride_defaults"],
include_dirs: [
"system/bt",
],
srcs: [
"client_interface_unittest.cc",
],
shared_libs: [
"android.hardware.bluetooth.audio@2.0",
"libcutils",
"libfmq",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
],
static_libs: [
"libbt-audio-hal-interface",
"libbt-common",
],
cflags: [
"-DBUILDCFG",
],
}
|