Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: appengine/findit/common/dependency.py

Issue 1950123003: [Findit] Fetch DEPS from buildspec/ instead of trunk for chrome official builds. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Update doc string. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/common/chromium_deps.py ('k') | appengine/findit/common/deps_parser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/dependency.py
diff --git a/appengine/findit/common/dependency.py b/appengine/findit/common/dependency.py
index 1ef0c7c5f6f720410a5711db2e6f37b6a22fe10c..3a85186c8aa745bd4f35c45fa0aeb158fa491711 100644
--- a/appengine/findit/common/dependency.py
+++ b/appengine/findit/common/dependency.py
@@ -7,11 +7,23 @@ import collections
class Dependency(object):
"""Represents a dependency in Chrome, like blink, v8, pdfium, etc."""
- def __init__(self, path, repo_url, revision, deps_file='DEPS'):
+ def __init__(self, path, repo_url, revision,
+ deps_file='DEPS', deps_repo_url=None, deps_repo_revision=None):
self.path = path
self.repo_url = repo_url
self.revision = revision
self.deps_file = deps_file
+
+ if deps_repo_url is None:
+ self.deps_repo_url = repo_url
+ else:
+ self.deps_repo_url = deps_repo_url
+
+ if deps_repo_revision is None:
+ self.deps_repo_revision = revision
+ else:
+ self.deps_repo_revision = deps_repo_revision
+
self.parent = None
self.children = dict()
« no previous file with comments | « appengine/findit/common/chromium_deps.py ('k') | appengine/findit/common/deps_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698