If both bp2build_available and label are specified, label will be preferred. Initially, we copy the entire BUILD.bazel file. Eventually we may move this to use bazel query for a more accurate result. Test: go test * Test: build/bazel/scripts/milestone-2/demo.sh full Test: GENERATE_BAZEL_FILES=true m nothing edit bionic/libc/tools/BUILD.bazel GENERATE_BAZEL_FILES=true m nothing and verify changes picked up Bug: 180516554 Change-Id: I43025583300e6b10d2c18032cd4a76237b578d59
40 lines
922 B
Plaintext
40 lines
922 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-bp2build",
|
|
pkgPath: "android/soong/bp2build",
|
|
srcs: [
|
|
"androidbp_to_build_templates.go",
|
|
"bp2build.go",
|
|
"build_conversion.go",
|
|
"bzl_conversion.go",
|
|
"configurability.go",
|
|
"constants.go",
|
|
"conversion.go",
|
|
"metrics.go",
|
|
],
|
|
deps: [
|
|
"soong-android",
|
|
"soong-bazel",
|
|
"soong-cc",
|
|
"soong-genrule",
|
|
"soong-python",
|
|
"soong-sh",
|
|
],
|
|
testSrcs: [
|
|
"build_conversion_test.go",
|
|
"bzl_conversion_test.go",
|
|
"cc_library_headers_conversion_test.go",
|
|
"cc_object_conversion_test.go",
|
|
"conversion_test.go",
|
|
"python_binary_conversion_test.go",
|
|
"sh_conversion_test.go",
|
|
"testing.go",
|
|
],
|
|
pluginFor: [
|
|
"soong_build",
|
|
],
|
|
}
|