mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
siso: Make it so that we check the second parameter of siso whether it is ninja or not.
The first one is always `siso`. Bug: b/348530235 Change-Id: I2135d87cb676156b4e14ace31928e9de6a6a6964 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7140206 Reviewed-by: Junji Watanabe <jwata@google.com> Auto-Submit: Alex Ovsienko <ovsienko@google.com> Commit-Queue: Alex Ovsienko <ovsienko@google.com>
This commit is contained in:
2
siso.py
2
siso.py
@@ -234,7 +234,7 @@ def main(args, telemetry_cfg: Optional[build_telemetry.Config] = None):
|
||||
print('depot_tools/siso.py: %s' % shlex.join(new_args),
|
||||
file=sys.stderr)
|
||||
# Add ninja specific flags.
|
||||
if args[0] == "ninja":
|
||||
if args[1] == "ninja":
|
||||
new_args = apply_metrics_labels(new_args)
|
||||
if should_collect_logs:
|
||||
new_args = apply_telemetry_flags(new_args)
|
||||
|
||||
Reference in New Issue
Block a user