mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
[ninjalog_uploader] Exclude -p ninja option from targets metrics
Some records include '-p' as a target in the ninja metrics. Bug: b/270907050 Change-Id: I4040db5793e682eaa48242bc27756c91d05ad320 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4302230 Auto-Submit: Junji Watanabe <jwata@google.com> Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
This commit is contained in:
@@ -80,7 +80,7 @@ def GetBuildTargetFromCommandLine(cmdline):
|
||||
|
||||
# Skipping all args that involve these flags, and taking all remaining args
|
||||
# as targets.
|
||||
onearg_flags = ('-C', '-f', '-j', '-k', '-l', '-d', '-t', '-w')
|
||||
onearg_flags = ('-C', '-d', '-f', '-j', '-k', '-l', '-p', '-t', '-w')
|
||||
zeroarg_flags = ('--version', '-n', '-v')
|
||||
|
||||
targets = []
|
||||
|
||||
Reference in New Issue
Block a user