Chromium Code Reviews| Index: scripts/slave/recipe_modules/gclient/config.py |
| diff --git a/scripts/slave/recipe_modules/gclient/config.py b/scripts/slave/recipe_modules/gclient/config.py |
| index bb5058ee94555decbf0975dcef1f23780feafd0a..cf4005324670b9cd7ba5d258970ea421b3788c89 100644 |
| --- a/scripts/slave/recipe_modules/gclient/config.py |
| +++ b/scripts/slave/recipe_modules/gclient/config.py |
| @@ -382,6 +382,16 @@ def depot_tools(c): # pragma: no cover |
| m['depot_tools'] = 'got_revision' |
| @config_ctx(config_vars={'GIT_MODE': True}) |
|
Adrian Kuegel
2015/05/18 11:44:26
Question @sergiyb: Do you think I should rather mo
Sergiy Byelozyorov
2015/05/18 14:27:05
I think it's fine here.
|
| +def skia(c): # pragma: no cover |
| + if not c.GIT_MODE: |
| + raise BadConf('skia only supports git') |
| + s = c.solutions.add() |
| + s.name = 'skia' |
| + s.url = 'https://skia.googlesource.com/skia.git' |
| + m = c.got_revision_mapping |
| + m['skia'] = 'got_revision' |
| + |
| +@config_ctx(config_vars={'GIT_MODE': True}) |
| def chrome_golo(c): # pragma: no cover |
| if not c.GIT_MODE: |
| raise BadConf('chrome_golo only supports git') |