OLD | NEW |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 GetPreferredTryMasters(project, change): | 51 def GetPreferredTryMasters(project, change): |
52 return { | 52 return { |
53 'tryserver.chromium': { | 53 'tryserver.chromium.linux': { |
54 'linux_chromium_rel': set(['defaulttests']), | 54 'linux_chromium_rel_swarming': set(['defaulttests']), |
| 55 }, |
| 56 'tryserver.chromium.mac': { |
55 'mac_chromium_rel': set(['defaulttests']), | 57 'mac_chromium_rel': set(['defaulttests']), |
| 58 }, |
| 59 'tryserver.chromium.win': { |
56 'win_chromium_rel': set(['defaulttests']), | 60 'win_chromium_rel': set(['defaulttests']), |
57 } | 61 } |
58 } | 62 } |
OLD | NEW |