Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 1 | package { |
Aditya Choudhary | ad2ba1b | 2024-02-05 15:45:22 +0000 | [diff] [blame] | 2 | default_team: "trendy_team_android_media_audio_framework", |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 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 | |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 11 | cc_test { |
| 12 | name: "VtsHalAudioPolicyV1_0TargetTest", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 13 | srcs: [ |
| 14 | "ValidateEngineConfiguration.cpp", |
| 15 | ], |
| 16 | static_libs: [ |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 17 | "libxml2", |
| 18 | "liblog", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame] | 19 | "libmedia_helper", |
François Gaffie | 57ccab7 | 2024-04-17 11:47:51 +0200 | [diff] [blame] | 20 | "libaudiopolicycapengine_config", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame] | 21 | "libaudiopolicycomponents", |
François Gaffie | 57ccab7 | 2024-04-17 11:47:51 +0200 | [diff] [blame] | 22 | "libaudiopolicyengine_config", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame] | 23 | "libaudiopolicyengineconfigurable_pfwwrapper", |
| 24 | "android.hardware.audio.common.test.utility", |
| 25 | "libparameter", |
| 26 | "libpfw_utility", |
| 27 | "libremote-processor", |
| 28 | "libutils", |
| 29 | "libcutils", |
| 30 | "libhidlbase", |
| 31 | "liblog", |
| 32 | "libbase", |
| 33 | ], |
| 34 | shared_libs: [ |
| 35 | "libaudiofoundation", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 36 | ], |
Dan Shi | ba894f8 | 2020-03-26 00:06:39 -0700 | [diff] [blame] | 37 | // Use test_config for vts suite. |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 38 | // TODO(b/146104851): Add auto-gen rules and remove it. |
| 39 | test_config: "VtsHalAudioPolicyV1_0TargetTest.xml", |
| 40 | cflags: [ |
| 41 | "-DXSD_DIR=\"/data/local/tmp\"", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame] | 42 | "-DXSD_PFW_DIR=\"/data/local/tmp/Schemas\"", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 43 | "-Wall", |
| 44 | "-Werror", |
| 45 | "-Wno-unused-function", |
| 46 | "-O0", |
| 47 | "-g", |
| 48 | ], |
| 49 | data: [ |
| 50 | ":audio_policy_engine_conf_V1_0", |
François Gaffie | a8cac48 | 2019-12-18 09:29:58 +0100 | [diff] [blame] | 51 | ":audio_policy_engine_configurable_configuration_V1_0", |
| 52 | ":audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0", |
| 53 | ":audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0", |
| 54 | ":audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0", |
| 55 | ":audio_policy_engine_configurable_configuration_ConfigurableDomains_V1_0", |
| 56 | ":audio_policy_engine_configurable_configuration_FileIncluder_V1_0", |
| 57 | ":audio_policy_engine_configurable_configuration_Parameter_V1_0", |
| 58 | ":audio_policy_engine_configurable_configuration_ParameterFrameworkConfiguration_V1_0", |
| 59 | ":audio_policy_engine_configurable_configuration_ParameterSettings_V1_0", |
| 60 | ":audio_policy_engine_configurable_configuration_Subsystem_V1_0", |
| 61 | ":audio_policy_engine_configurable_configuration_SystemClass_V1_0", |
| 62 | ":audio_policy_engine_configurable_configuration_W3cXmlAttributes_V1_0", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 63 | ], |
| 64 | gtest: true, |
| 65 | test_suites: [ |
| 66 | "general-tests", |
Dan Shi | ba894f8 | 2020-03-26 00:06:39 -0700 | [diff] [blame] | 67 | "vts", |
François Gaffie | b449cdb | 2019-12-13 13:31:36 -0800 | [diff] [blame] | 68 | ], |
| 69 | } |