Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: PRESUBMIT.py

Issue 12794003: Initialize the simple cache backend at runtime. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased to latest, auto-merged net.gyp Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/disk_cache/backend_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 gcl. 8 for more details about the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 ), 152 ),
153 ( 153 (
154 'ScopedAllowIO', 154 'ScopedAllowIO',
155 ( 155 (
156 'New code should not use ScopedAllowIO. Post a task to the blocking', 156 'New code should not use ScopedAllowIO. Post a task to the blocking',
157 'pool or the FILE thread instead.', 157 'pool or the FILE thread instead.',
158 ), 158 ),
159 True, 159 True,
160 ( 160 (
161 r"^content[\\\/]shell[\\\/]shell_browser_main\.cc$", 161 r"^content[\\\/]shell[\\\/]shell_browser_main\.cc$",
162 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$",
162 ), 163 ),
163 ), 164 ),
164 ) 165 )
165 166
166 167
167 _VALID_OS_MACROS = ( 168 _VALID_OS_MACROS = (
168 # Please keep sorted. 169 # Please keep sorted.
169 'OS_ANDROID', 170 'OS_ANDROID',
170 'OS_BSD', 171 'OS_BSD',
171 'OS_CAT', # For testing. 172 'OS_CAT', # For testing.
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 'win_rel', 940 'win_rel',
940 'win:compile', 941 'win:compile',
941 ] 942 ]
942 943
943 # Match things like path/aura/file.cc and path/file_aura.cc. 944 # Match things like path/aura/file.cc and path/file_aura.cc.
944 # Same for chromeos. 945 # Same for chromeos.
945 if any(re.search('[/_](aura|chromeos)', f) for f in files): 946 if any(re.search('[/_](aura|chromeos)', f) for f in files):
946 trybots += ['linux_chromeos_clang:compile', 'linux_chromeos_asan'] 947 trybots += ['linux_chromeos_clang:compile', 'linux_chromeos_asan']
947 948
948 return trybots 949 return trybots
OLDNEW
« no previous file with comments | « no previous file | net/disk_cache/backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698