9b59352a82
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
30 lines
587 B
Text
30 lines
587 B
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-python",
|
|
pkgPath: "android/soong/python",
|
|
deps: [
|
|
"blueprint",
|
|
"soong-android",
|
|
"soong-tradefed",
|
|
"soong-cc",
|
|
"soong-testing",
|
|
],
|
|
srcs: [
|
|
"binary.go",
|
|
"bp2build.go",
|
|
"builder.go",
|
|
"defaults.go",
|
|
"library.go",
|
|
"proto.go",
|
|
"python.go",
|
|
"test.go",
|
|
"testing.go",
|
|
],
|
|
testSrcs: [
|
|
"python_test.go",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|