François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 1 | cc_test { |
| 2 | name: "VtsHalAudioPolicyV1_0TargetTest", |
| 3 | defaults: ["vts_target_tests_defaults"], |
| 4 | srcs: [ |
| 5 | "ValidateEngineConfiguration.cpp", |
| 6 | ], |
| 7 | static_libs: [ |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 8 | "libxml2", |
| 9 | "liblog", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame^] | 10 | "libmedia_helper", |
| 11 | "libaudiopolicyengine_config", |
| 12 | "libaudiopolicycomponents", |
| 13 | "libaudiopolicyengineconfigurable_pfwwrapper", |
| 14 | "android.hardware.audio.common.test.utility", |
| 15 | "libparameter", |
| 16 | "libpfw_utility", |
| 17 | "libremote-processor", |
| 18 | "libutils", |
| 19 | "libcutils", |
| 20 | "libhidlbase", |
| 21 | "liblog", |
| 22 | "libbase", |
| 23 | ], |
| 24 | shared_libs: [ |
| 25 | "libaudiofoundation", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 26 | ], |
| 27 | // Use test_config for vts-core suite. |
| 28 | // TODO(b/146104851): Add auto-gen rules and remove it. |
| 29 | test_config: "VtsHalAudioPolicyV1_0TargetTest.xml", |
| 30 | cflags: [ |
| 31 | "-DXSD_DIR=\"/data/local/tmp\"", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame^] | 32 | "-DXSD_PFW_DIR=\"/data/local/tmp/Schemas\"", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 33 | "-Wall", |
| 34 | "-Werror", |
| 35 | "-Wno-unused-function", |
| 36 | "-O0", |
| 37 | "-g", |
| 38 | ], |
| 39 | data: [ |
| 40 | ":audio_policy_engine_conf_V1_0", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame^] | 41 | ":audio_policy_engine_configurable_configuration_V1_0", |
| 42 | ":audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0", |
| 43 | ":audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0", |
| 44 | ":audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0", |
| 45 | ":audio_policy_engine_configurable_configuration_ConfigurableDomains_V1_0", |
| 46 | ":audio_policy_engine_configurable_configuration_FileIncluder_V1_0", |
| 47 | ":audio_policy_engine_configurable_configuration_Parameter_V1_0", |
| 48 | ":audio_policy_engine_configurable_configuration_ParameterFrameworkConfiguration_V1_0", |
| 49 | ":audio_policy_engine_configurable_configuration_ParameterSettings_V1_0", |
| 50 | ":audio_policy_engine_configurable_configuration_Subsystem_V1_0", |
| 51 | ":audio_policy_engine_configurable_configuration_SystemClass_V1_0", |
| 52 | ":audio_policy_engine_configurable_configuration_W3cXmlAttributes_V1_0", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 53 | ], |
| 54 | gtest: true, |
| 55 | test_suites: [ |
| 56 | "general-tests", |
| 57 | "vts-core", |
| 58 | ], |
| 59 | } |