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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 r"^content[\\\/]shell[\\\/]browser[\\\/]layout_test[\\\/]" + | 180 r"^content[\\\/]shell[\\\/]browser[\\\/]layout_test[\\\/]" + |
181 r"test_info_extractor\.cc$", | 181 r"test_info_extractor\.cc$", |
182 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", | 182 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", |
183 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", | 183 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", |
184 r"^mojo[\\\/]edk[\\\/]embedder[\\\/]" + | 184 r"^mojo[\\\/]edk[\\\/]embedder[\\\/]" + |
185 r"simple_platform_shared_buffer_posix\.cc$", | 185 r"simple_platform_shared_buffer_posix\.cc$", |
186 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$", | 186 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$", |
187 r"^net[\\\/]url_request[\\\/]test_url_fetcher_factory\.cc$", | 187 r"^net[\\\/]url_request[\\\/]test_url_fetcher_factory\.cc$", |
188 r"^remoting[\\\/]host[\\\/]security_key[\\\/]" | 188 r"^remoting[\\\/]host[\\\/]security_key[\\\/]" |
189 "gnubby_auth_handler_linux\.cc$", | 189 "gnubby_auth_handler_linux\.cc$", |
| 190 r"^ui[\\\/]ozone[\\\/]platform[\\\/]drm[\\\/]host[\\\/]" |
| 191 "drm_display_host_manager\.cc$", |
190 r"^ui[\\\/]base[\\\/]material_design[\\\/]" | 192 r"^ui[\\\/]base[\\\/]material_design[\\\/]" |
191 "material_design_controller\.cc$", | 193 "material_design_controller\.cc$", |
192 r"^ui[\\\/]gl[\\\/]init[\\\/]gl_initializer_mac\.cc$", | |
193 r"^ui[\\\/]gl[\\\/]init[\\\/]gl_initializer_win\.cc$", | |
194 r"^ui[\\\/]gl[\\\/]init[\\\/]gl_initializer_x11\.cc$", | |
195 r"^ui[\\\/]ozone[\\\/]platform[\\\/]drm[\\\/]host[\\\/]" | |
196 "drm_display_host_manager\.cc$", | |
197 ), | 194 ), |
198 ), | 195 ), |
199 ( | 196 ( |
200 'setMatrixClip', | 197 'setMatrixClip', |
201 ( | 198 ( |
202 'Overriding setMatrixClip() is prohibited; ', | 199 'Overriding setMatrixClip() is prohibited; ', |
203 'the base function is deprecated. ', | 200 'the base function is deprecated. ', |
204 ), | 201 ), |
205 True, | 202 True, |
206 (), | 203 (), |
(...skipping 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 results.extend(input_api.canned_checks.CheckTreeIsOpen( | 2223 results.extend(input_api.canned_checks.CheckTreeIsOpen( |
2227 input_api, | 2224 input_api, |
2228 output_api, | 2225 output_api, |
2229 json_url='http://chromium-status.appspot.com/current?format=json')) | 2226 json_url='http://chromium-status.appspot.com/current?format=json')) |
2230 | 2227 |
2231 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2228 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
2232 input_api, output_api)) | 2229 input_api, output_api)) |
2233 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2230 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
2234 input_api, output_api)) | 2231 input_api, output_api)) |
2235 return results | 2232 return results |
OLD | NEW |