5c503d1c43
This signifigantly improves the startup time of soong-built python binaries. For example, running `m apexer && time out/host/linux-x86/bin/apexer` gives 0.734s before this cl, and 0.094s after. Fixes: 259718110 Test: Presubmits Change-Id: Ib19e83e2c60c39a849525be117279c318de3afa7
29 lines
562 B
Text
29 lines
562 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",
|
|
],
|
|
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"],
|
|
}
|