mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
autoninja: skip RBE wrapper for -t tool invocations
ninja tools don't need an RBE environment active, so avoid an unnecessary delay and noisy output when something like autoninja -t commands is invoked. Change-Id: I28fe5275a4a130251d5c0feac5841ba2c410527d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5987270 Reviewed-by: Fumitoshi Ukai <ukai@google.com> Commit-Queue: Fumitoshi Ukai <ukai@google.com>
This commit is contained in:
committed by
LUCI CQ
parent
b32938f66b
commit
d4d09a4536
@@ -372,7 +372,7 @@ def _main_inner(input_args, build_id, should_collect_logs=False):
|
||||
# are being used.
|
||||
_print_cmd(ninja_args)
|
||||
|
||||
if use_reclient:
|
||||
if use_reclient and not t_specified:
|
||||
return reclient_helper.run_ninja(ninja_args, should_collect_logs)
|
||||
return ninja.main(ninja_args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user