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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1124 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", | 1124 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", |
1125 r"^chromecast[\\\/]", | 1125 r"^chromecast[\\\/]", |
1126 r"^cloud_print[\\\/]", | 1126 r"^cloud_print[\\\/]", |
1127 r"^components[\\\/]html_viewer[\\\/]" | 1127 r"^components[\\\/]html_viewer[\\\/]" |
1128 r"web_test_delegate_impl\.cc$", | 1128 r"web_test_delegate_impl\.cc$", |
1129 # TODO(peter): Remove this exception. https://crbug.com/534537 | 1129 # TODO(peter): Remove this exception. https://crbug.com/534537 |
1130 r"^content[\\\/]browser[\\\/]notifications[\\\/]" | 1130 r"^content[\\\/]browser[\\\/]notifications[\\\/]" |
1131 r"notification_event_dispatcher_impl\.cc$", | 1131 r"notification_event_dispatcher_impl\.cc$", |
1132 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" | 1132 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" |
1133 r"gl_helper_benchmark\.cc$", | 1133 r"gl_helper_benchmark\.cc$", |
| 1134 r"^courgette[\\\/]courgette_minimal_tool\.cc$", |
1134 r"^courgette[\\\/]courgette_tool\.cc$", | 1135 r"^courgette[\\\/]courgette_tool\.cc$", |
1135 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", | 1136 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", |
1136 r"^ipc[\\\/]ipc_logging\.cc$", | 1137 r"^ipc[\\\/]ipc_logging\.cc$", |
1137 r"^native_client_sdk[\\\/]", | 1138 r"^native_client_sdk[\\\/]", |
1138 r"^remoting[\\\/]base[\\\/]logging\.h$", | 1139 r"^remoting[\\\/]base[\\\/]logging\.h$", |
1139 r"^remoting[\\\/]host[\\\/].*", | 1140 r"^remoting[\\\/]host[\\\/].*", |
1140 r"^sandbox[\\\/]linux[\\\/].*", | 1141 r"^sandbox[\\\/]linux[\\\/].*", |
1141 r"^tools[\\\/]", | 1142 r"^tools[\\\/]", |
1142 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$", | 1143 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$", |
1143 r"^ui[\\\/]ozone[\\\/]platform[\\\/]cast[\\\/]", | 1144 r"^ui[\\\/]ozone[\\\/]platform[\\\/]cast[\\\/]", |
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2125 results.extend(input_api.canned_checks.CheckTreeIsOpen( | 2126 results.extend(input_api.canned_checks.CheckTreeIsOpen( |
2126 input_api, | 2127 input_api, |
2127 output_api, | 2128 output_api, |
2128 json_url='http://chromium-status.appspot.com/current?format=json')) | 2129 json_url='http://chromium-status.appspot.com/current?format=json')) |
2129 | 2130 |
2130 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2131 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
2131 input_api, output_api)) | 2132 input_api, output_api)) |
2132 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2133 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
2133 input_api, output_api)) | 2134 input_api, output_api)) |
2134 return results | 2135 return results |
OLD | NEW |