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

Side by Side Diff: base/PRESUBMIT.py

Issue 194903007: Convert most Chromium presubmit files to use new multiple-tryserver-compatible protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: setdefault Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/PRESUBMIT.py ('k') | chrome/browser/extensions/PRESUBMIT.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Chromium presubmit script for src/base. 5 """Chromium presubmit script for src/base.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details on the presubmit API built into gcl. 8 for more details on the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 30 matching lines...) Expand all
41 results.extend(_CommonChecks(input_api, output_api)) 41 results.extend(_CommonChecks(input_api, output_api))
42 return results 42 return results
43 43
44 44
45 def CheckChangeOnCommit(input_api, output_api): 45 def CheckChangeOnCommit(input_api, output_api):
46 results = [] 46 results = []
47 results.extend(_CommonChecks(input_api, output_api)) 47 results.extend(_CommonChecks(input_api, output_api))
48 return results 48 return results
49 49
50 50
51 def GetPreferredTrySlaves(): 51 def GetPreferredTryMasters(project, change):
52 return [ 52 return {
53 'linux_rel:sync_integration_tests', 53 'tryserver.chromium': {
54 'mac_rel:sync_integration_tests', 54 'linux_rel': set(['sync_integration_tests']),
55 'win_rel:sync_integration_tests', 55 'mac_rel': set(['sync_integration_tests']),
56 ] 56 'win_rel': set(['sync_integration_tests']),
57 }
58 }
OLDNEW
« no previous file with comments | « ash/PRESUBMIT.py ('k') | chrome/browser/extensions/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698