| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 def CheckChangeOnCommit(input_api, output_api): | 86 def CheckChangeOnCommit(input_api, output_api): |
| 87 results = [] | 87 results = [] |
| 88 results.extend(_CommonChecks(input_api, output_api)) | 88 results.extend(_CommonChecks(input_api, output_api)) |
| 89 return results | 89 return results |
| 90 | 90 |
| 91 | 91 |
| 92 def GetPreferredTryMasters(project, change): | 92 def GetPreferredTryMasters(project, change): |
| 93 return { | 93 return { |
| 94 'tryserver.chromium.linux': { | 94 'tryserver.chromium.linux': { |
| 95 'linux_chromium_rel_swarming': set(['defaulttests']), | 95 'linux_chromium_rel': set(['defaulttests']), |
| 96 }, | 96 }, |
| 97 'tryserver.chromium.mac': { | 97 'tryserver.chromium.mac': { |
| 98 'mac_chromium_rel_swarming': set(['defaulttests']), | 98 'mac_chromium_rel': set(['defaulttests']), |
| 99 }, | 99 }, |
| 100 'tryserver.chromium.win': { | 100 'tryserver.chromium.win': { |
| 101 'win_chromium_rel_swarming': set(['defaulttests']), | 101 'win_chromium_rel': set(['defaulttests']), |
| 102 } | 102 } |
| 103 } | 103 } |
| OLD | NEW |