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

Unified Diff: chrome/browser/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 | « no previous file | ui/webui/resources/PRESUBMIT.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/PRESUBMIT.py
diff --git a/chrome/browser/resources/PRESUBMIT.py b/chrome/browser/resources/PRESUBMIT.py
index 6d60a3a922829212ccbaaba2e03fa37454310b48..2e853aa7e2d53876c1c0d6c417c240315b3431ee 100644
--- a/chrome/browser/resources/PRESUBMIT.py
+++ b/chrome/browser/resources/PRESUBMIT.py
@@ -120,3 +120,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 | « no previous file | ui/webui/resources/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698