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 """Top-level presubmit script for cc. | 5 """Top-level presubmit script for cc. |
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 about the presubmit API built into depot_tools. | 8 for more details about the presubmit API built into depot_tools. |
9 """ | 9 """ |
10 | 10 |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 results += CheckPassByValue(input_api, output_api) | 220 results += CheckPassByValue(input_api, output_api) |
221 results += CheckChangeLintsClean(input_api, output_api) | 221 results += CheckChangeLintsClean(input_api, output_api) |
222 results += CheckTodos(input_api, output_api) | 222 results += CheckTodos(input_api, output_api) |
223 results += CheckNamespace(input_api, output_api) | 223 results += CheckNamespace(input_api, output_api) |
224 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) | 224 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
225 return results | 225 return results |
226 | 226 |
227 def GetPreferredTryMasters(project, change): | 227 def GetPreferredTryMasters(project, change): |
228 return { | 228 return { |
229 'tryserver.chromium': { | 229 'tryserver.chromium': { |
230 'linux_layout_rel': set(['defaulttests']), | 230 'linux_blink_rel': set(['defaulttests']), |
231 'linux_gpu': set(['defaulttests']), | 231 'linux_gpu': set(['defaulttests']), |
232 'mac_gpu': set(['defaulttests']), | 232 'mac_gpu': set(['defaulttests']), |
233 'win_gpu': set(['defaulttests']), | 233 'win_gpu': set(['defaulttests']), |
234 }, | 234 }, |
235 } | 235 } |
OLD | NEW |