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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 ( | 160 ( |
161 'New code should not use ScopedAllowIO. Post a task to the blocking', | 161 'New code should not use ScopedAllowIO. Post a task to the blocking', |
162 'pool or the FILE thread instead.', | 162 'pool or the FILE thread instead.', |
163 ), | 163 ), |
164 True, | 164 True, |
165 ( | 165 ( |
166 r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", | 166 r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", |
167 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$", | 167 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$", |
168 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]" | 168 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]" |
169 "customization_document_browsertest\.cc$", | 169 "customization_document_browsertest\.cc$", |
| 170 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" |
| 171 "startup_browser_creator_impl\.cc$", |
170 r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", | 172 r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", |
171 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", | 173 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", |
172 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", | 174 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", |
173 r"^mojo[\\\/]edk[\\\/]embedder[\\\/]" + | 175 r"^mojo[\\\/]edk[\\\/]embedder[\\\/]" + |
174 r"simple_platform_shared_buffer_posix\.cc$", | 176 r"simple_platform_shared_buffer_posix\.cc$", |
175 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$", | 177 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$", |
176 r"^net[\\\/]url_request[\\\/]test_url_fetcher_factory\.cc$", | 178 r"^net[\\\/]url_request[\\\/]test_url_fetcher_factory\.cc$", |
177 r"^ui[\\\/]ozone[\\\/]platform[\\\/]drm[\\\/]host[\\\/]" | 179 r"^ui[\\\/]ozone[\\\/]platform[\\\/]drm[\\\/]host[\\\/]" |
178 "drm_display_host_manager\.cc$", | 180 "drm_display_host_manager\.cc$", |
179 ), | 181 ), |
(...skipping 1699 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 |