Only print the Bazel command line once.

Test: USE_BAZEL=1 m and USE_BAZEL=1 use_rbe m.
Change-Id: I8413e92d91c906f884628bedac6955575cf86a1c
This commit is contained in:
Rupert Shuttleworth 2020-12-07 09:59:13 +00:00
parent 47132c4943
commit 561f2f2d96

View file

@ -156,9 +156,6 @@ func runBazel(ctx Context, config Config) {
"//:"+config.TargetProduct()+"-"+config.TargetBuildVariant(),
)
// Print the full command line for debugging purposes.
ctx.Println(cmd.Cmd)
// Execute the command at the root of the directory.
cmd.Dir = filepath.Join(config.OutDir(), "..")