| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 'OS_POSIX', | 346 'OS_POSIX', |
| 347 'OS_QNX', | 347 'OS_QNX', |
| 348 'OS_SOLARIS', | 348 'OS_SOLARIS', |
| 349 'OS_WIN', | 349 'OS_WIN', |
| 350 ) | 350 ) |
| 351 | 351 |
| 352 | 352 |
| 353 _ANDROID_SPECIFIC_PYDEPS_FILES = [ | 353 _ANDROID_SPECIFIC_PYDEPS_FILES = [ |
| 354 'build/android/test_runner.pydeps', | 354 'build/android/test_runner.pydeps', |
| 355 'build/android/test_wrapper/logdog_wrapper.pydeps', | 355 'build/android/test_wrapper/logdog_wrapper.pydeps', |
| 356 'build/secondary/third_party/android_platform/' |
| 357 'development/scripts/stack.pydeps', |
| 356 'net/tools/testserver/testserver.pydeps', | 358 'net/tools/testserver/testserver.pydeps', |
| 357 ] | 359 ] |
| 358 | 360 |
| 359 | 361 |
| 360 _GENERIC_PYDEPS_FILES = [ | 362 _GENERIC_PYDEPS_FILES = [ |
| 361 ] | 363 ] |
| 362 | 364 |
| 363 | 365 |
| 364 _ALL_PYDEPS_FILES = _ANDROID_SPECIFIC_PYDEPS_FILES + _GENERIC_PYDEPS_FILES | 366 _ALL_PYDEPS_FILES = _ANDROID_SPECIFIC_PYDEPS_FILES + _GENERIC_PYDEPS_FILES |
| 365 | 367 |
| (...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2452 output_api, | 2454 output_api, |
| 2453 json_url='http://chromium-status.appspot.com/current?format=json')) | 2455 json_url='http://chromium-status.appspot.com/current?format=json')) |
| 2454 | 2456 |
| 2455 results.extend( | 2457 results.extend( |
| 2456 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) | 2458 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) |
| 2457 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2459 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
| 2458 input_api, output_api)) | 2460 input_api, output_api)) |
| 2459 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2461 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
| 2460 input_api, output_api)) | 2462 input_api, output_api)) |
| 2461 return results | 2463 return results |
| OLD | NEW |