blob: 92cf1b11d35ead48419c1505da268c3654f37f38 [file] [log] [blame]
// 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",
"codec_status.cc",
"hearing_aid_software_encoding.cc",
],
shared_libs: [
"android.hardware.bluetooth.audio@2.0",
"libfmq",
"libhidlbase",
],
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",
"system/bt/stack/include",
],
srcs: [
"client_interface_unittest.cc",
],
shared_libs: [
"android.hardware.bluetooth.audio@2.0",
"libcutils",
"libfmq",
"libhidlbase",
"liblog",
"libutils",
],
static_libs: [
"libbt-audio-hal-interface",
"libbt-common",
],
cflags: [
"-DBUILDCFG",
],
}