| 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 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1184 r"gl_helper_benchmark\.cc$", | 1184 r"gl_helper_benchmark\.cc$", |
| 1185 r"^courgette[\\\/]courgette_minimal_tool\.cc$", | 1185 r"^courgette[\\\/]courgette_minimal_tool\.cc$", |
| 1186 r"^courgette[\\\/]courgette_tool\.cc$", | 1186 r"^courgette[\\\/]courgette_tool\.cc$", |
| 1187 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", | 1187 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", |
| 1188 r"^ipc[\\\/]ipc_logging\.cc$", | 1188 r"^ipc[\\\/]ipc_logging\.cc$", |
| 1189 r"^native_client_sdk[\\\/]", | 1189 r"^native_client_sdk[\\\/]", |
| 1190 r"^remoting[\\\/]base[\\\/]logging\.h$", | 1190 r"^remoting[\\\/]base[\\\/]logging\.h$", |
| 1191 r"^remoting[\\\/]host[\\\/].*", | 1191 r"^remoting[\\\/]host[\\\/].*", |
| 1192 r"^sandbox[\\\/]linux[\\\/].*", | 1192 r"^sandbox[\\\/]linux[\\\/].*", |
| 1193 r"^tools[\\\/]", | 1193 r"^tools[\\\/]", |
| 1194 r"^ui[\\\/]base[\\\/]resource[\\\/]data_pack.cc$", |
| 1194 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$", | 1195 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$", |
| 1195 r"^ui[\\\/]ozone[\\\/]platform[\\\/]cast[\\\/]", | 1196 r"^ui[\\\/]ozone[\\\/]platform[\\\/]cast[\\\/]", |
| 1196 r"^storage[\\\/]browser[\\\/]fileapi[\\\/]" + | 1197 r"^storage[\\\/]browser[\\\/]fileapi[\\\/]" + |
| 1197 r"dump_file_system.cc$", | 1198 r"dump_file_system.cc$", |
| 1198 r"^headless[\\\/]app[\\\/]headless_shell\.cc$")) | 1199 r"^headless[\\\/]app[\\\/]headless_shell\.cc$")) |
| 1199 source_file_filter = lambda x: input_api.FilterSourceFile( | 1200 source_file_filter = lambda x: input_api.FilterSourceFile( |
| 1200 x, white_list=(file_inclusion_pattern,), black_list=black_list) | 1201 x, white_list=(file_inclusion_pattern,), black_list=black_list) |
| 1201 | 1202 |
| 1202 log_info = [] | 1203 log_info = [] |
| 1203 printf = [] | 1204 printf = [] |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2371 output_api, | 2372 output_api, |
| 2372 json_url='http://chromium-status.appspot.com/current?format=json')) | 2373 json_url='http://chromium-status.appspot.com/current?format=json')) |
| 2373 | 2374 |
| 2374 results.extend( | 2375 results.extend( |
| 2375 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) | 2376 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) |
| 2376 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2377 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
| 2377 input_api, output_api)) | 2378 input_api, output_api)) |
| 2378 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2379 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
| 2379 input_api, output_api)) | 2380 input_api, output_api)) |
| 2380 return results | 2381 return results |
| OLD | NEW |