| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 Chromium. | 5 """Top-level presubmit script for Chromium. |
| 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 gcl. | 8 for more details about the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 _EXCLUDED_PATHS = ( | 11 _EXCLUDED_PATHS = ( |
| 12 r"breakpad[\\\/].*", | 12 r"breakpad[\\\/].*", |
| 13 r"net/tools/spdyshark/[\\\/].*", |
| 13 r"skia[\\\/].*", | 14 r"skia[\\\/].*", |
| 14 r"v8[\\\/].*", | 15 r"v8[\\\/].*", |
| 15 ) | 16 ) |
| 16 | 17 |
| 17 _TEXT_FILES = ( | 18 _TEXT_FILES = ( |
| 18 r".*\.txt", | 19 r".*\.txt", |
| 19 r".*\.json", | 20 r".*\.json", |
| 20 ) | 21 ) |
| 21 | 22 |
| 22 _LICENSE_HEADER = ( | 23 _LICENSE_HEADER = ( |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 input_api, | 106 input_api, |
| 106 output_api, | 107 output_api, |
| 107 'http://build.chromium.org/buildbot/waterfall/json/builders?filter=1', | 108 'http://build.chromium.org/buildbot/waterfall/json/builders?filter=1', |
| 108 6, | 109 6, |
| 109 IGNORED_BUILDERS)) | 110 IGNORED_BUILDERS)) |
| 110 return results | 111 return results |
| 111 | 112 |
| 112 | 113 |
| 113 def GetPreferredTrySlaves(): | 114 def GetPreferredTrySlaves(): |
| 114 return ['win', 'linux', 'mac'] | 115 return ['win', 'linux', 'mac'] |
| OLD | NEW |