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 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", | 1037 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", |
1038 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", | 1038 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", |
1039 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" | 1039 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" |
1040 r"startup_browser_creator\.cc$", | 1040 r"startup_browser_creator\.cc$", |
1041 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", | 1041 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", |
1042 r"chrome[\\\/]browser[\\\/]diagnostics[\\\/]" + | 1042 r"chrome[\\\/]browser[\\\/]diagnostics[\\\/]" + |
1043 r"diagnostics_writer\.cc$", | 1043 r"diagnostics_writer\.cc$", |
1044 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", | 1044 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", |
1045 r"^chromecast[\\\/]", | 1045 r"^chromecast[\\\/]", |
1046 r"^cloud_print[\\\/]", | 1046 r"^cloud_print[\\\/]", |
| 1047 r"^components[\\\/]html_viewer[\\\/]" |
| 1048 r"web_test_delegate_impl\.cc$", |
1047 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" | 1049 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" |
1048 r"gl_helper_benchmark\.cc$", | 1050 r"gl_helper_benchmark\.cc$", |
1049 r"^courgette[\\\/]courgette_tool\.cc$", | 1051 r"^courgette[\\\/]courgette_tool\.cc$", |
1050 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", | 1052 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", |
1051 r"^ipc[\\\/]ipc_logging\.cc$", | 1053 r"^ipc[\\\/]ipc_logging\.cc$", |
1052 r"^native_client_sdk[\\\/]", | 1054 r"^native_client_sdk[\\\/]", |
1053 r"^remoting[\\\/]base[\\\/]logging\.h$", | 1055 r"^remoting[\\\/]base[\\\/]logging\.h$", |
1054 r"^remoting[\\\/]host[\\\/].*", | 1056 r"^remoting[\\\/]host[\\\/].*", |
1055 r"^sandbox[\\\/]linux[\\\/].*", | 1057 r"^sandbox[\\\/]linux[\\\/].*", |
1056 r"^tools[\\\/]", | 1058 r"^tools[\\\/]", |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1879 for master in masters: | 1881 for master in masters: |
1880 try_config.setdefault(master, {}) | 1882 try_config.setdefault(master, {}) |
1881 for builder in masters[master]: | 1883 for builder in masters[master]: |
1882 # Do not trigger presubmit builders, since they're likely to fail | 1884 # Do not trigger presubmit builders, since they're likely to fail |
1883 # (e.g. OWNERS checks before finished code review), and we're | 1885 # (e.g. OWNERS checks before finished code review), and we're |
1884 # running local presubmit anyway. | 1886 # running local presubmit anyway. |
1885 if 'presubmit' not in builder: | 1887 if 'presubmit' not in builder: |
1886 try_config[master][builder] = ['defaulttests'] | 1888 try_config[master][builder] = ['defaulttests'] |
1887 | 1889 |
1888 return try_config | 1890 return try_config |
OLD | NEW |