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