blob: a4a0cd43131ac9fc3b2a86a4c57e287ceb2a911d [file] [log] [blame]
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",
defaults: [
"latest_android_media_audio_common_types_cpp_static",
],
include_dirs: [
"frameworks/av/services/audiopolicy",
],
shared_libs: [
"framework-permission-aidl-cpp",
"libaudioclient",
"libaudiofoundation",
"libaudiopolicy",
"libaudiopolicymanagerdefault",
"libbase",
"libbinder",
"libcutils",
"libhidlbase",
"liblog",
"libmedia_helper",
"libutils",
"libcutils",
"libxml2",
],
static_libs: [
"audioclient-types-aidl-cpp",
"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",
"automotive-tests",
],
}
cc_test {
name: "audio_health_tests",
defaults: [
"latest_android_media_audio_common_types_cpp_shared",
],
require_root: true,
shared_libs: [
"audioclient-types-aidl-cpp",
"libaudioclient",
"libaudioclient_aidl_conversion",
"libaudiofoundation",
"libaudiopolicycomponents",
"libaudiopolicymanagerdefault",
"libcutils",
"liblog",
"libmedia_helper",
"libshmemcompat",
"libshmemutil",
"libstagefright_foundation",
"libutils",
"libxml2",
],
header_libs: [
"libaudiopolicyengine_interface_headers",
"libaudiopolicymanager_interface_headers",
],
srcs: ["audio_health_tests.cpp"],
cflags: [
"-Werror",
"-Wall",
],
test_suites: ["device-tests"],
}