| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 results += FindUselessIfdefs(input_api, output_api) | 366 results += FindUselessIfdefs(input_api, output_api) |
| 367 results += CheckOverrideFinal(input_api, output_api) | 367 results += CheckOverrideFinal(input_api, output_api) |
| 368 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) | 368 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
| 369 return results | 369 return results |
| 370 | 370 |
| 371 def GetPreferredTryMasters(project, change): | 371 def GetPreferredTryMasters(project, change): |
| 372 return { | 372 return { |
| 373 'tryserver.blink': { | 373 'tryserver.blink': { |
| 374 'linux_blink_rel': set(['defaulttests']), | 374 'linux_blink_rel': set(['defaulttests']), |
| 375 }, | 375 }, |
| 376 'tryserver.chromium.gpu': { | |
| 377 'linux_gpu': set(['defaulttests']), | |
| 378 'mac_gpu': set(['defaulttests']), | |
| 379 'win_gpu': set(['defaulttests']), | |
| 380 }, | |
| 381 } | 376 } |
| OLD | NEW |