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() |