OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 | 5 |
6 """Top-level presubmit script for Skia. | 6 """Top-level presubmit script for Skia. |
7 | 7 |
8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
9 for more details about the presubmit API built into gcl. | 9 for more details about the presubmit API built into gcl. |
10 """ | 10 """ |
(...skipping 18 matching lines...) Expand all Loading... |
29 'reed@google.com', | 29 'reed@google.com', |
30 'bsalomon@chromium.org', | 30 'bsalomon@chromium.org', |
31 'bsalomon@google.com', | 31 'bsalomon@google.com', |
32 'djsollen@chromium.org', | 32 'djsollen@chromium.org', |
33 'djsollen@google.com', | 33 'djsollen@google.com', |
34 ) | 34 ) |
35 | 35 |
36 AUTHORS_FILE_NAME = 'AUTHORS' | 36 AUTHORS_FILE_NAME = 'AUTHORS' |
37 | 37 |
38 DOCS_PREVIEW_URL = 'https://skia.org/?cl=' | 38 DOCS_PREVIEW_URL = 'https://skia.org/?cl=' |
39 GOLD_TRYBOT_URL = ('https://gold.skia.org/search2?unt=true' | 39 GOLD_TRYBOT_URL = 'https://gold.skia.org/search?issue=' |
40 '&query=source_type%3Dgm&master=false&issue=') | |
41 | 40 |
42 # Path to CQ bots feature is described in https://bug.skia.org/4364 | 41 # Path to CQ bots feature is described in https://bug.skia.org/4364 |
43 PATH_PREFIX_TO_EXTRA_TRYBOTS = { | 42 PATH_PREFIX_TO_EXTRA_TRYBOTS = { |
44 # pylint: disable=line-too-long | 43 # pylint: disable=line-too-long |
45 'cmake/': 'client.skia.compile:Build-Mac-Clang-x86_64-Release-CMake-Trybot,B
uild-Ubuntu-GCC-x86_64-Release-CMake-Trybot', | 44 'cmake/': 'client.skia.compile:Build-Mac-Clang-x86_64-Release-CMake-Trybot,B
uild-Ubuntu-GCC-x86_64-Release-CMake-Trybot', |
46 # pylint: disable=line-too-long | 45 # pylint: disable=line-too-long |
47 'src/opts/': 'client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_N
O_SIMD-Trybot', | 46 'src/opts/': 'client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_N
O_SIMD-Trybot', |
48 | 47 |
49 'include/private/SkAtomics.h': ('client.skia:' | 48 'include/private/SkAtomics.h': ('client.skia:' |
50 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN-Trybot,' | 49 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN-Trybot,' |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 state and an error if it is in 'Closed' state. | 516 state and an error if it is in 'Closed' state. |
518 """ | 517 """ |
519 results = [] | 518 results = [] |
520 results.extend(_CommonChecks(input_api, output_api)) | 519 results.extend(_CommonChecks(input_api, output_api)) |
521 results.extend( | 520 results.extend( |
522 _CheckTreeStatus(input_api, output_api, json_url=( | 521 _CheckTreeStatus(input_api, output_api, json_url=( |
523 SKIA_TREE_STATUS_URL + '/banner-status?format=json'))) | 522 SKIA_TREE_STATUS_URL + '/banner-status?format=json'))) |
524 results.extend(_CheckLGTMsForPublicAPI(input_api, output_api)) | 523 results.extend(_CheckLGTMsForPublicAPI(input_api, output_api)) |
525 results.extend(_CheckOwnerIsInAuthorsFile(input_api, output_api)) | 524 results.extend(_CheckOwnerIsInAuthorsFile(input_api, output_api)) |
526 return results | 525 return results |
OLD | NEW |