platform_build_soong/bp2build
Jingwen Chen daa54bcbba Implement code-generation step for bp2build.
Implement bp2build codegen as a discrete step that runs after an
alternatively registered pipeline of mutators, instead of a
presingleton.

bp2build codegen requires a Context that supports VisitAllModules and
PathContext, so this CL also makes a BpToBuildWrapperContext that
conforms to PathContext by adding two method implementations.

Test: GENERATE_BAZEL_FILES=true m nothing && bazel query //... --config=bp2build | wc -l # 31433
Test: m queryview && bazel query //... --config=queryview # 63638

Change-Id: I0dd359746584b228046d2d0ff00895f28f9bdfc3
2021-01-19 11:03:36 -05:00
..
Android.bp
androidbp_to_build_templates.go
bp2build.go Implement code-generation step for bp2build. 2021-01-19 11:03:36 -05:00
build_conversion.go Implement code-generation step for bp2build. 2021-01-19 11:03:36 -05:00
build_conversion_test.go Implement code-generation step for bp2build. 2021-01-19 11:03:36 -05:00
bzl_conversion.go
bzl_conversion_test.go
conversion.go
conversion_test.go
testing.go Implement code-generation step for bp2build. 2021-01-19 11:03:36 -05:00