platform_build_soong/bp2build/Android.bp
Jingwen Chen 316e07c593 bp2build: automatically convert all genrules.
Results of `cquery //bionic/...`: https://paste.googleplex.com/5608885982330880?raw

Note that this CL does not contain the global module name mapping to
fully qualified label lookup mechanism, so while the BUILD targets are
queryable, they are not buildable (yet).

Test: GENERATE_BAZEL_FILES=true m nothing && ./build/bazel/scripts/bp2build-sync.sh write && bazel cquery //bionic/...

Change-Id: I6f2316222723d8b612d9b041ca82a188cd05bac9
2021-01-24 20:51:18 -05:00

25 lines
546 B
Text

bootstrap_go_package {
name: "soong-bp2build",
pkgPath: "android/soong/bp2build",
srcs: [
"androidbp_to_build_templates.go",
"bp2build.go",
"build_conversion.go",
"bzl_conversion.go",
"conversion.go",
],
deps: [
"soong-android",
"soong-bazel",
"soong-genrule",
],
testSrcs: [
"build_conversion_test.go",
"bzl_conversion_test.go",
"conversion_test.go",
"testing.go",
],
pluginFor: [
"soong_build",
],
}