Skip cipd deps in roll_deps
This should be seen as a temporary workaround because we will likely want to roll these together with Chromium and drop 'Android CIPD Ensure' like in crrev.com/b59866870a96d6dd39cf573e304ca551848520b9 but it's difficult to update a Python-syntax file like that. Bug: chromium:755920 No-Try: True TBR: phoglund@webrtc.org Change-Id: Ifc508c48ea29ce570cf624d783fa22381ea03fd4 Reviewed-on: https://webrtc-review.googlesource.com/54902 Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22088}
This commit is contained in:
@ -208,9 +208,13 @@ def BuildDepsentryDict(deps_dict):
|
||||
"""Builds a dict of paths to DepsEntry objects from a raw parsed deps dict."""
|
||||
result = {}
|
||||
def AddDepsEntries(deps_subdict):
|
||||
for path, deps_url in deps_subdict.iteritems():
|
||||
if isinstance(deps_url, dict):
|
||||
deps_url = deps_url['url']
|
||||
for path, dep in deps_subdict.iteritems():
|
||||
if isinstance(dep, dict):
|
||||
if dep.get('dep_type') == 'cipd':
|
||||
continue
|
||||
deps_url = dep['url']
|
||||
else:
|
||||
deps_url = dep
|
||||
if not result.has_key(path):
|
||||
url, revision = deps_url.split('@') if deps_url else (None, None)
|
||||
result[path] = DepsEntry(path, url, revision)
|
||||
|
||||
Reference in New Issue
Block a user