diff options
author | 2020-12-14 02:58:54 -0500 | |
---|---|---|
committer | 2021-01-19 11:03:36 -0500 | |
commit | daa54bcbba9dbea37ddf28feb948a112e3f4c95d (patch) | |
tree | d72e4954f212f95daee42d66e572041ac558979b /rust/binary_test.go | |
parent | 4d31a041c75525ffb526376792760622b081e9e1 (diff) |
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
Diffstat (limited to 'rust/binary_test.go')
0 files changed, 0 insertions, 0 deletions