299d62dd51
Modify the Ravenwood and Robolectric test suite packaging rules to output a zip file containing the list of test modules contained in the suite. This is required for supporting Test Mapping with these suites. More specifically, Test Mapping infrastructure uses the test list to determine whether any of the configured TEST_MAPPING file entries reference test modules included in the suite. Bug: 333895151 Change-Id: I4cb2ff70c799c1c3064c96e04fad11ff0694f51a Test: m nothing --no-skip-soong-tests Test: m ravenwood-tests robolectric-tests Signed-off-by: Weijia He <hwj@google.com>
146 lines
3.6 KiB
Text
146 lines
3.6 KiB
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-android",
|
|
pkgPath: "android/soong/android",
|
|
deps: [
|
|
"blueprint",
|
|
"blueprint-bootstrap",
|
|
"blueprint-metrics",
|
|
"sbox_proto",
|
|
"soong",
|
|
"soong-android_team_proto",
|
|
"soong-android-soongconfig",
|
|
"soong-remoteexec",
|
|
"soong-response",
|
|
"soong-shared",
|
|
"soong-starlark-format",
|
|
"soong-ui-metrics_proto",
|
|
"soong-android-allowlists",
|
|
|
|
"golang-protobuf-proto",
|
|
"golang-protobuf-encoding-prototext",
|
|
|
|
// Only used for tests.
|
|
"androidmk-parser",
|
|
],
|
|
srcs: [
|
|
"aconfig_providers.go",
|
|
"all_teams.go",
|
|
"androidmk.go",
|
|
"apex.go",
|
|
"apex_contributions.go",
|
|
"api_domain.go",
|
|
"api_levels.go",
|
|
"arch.go",
|
|
"arch_list.go",
|
|
"arch_module_context.go",
|
|
"base_module_context.go",
|
|
"buildinfo_prop.go",
|
|
"config.go",
|
|
"test_config.go",
|
|
"configured_jars.go",
|
|
"csuite_config.go",
|
|
"deapexer.go",
|
|
"defaults.go",
|
|
"defs.go",
|
|
"depset_generic.go",
|
|
"deptag.go",
|
|
"early_module_context.go",
|
|
"expand.go",
|
|
"filegroup.go",
|
|
"fixture.go",
|
|
"gen_notice.go",
|
|
"hooks.go",
|
|
"image.go",
|
|
"license.go",
|
|
"license_kind.go",
|
|
"license_metadata.go",
|
|
"license_sdk_member.go",
|
|
"licenses.go",
|
|
"makevars.go",
|
|
"metrics.go",
|
|
"module.go",
|
|
"module_context.go",
|
|
"module_info_json.go",
|
|
"mutator.go",
|
|
"namespace.go",
|
|
"neverallow.go",
|
|
"ninja_deps.go",
|
|
"notices.go",
|
|
"onceper.go",
|
|
"override_module.go",
|
|
"package.go",
|
|
"package_ctx.go",
|
|
"packaging.go",
|
|
"path_properties.go",
|
|
"paths.go",
|
|
"phony.go",
|
|
"plugin.go",
|
|
"prebuilt.go",
|
|
"prebuilt_build_tool.go",
|
|
"proto.go",
|
|
"provider.go",
|
|
"raw_files.go",
|
|
"register.go",
|
|
"rule_builder.go",
|
|
"sandbox.go",
|
|
"sdk.go",
|
|
"sdk_version.go",
|
|
"shared_properties.go",
|
|
"singleton.go",
|
|
"singleton_module.go",
|
|
"soong_config_modules.go",
|
|
"team.go",
|
|
"test_asserts.go",
|
|
"test_suites.go",
|
|
"testing.go",
|
|
"updatable_modules.go",
|
|
"util.go",
|
|
"variable.go",
|
|
"visibility.go",
|
|
],
|
|
testSrcs: [
|
|
"all_teams_test.go",
|
|
"android_test.go",
|
|
"androidmk_test.go",
|
|
"apex_test.go",
|
|
"arch_test.go",
|
|
"config_test.go",
|
|
"configured_jars_test.go",
|
|
"csuite_config_test.go",
|
|
"defaults_test.go",
|
|
"depset_test.go",
|
|
"deptag_test.go",
|
|
"expand_test.go",
|
|
"filegroup_test.go",
|
|
"fixture_test.go",
|
|
"gen_notice_test.go",
|
|
"license_kind_test.go",
|
|
"license_test.go",
|
|
"licenses_test.go",
|
|
"module_test.go",
|
|
"mutator_test.go",
|
|
"namespace_test.go",
|
|
"neverallow_test.go",
|
|
"ninja_deps_test.go",
|
|
"onceper_test.go",
|
|
"package_test.go",
|
|
"packaging_test.go",
|
|
"path_properties_test.go",
|
|
"paths_test.go",
|
|
"prebuilt_test.go",
|
|
"rule_builder_test.go",
|
|
"sdk_version_test.go",
|
|
"sdk_test.go",
|
|
"selects_test.go",
|
|
"singleton_module_test.go",
|
|
"soong_config_modules_test.go",
|
|
"test_suites_test.go",
|
|
"util_test.go",
|
|
"variable_test.go",
|
|
"visibility_test.go",
|
|
],
|
|
}
|