summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorJingwen Chen <jingwen@google.com>2020-12-02 04:34:15 -0500
committerJingwen Chen <jingwen@google.com>2020-12-03 23:36:57 -0500
commit4133ce6912fcdc8ef364b5c08f9acfb66d94fbfb (patch)
tree293c3a97ecfe538b2e9e1ad41bddd8b12a95324c /java/java.go
parent62269498be456ea1c4550a37d3da2c231117a9ae (diff)
Add bp2build mode to soong_build.
This CL adds a new CONVERT_TO_BAZEL env var, and a bp2build goal. It reuses the queryview architecture, but registers no mutators before converting to BUILD files. This gives us a blank slate of the module graph to work with, and create a shadow/alternate pipeline of mutators to converge the Bazel BUILD graph to be semantically equivalent with the Android.bp graph (after apply its current set of mutators). The command to do so is: $ CONVERT_TO_BAZEL=true m bp2build To not clobber with queryview, the generated files are in out/soong/bp2build. Test: CONVERT_TO_BAZEL=true m bp2build && bazel query --config=bp2build //... Test: m queryview && bazel query --config=queryview //.. Test: soong tests Test: TH presubmit Fixes: 174465461 Signed-off-by: Jingwen Chen <jingwen@google.com> Change-Id: I4dd0ccc73abc345d70a50ca2803d6f400cd8c863
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions