blob: d452cb07390c40dad86d0de71f2db9ed63224d3c [file] [log] [blame]
cc_library_static {
name: "avrcp-target-service",
defaults: [
"fluoride_defaults",
"clang_file_coverage"
],
host_supported: true,
include_dirs: [
"system/bt",
"system/bt/btcore/include",
"system/bt/internal_include",
"system/bt/stack/include",
],
export_include_dirs: ["./"],
srcs: [
"connection_handler.cc",
"device.cc",
],
static_libs: [
"lib-bt-packets",
"libbluetooth-types",
"libosi",
],
shared_libs: [
"libchrome",
],
}
cc_test {
name: "net_test_avrcp",
test_suites: ["general-tests"],
defaults: [
"fluoride_defaults",
"clang_coverage_bin",
],
host_supported: true,
include_dirs: [
"system/bt",
"system/bt/btcore/include",
"system/bt/internal_include",
"system/bt/stack/include",
],
srcs: [
"tests/avrcp_connection_handler_test.cc",
"tests/avrcp_device_test.cc",
],
static_libs: [
"libgmock",
"lib-bt-packets",
"libosi",
"liblog",
"libcutils",
"libbtdevice",
"avrcp-target-service",
],
shared_libs: [
"libchrome",
],
sanitize: {
cfi: false,
},
cflags: ["-DBUILDCFG"],
}