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

Unified Diff: recipe_modules/gclient/config.py

Issue 2017843003: depot_tools: add gclient config for bare recipes-py repo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: 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 | « no previous file | recipe_modules/gclient/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/gclient/config.py
diff --git a/recipe_modules/gclient/config.py b/recipe_modules/gclient/config.py
index 8e3224043784c6a5571eb8f4a4e3115060a4a259..0b1a8544f3bc543964d9f731da2dfe1a850c7b8d 100644
--- a/recipe_modules/gclient/config.py
+++ b/recipe_modules/gclient/config.py
@@ -616,6 +616,14 @@ def recipes_py(c):
del m['infra']
m['infra/recipes-py'] = 'got_revision'
+@config_ctx(config_vars={'GIT_MODE': True})
+def recipes_py_bare(c):
+ soln = c.solutions.add()
+ soln.name = 'recipes-py'
+ soln.url = ('https://chromium.googlesource.com/external/github.com/'
+ 'luci/recipes-py')
+ c.got_revision_mapping['recipes-py'] = 'got_revision'
+
@config_ctx()
def chrome_from_buildspec(c): # pragma: no cover
soln = c.solutions.add()
« no previous file with comments | « no previous file | recipe_modules/gclient/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698