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 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1259 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", | 1259 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", |
1260 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", | 1260 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", |
1261 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" | 1261 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" |
1262 r"startup_browser_creator\.cc$", | 1262 r"startup_browser_creator\.cc$", |
1263 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", | 1263 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", |
1264 r"chrome[\\\/]browser[\\\/]diagnostics[\\\/]" + | 1264 r"chrome[\\\/]browser[\\\/]diagnostics[\\\/]" + |
1265 r"diagnostics_writer\.cc$", | 1265 r"diagnostics_writer\.cc$", |
1266 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", | 1266 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", |
1267 r"^chromecast[\\\/]", | 1267 r"^chromecast[\\\/]", |
1268 r"^cloud_print[\\\/]", | 1268 r"^cloud_print[\\\/]", |
| 1269 r"^components[\\\/]browser_watcher[\\\/]" |
| 1270 r"dump_stability_report_main_win.cc$", |
1269 r"^components[\\\/]html_viewer[\\\/]" | 1271 r"^components[\\\/]html_viewer[\\\/]" |
1270 r"web_test_delegate_impl\.cc$", | 1272 r"web_test_delegate_impl\.cc$", |
1271 # TODO(peter): Remove this exception. https://crbug.com/534537 | 1273 # TODO(peter): Remove this exception. https://crbug.com/534537 |
1272 r"^content[\\\/]browser[\\\/]notifications[\\\/]" | 1274 r"^content[\\\/]browser[\\\/]notifications[\\\/]" |
1273 r"notification_event_dispatcher_impl\.cc$", | 1275 r"notification_event_dispatcher_impl\.cc$", |
1274 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" | 1276 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" |
1275 r"gl_helper_benchmark\.cc$", | 1277 r"gl_helper_benchmark\.cc$", |
1276 r"^courgette[\\\/]courgette_minimal_tool\.cc$", | 1278 r"^courgette[\\\/]courgette_minimal_tool\.cc$", |
1277 r"^courgette[\\\/]courgette_tool\.cc$", | 1279 r"^courgette[\\\/]courgette_tool\.cc$", |
1278 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", | 1280 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", |
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2464 output_api, | 2466 output_api, |
2465 json_url='http://chromium-status.appspot.com/current?format=json')) | 2467 json_url='http://chromium-status.appspot.com/current?format=json')) |
2466 | 2468 |
2467 results.extend( | 2469 results.extend( |
2468 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) | 2470 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) |
2469 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2471 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
2470 input_api, output_api)) | 2472 input_api, output_api)) |
2471 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2473 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
2472 input_api, output_api)) | 2474 input_api, output_api)) |
2473 return results | 2475 return results |
OLD | NEW |