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