platform_build_soong/java/Android.bp
Aditya Choudhary 9b59352a82 Add proto for Test ownership metadata.
This Cl adds a new rule to Soong to generate test spec metadata. Also, this CL adds a provider in various test module to provide test spec related data to the Soong rule.
Will add providers and test code to other Module in the future changes.
Provider added for the following test modules in this change: android_robolectric_test, android_test, bootclasspath_fragment_test, java_test, java_test_host, python_test, python_test_host, sh_test,and sh_test_host.

Bug: 296873595

Change-Id: I5f89f72d5874bb7838ae357efdb8c6ca208e18a7
2023-11-15 09:08:02 +00:00

118 lines
3.1 KiB
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package {
name: "soong-java",
pkgPath: "android/soong/java",
deps: [
"blueprint",
"blueprint-pathtools",
"soong",
"soong-android",
"soong-bazel",
"soong-cc",
"soong-dexpreopt",
"soong-genrule",
"soong-java-config",
"soong-testing",
"soong-provenance",
"soong-python",
"soong-remoteexec",
"soong-tradefed",
],
srcs: [
"aapt2.go",
"aar.go",
"android_manifest.go",
"android_resources.go",
"androidmk.go",
"app_builder.go",
"app.go",
"app_import.go",
"app_set.go",
"base.go",
"boot_jars.go",
"bootclasspath.go",
"bootclasspath_fragment.go",
"builder.go",
"classpath_element.go",
"classpath_fragment.go",
"device_host_converter.go",
"dex.go",
"dexpreopt.go",
"dexpreopt_bootjars.go",
"dexpreopt_check.go",
"dexpreopt_config.go",
"dexpreopt_config_testing.go",
"droiddoc.go",
"droidstubs.go",
"fuzz.go",
"gen.go",
"generated_java_library.go",
"genrule.go",
"hiddenapi.go",
"hiddenapi_modular.go",
"hiddenapi_monolithic.go",
"hiddenapi_singleton.go",
"jacoco.go",
"java.go",
"jdeps.go",
"java_resources.go",
"kotlin.go",
"lint.go",
"legacy_core_platform_api_usage.go",
"platform_bootclasspath.go",
"platform_compat_config.go",
"plugin.go",
"prebuilt_apis.go",
"proto.go",
"resourceshrinker.go",
"robolectric.go",
"rro.go",
"sdk.go",
"sdk_library.go",
"sdk_library_external.go",
"support_libraries.go",
"system_modules.go",
"systemserver_classpath_fragment.go",
"testing.go",
"tradefed.go",
],
testSrcs: [
"aar_test.go",
"android_manifest_test.go",
"androidmk_test.go",
"app_import_test.go",
"app_set_test.go",
"app_test.go",
"bootclasspath_fragment_test.go",
"device_host_converter_test.go",
"dex_test.go",
"dexpreopt_test.go",
"dexpreopt_config_test.go",
"droiddoc_test.go",
"droidstubs_test.go",
"fuzz_test.go",
"genrule_test.go",
"generated_java_library_test.go",
"hiddenapi_singleton_test.go",
"jacoco_test.go",
"java_test.go",
"jdeps_test.go",
"kotlin_test.go",
"lint_test.go",
"platform_bootclasspath_test.go",
"platform_compat_config_test.go",
"plugin_test.go",
"prebuilt_apis_test.go",
"proto_test.go",
"resourceshrinker_test.go",
"rro_test.go",
"sdk_test.go",
"sdk_library_test.go",
"system_modules_test.go",
"systemserver_classpath_fragment_test.go",
],
pluginFor: ["soong_build"],
}