| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 results += CheckPassByValue(input_api, output_api) | 319 results += CheckPassByValue(input_api, output_api) |
| 320 results += CheckChangeLintsClean(input_api, output_api) | 320 results += CheckChangeLintsClean(input_api, output_api) |
| 321 results += CheckTodos(input_api, output_api) | 321 results += CheckTodos(input_api, output_api) |
| 322 results += CheckDoubleAngles(input_api, output_api) | 322 results += CheckDoubleAngles(input_api, output_api) |
| 323 results += CheckScopedPtr(input_api, output_api) | 323 results += CheckScopedPtr(input_api, output_api) |
| 324 results += CheckNamespace(input_api, output_api) | 324 results += CheckNamespace(input_api, output_api) |
| 325 results += CheckForUseOfWrongClock(input_api, output_api) | 325 results += CheckForUseOfWrongClock(input_api, output_api) |
| 326 results += FindUselessIfdefs(input_api, output_api) | 326 results += FindUselessIfdefs(input_api, output_api) |
| 327 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) | 327 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
| 328 return results | 328 return results |
| 329 | |
| 330 def GetPreferredTryMasters(project, change): | |
| 331 return { | |
| 332 'tryserver.blink': { | |
| 333 'linux_blink_rel': set(['defaulttests']), | |
| 334 }, | |
| 335 } | |
| OLD | NEW |