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

Unified Diff: ui/webui/resources/PRESUBMIT.py

Issue 2129793002: Add closure_compilation to `git cl try` for CLs that touch resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: slaves -> masters Created 4 years, 5 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 | « chrome/browser/resources/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/PRESUBMIT.py
diff --git a/ui/webui/resources/PRESUBMIT.py b/ui/webui/resources/PRESUBMIT.py
index 2ac87faf2b09787c19200dad102e395811d7661e..71e127247225f528a243c37b3493b96a75610a68 100644
--- a/ui/webui/resources/PRESUBMIT.py
+++ b/ui/webui/resources/PRESUBMIT.py
@@ -26,3 +26,11 @@ def PostUploadHook(cl, change, output_api):
rietveld_obj.update_description(cl.issue, new_description)
return [output_api.PresubmitNotifyResult(
'Automatically added optional Closure bots to run on CQ.')]
+
+
+def GetPreferredTryMasters(project, change):
+ return {
+ 'tryserver.chromium.linux': {
+ 'closure_compilation': set(['defaulttests']),
+ },
+ }
« no previous file with comments | « chrome/browser/resources/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698