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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 'OS_OPENBSD', | 333 'OS_OPENBSD', |
334 'OS_POSIX', | 334 'OS_POSIX', |
335 'OS_QNX', | 335 'OS_QNX', |
336 'OS_SOLARIS', | 336 'OS_SOLARIS', |
337 'OS_WIN', | 337 'OS_WIN', |
338 ) | 338 ) |
339 | 339 |
340 | 340 |
341 _ANDROID_SPECIFIC_PYDEPS_FILES = [ | 341 _ANDROID_SPECIFIC_PYDEPS_FILES = [ |
342 'build/android/test_runner.pydeps', | 342 'build/android/test_runner.pydeps', |
343 'build/android/test_wrapper/logdog_wrapper.pydeps', | |
344 'net/tools/testserver/testserver.pydeps', | 343 'net/tools/testserver/testserver.pydeps', |
345 ] | 344 ] |
346 | 345 |
347 | 346 |
348 _GENERIC_PYDEPS_FILES = [ | 347 _GENERIC_PYDEPS_FILES = [ |
349 ] | 348 ] |
350 | 349 |
351 | 350 |
352 _ALL_PYDEPS_FILES = _ANDROID_SPECIFIC_PYDEPS_FILES + _GENERIC_PYDEPS_FILES | 351 _ALL_PYDEPS_FILES = _ANDROID_SPECIFIC_PYDEPS_FILES + _GENERIC_PYDEPS_FILES |
353 | 352 |
(...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2375 output_api, | 2374 output_api, |
2376 json_url='http://chromium-status.appspot.com/current?format=json')) | 2375 json_url='http://chromium-status.appspot.com/current?format=json')) |
2377 | 2376 |
2378 results.extend( | 2377 results.extend( |
2379 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) | 2378 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) |
2380 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2379 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
2381 input_api, output_api)) | 2380 input_api, output_api)) |
2382 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2381 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
2383 input_api, output_api)) | 2382 input_api, output_api)) |
2384 return results | 2383 return results |
OLD | NEW |