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.
68 lines
2.4 KiB
68 lines
2.4 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAudioPolicyV1_0TargetTest",
|
|
srcs: [
|
|
"ValidateEngineConfiguration.cpp",
|
|
],
|
|
static_libs: [
|
|
"libxml2",
|
|
"liblog",
|
|
"libmedia_helper",
|
|
"libaudiopolicyengine_config",
|
|
"libaudiopolicycomponents",
|
|
"libaudiopolicyengineconfigurable_pfwwrapper",
|
|
"android.hardware.audio.common.test.utility",
|
|
"libparameter",
|
|
"libpfw_utility",
|
|
"libremote-processor",
|
|
"libutils",
|
|
"libcutils",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libbase",
|
|
],
|
|
shared_libs: [
|
|
"libaudiofoundation",
|
|
],
|
|
// Use test_config for vts suite.
|
|
// TODO(b/146104851): Add auto-gen rules and remove it.
|
|
test_config: "VtsHalAudioPolicyV1_0TargetTest.xml",
|
|
cflags: [
|
|
"-DXSD_DIR=\"/data/local/tmp\"",
|
|
"-DXSD_PFW_DIR=\"/data/local/tmp/Schemas\"",
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-unused-function",
|
|
"-O0",
|
|
"-g",
|
|
],
|
|
data: [
|
|
":audio_policy_engine_conf_V1_0",
|
|
":audio_policy_engine_configurable_configuration_V1_0",
|
|
":audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0",
|
|
":audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0",
|
|
":audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0",
|
|
":audio_policy_engine_configurable_configuration_ConfigurableDomains_V1_0",
|
|
":audio_policy_engine_configurable_configuration_FileIncluder_V1_0",
|
|
":audio_policy_engine_configurable_configuration_Parameter_V1_0",
|
|
":audio_policy_engine_configurable_configuration_ParameterFrameworkConfiguration_V1_0",
|
|
":audio_policy_engine_configurable_configuration_ParameterSettings_V1_0",
|
|
":audio_policy_engine_configurable_configuration_Subsystem_V1_0",
|
|
":audio_policy_engine_configurable_configuration_SystemClass_V1_0",
|
|
":audio_policy_engine_configurable_configuration_W3cXmlAttributes_V1_0",
|
|
],
|
|
gtest: true,
|
|
test_suites: [
|
|
"general-tests",
|
|
"vts",
|
|
],
|
|
}
|