The goal of this cl is to simplify the python rules, mostly by removing the "decorator" pattern that they currently use, and instead making separate module types for libraries, binaries, and tests that inherit from each other. Bug: 259718110 Test: Verified ninja files are unchanged (they only change in the list of soong sources because I added/deleted files) Change-Id: I1e836e2cc4782c7818f91db7df7895de3b8db7ca
29 lines
542 B
Plaintext
29 lines
542 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-python",
|
|
pkgPath: "android/soong/python",
|
|
deps: [
|
|
"blueprint",
|
|
"soong-android",
|
|
"soong-tradefed",
|
|
],
|
|
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"],
|
|
}
|