You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.7 KiB

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_av_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_av_license"],
}
cc_test {
name: "audiopolicy_tests",
include_dirs: [
"frameworks/av/services/audiopolicy",
],
shared_libs: [
"libaudioclient",
"libaudiofoundation",
"libaudiopolicy",
"libaudiopolicymanagerdefault",
"libbase",
"libhidlbase",
"liblog",
"libmedia_helper",
"libutils",
"libxml2",
"libpermission",
"libbinder",
],
static_libs: [
"libaudiopolicycomponents",
"libgmock"
],
header_libs: [
"libaudiopolicycommon",
"libaudiopolicyengine_interface_headers",
"libaudiopolicymanager_interface_headers",
],
srcs: ["audiopolicymanager_tests.cpp"],
data: [":audiopolicytest_configuration_files",],
cflags: [
"-Werror",
"-Wall",
],
test_suites: ["device-tests"],
}
cc_test {
name: "audio_health_tests",
require_root: true,
shared_libs: [
"libaudiofoundation",
"libaudioclient",
"libaudiopolicymanagerdefault",
"liblog",
"libmedia_helper",
"libutils",
],
static_libs: ["libaudiopolicycomponents"],
header_libs: [
"libaudiopolicyengine_interface_headers",
"libaudiopolicymanager_interface_headers",
],
srcs: ["audio_health_tests.cpp"],
cflags: [
"-Werror",
"-Wall",
],
test_suites: ["device-tests"],
}