Merge "Stop first pass of mixed bazel builds before writing ninja"

This commit is contained in:
Christopher Parsons 2020-11-13 18:18:07 +00:00 committed by Gerrit Code Review
commit 9414a8be12
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ func main() {
// TODO(cparsons): Don't output any ninja file, as the second pass will overwrite
// the incorrect results from the first pass, and file I/O is expensive.
firstCtx := newContext(srcDir, configuration)
configuration.SetStopBefore(bootstrap.StopBeforeWriteNinja)
bootstrap.Main(firstCtx.Context, configuration, extraNinjaDeps...)
// Invoke bazel commands and save results for second pass.
if err := configuration.BazelContext.InvokeBazel(); err != nil {