[gclient] Add gcs to known ignore dep type

Bug: b/336344786
Change-Id: I5f2078b4693000d4d28dd4ab9783dcd2324c5aaf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5472454
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Joanna Wang <jojwang@chromium.org>
Commit-Queue: Joanna Wang <jojwang@chromium.org>
changes/54/5472454/4
Josip Sokcevic 10 months ago committed by LUCI CQ
parent 917a57459b
commit bcf85af334

@ -741,7 +741,7 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
should_process = should_process and cached_conditions[condition]
# The following option is only set by the 'revinfo' command.
if self._get_option('ignore_dep_type', None) == dep_type:
if dep_type in self._get_option('ignore_dep_type', []):
continue
if dep_type == 'cipd':
@ -3978,7 +3978,9 @@ def CMDrevinfo(parser, args):
'information about the revisions.')
parser.add_option(
'--ignore-dep-type',
choices=['git', 'cipd'],
choices=['git', 'cipd', 'gcs'],
action='append',
default=[],
help='Specify to skip processing of a certain type of dep.')
(options, args) = parser.parse_args(args)
client = GClient.LoadCurrentConfig(options)

@ -10,3 +10,4 @@ a new friend, but this information was marked RVG, so it was months before
any details were revealed.
The End!

Loading…
Cancel
Save