1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "hardware_interfaces_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_interfaces_license"], 8} 9 10cc_test { 11 name: "VtsHalAudioPolicyV1_0TargetTest", 12 srcs: [ 13 "ValidateEngineConfiguration.cpp", 14 ], 15 static_libs: [ 16 "libxml2", 17 "liblog", 18 "libmedia_helper", 19 "libaudiopolicyengine_config", 20 "libaudiopolicycomponents", 21 "libaudiopolicyengineconfigurable_pfwwrapper", 22 "android.hardware.audio.common.test.utility", 23 "libparameter", 24 "libpfw_utility", 25 "libremote-processor", 26 "libutils", 27 "libcutils", 28 "libhidlbase", 29 "liblog", 30 "libbase", 31 ], 32 shared_libs: [ 33 "libaudiofoundation", 34 ], 35 // Use test_config for vts suite. 36 // TODO(b/146104851): Add auto-gen rules and remove it. 37 test_config: "VtsHalAudioPolicyV1_0TargetTest.xml", 38 cflags: [ 39 "-DXSD_DIR=\"/data/local/tmp\"", 40 "-DXSD_PFW_DIR=\"/data/local/tmp/Schemas\"", 41 "-Wall", 42 "-Werror", 43 "-Wno-unused-function", 44 "-O0", 45 "-g", 46 ], 47 data: [ 48 ":audio_policy_engine_conf_V1_0", 49 ":audio_policy_engine_configurable_configuration_V1_0", 50 ":audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0", 51 ":audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0", 52 ":audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0", 53 ":audio_policy_engine_configurable_configuration_ConfigurableDomains_V1_0", 54 ":audio_policy_engine_configurable_configuration_FileIncluder_V1_0", 55 ":audio_policy_engine_configurable_configuration_Parameter_V1_0", 56 ":audio_policy_engine_configurable_configuration_ParameterFrameworkConfiguration_V1_0", 57 ":audio_policy_engine_configurable_configuration_ParameterSettings_V1_0", 58 ":audio_policy_engine_configurable_configuration_Subsystem_V1_0", 59 ":audio_policy_engine_configurable_configuration_SystemClass_V1_0", 60 ":audio_policy_engine_configurable_configuration_W3cXmlAttributes_V1_0", 61 ], 62 gtest: true, 63 test_suites: [ 64 "general-tests", 65 "vts", 66 ], 67} 68