Merge "Don't print RBE stats if ANDROID_QUIET_BUILD is set."

This commit is contained in:
Peter Collingbourne 2021-04-26 19:47:58 +00:00 committed by Gerrit Code Review
commit 19947656df
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func stopRBE(ctx Context, config Config) {
ctx.Fatalf("rbe bootstrap with shutdown failed with: %v\n%s\n", err, output)
}
if len(output) > 0 {
if !config.Environment().IsEnvTrue("ANDROID_QUIET_BUILD") && len(output) > 0 {
fmt.Fprintln(ctx.Writer, "")
fmt.Fprintln(ctx.Writer, fmt.Sprintf("%s", output))
}