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