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

Unified Diff: scripts/slave/recipe_modules/gclient/config.py

Issue 1141583002: Add presubmit trybot for skia. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase. Created 5 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
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')

Powered by Google App Engine
This is Rietveld 408576698