24c5603815
To make testing easier, refactor existing module-global variables into a struct that can be mocked. Test: build/bazel/bp2build.go Change-Id: I9d177677644ea743641a745b1839a3a8b29f902a
25 lines
463 B
Text
25 lines
463 B
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-bazel",
|
|
pkgPath: "android/soong/bazel",
|
|
srcs: [
|
|
"aquery.go",
|
|
"configurability.go",
|
|
"constants.go",
|
|
"properties.go",
|
|
"testing.go",
|
|
],
|
|
testSrcs: [
|
|
"aquery_test.go",
|
|
"properties_test.go",
|
|
],
|
|
pluginFor: [
|
|
"soong_build",
|
|
],
|
|
deps: [
|
|
"blueprint",
|
|
],
|
|
}
|