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

Unified Diff: recipes/infra.py

Issue 901083003: Fix infra and infra_internal fetch recipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 10 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 | « no previous file | recipes/infra_internal.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/infra.py
diff --git a/recipes/infra.py b/recipes/infra.py
index 3c65b4420f78aaef05421dfd187a64fbe50e7863..f9698a6d1d520583c496ef87957c528b72f990d4 100644
--- a/recipes/infra.py
+++ b/recipes/infra.py
@@ -14,24 +14,18 @@ class Infra(recipe_util.Recipe):
@staticmethod
def fetch_spec(_props):
- solution = lambda name, path_infix = None: {
- 'name' : name,
- 'url' : 'https://chromium.googlesource.com/infra/%s%s.git' % (
- path_infix + '/' if path_infix else '', name
- ),
- 'deps_file': '.DEPS.git',
- 'managed' : False,
- }
- spec = {
+ return {
+ 'type': 'gclient_git',
+ 'gclient_git_spec': {
'solutions': [
- solution('infra'),
- solution('expect_tests', 'testing'),
- solution('testing_support', 'testing'),
+ {
+ 'name' : 'infra',
+ 'url' : 'https://chromium.googlesource.com/infra/infra.git',
+ 'deps_file': '.DEPS.git',
+ 'managed' : False,
+ }
],
- }
- return {
- 'type': 'gclient_git',
- 'gclient_git_spec': spec,
+ },
}
@staticmethod
« no previous file with comments | « no previous file | recipes/infra_internal.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698