| 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 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 depot_tools. | 8 for more details about the presubmit API built into depot_tools. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 'OS_BSD', | 299 'OS_BSD', |
| 300 'OS_CAT', # For testing. | 300 'OS_CAT', # For testing. |
| 301 'OS_CHROMEOS', | 301 'OS_CHROMEOS', |
| 302 'OS_FREEBSD', | 302 'OS_FREEBSD', |
| 303 'OS_IOS', | 303 'OS_IOS', |
| 304 'OS_LINUX', | 304 'OS_LINUX', |
| 305 'OS_MACOSX', | 305 'OS_MACOSX', |
| 306 'OS_NACL', | 306 'OS_NACL', |
| 307 'OS_NACL_NONSFI', | 307 'OS_NACL_NONSFI', |
| 308 'OS_NACL_SFI', | 308 'OS_NACL_SFI', |
| 309 'OS_NETBSD', |
| 309 'OS_OPENBSD', | 310 'OS_OPENBSD', |
| 310 'OS_POSIX', | 311 'OS_POSIX', |
| 311 'OS_QNX', | 312 'OS_QNX', |
| 312 'OS_SOLARIS', | 313 'OS_SOLARIS', |
| 313 'OS_WIN', | 314 'OS_WIN', |
| 314 ) | 315 ) |
| 315 | 316 |
| 316 | 317 |
| 317 _ANDROID_SPECIFIC_PYDEPS_FILES = [ | 318 _ANDROID_SPECIFIC_PYDEPS_FILES = [ |
| 318 'build/android/test_runner.pydeps', | 319 'build/android/test_runner.pydeps', |
| (...skipping 1901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2220 results.extend(input_api.canned_checks.CheckTreeIsOpen( | 2221 results.extend(input_api.canned_checks.CheckTreeIsOpen( |
| 2221 input_api, | 2222 input_api, |
| 2222 output_api, | 2223 output_api, |
| 2223 json_url='http://chromium-status.appspot.com/current?format=json')) | 2224 json_url='http://chromium-status.appspot.com/current?format=json')) |
| 2224 | 2225 |
| 2225 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2226 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
| 2226 input_api, output_api)) | 2227 input_api, output_api)) |
| 2227 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2228 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
| 2228 input_api, output_api)) | 2229 input_api, output_api)) |
| 2229 return results | 2230 return results |
| OLD | NEW |