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

Side by Side Diff: PRESUBMIT.py

Issue 546193002: Add an 'Idle Wake Ups' metric to the Linux task manager, implement backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wakeclean
Patch Set: rebase Created 6 years, 3 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 | base/process/process_metrics.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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 (), 160 (),
161 ), 161 ),
162 ( 162 (
163 'ScopedAllowIO', 163 'ScopedAllowIO',
164 ( 164 (
165 'New code should not use ScopedAllowIO. Post a task to the blocking', 165 'New code should not use ScopedAllowIO. Post a task to the blocking',
166 'pool or the FILE thread instead.', 166 'pool or the FILE thread instead.',
167 ), 167 ),
168 True, 168 True,
169 ( 169 (
170 r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$",
170 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_loader\.cc$", 171 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_loader\.cc$",
171 r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", 172 r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$",
172 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", 173 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$",
173 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", 174 r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$",
174 r"^mojo[\\\/]system[\\\/]raw_shared_buffer_posix\.cc$", 175 r"^mojo[\\\/]system[\\\/]raw_shared_buffer_posix\.cc$",
175 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$", 176 r"^net[\\\/]disk_cache[\\\/]cache_util\.cc$",
176 r"^net[\\\/]url_request[\\\/]test_url_fetcher_factory\.cc$", 177 r"^net[\\\/]url_request[\\\/]test_url_fetcher_factory\.cc$",
177 ), 178 ),
178 ), 179 ),
179 ( 180 (
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 builders.extend(['cros_x86']) 1588 builders.extend(['cros_x86'])
1588 1589
1589 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it 1590 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it
1590 # unless they're .gyp(i) files as changes to those files can break the gyp 1591 # unless they're .gyp(i) files as changes to those files can break the gyp
1591 # step on that bot. 1592 # step on that bot.
1592 if (not all(re.search('^chrome', f) for f in files) or 1593 if (not all(re.search('^chrome', f) for f in files) or
1593 any(re.search('\.gypi?$', f) for f in files)): 1594 any(re.search('\.gypi?$', f) for f in files)):
1594 builders.extend(['android_aosp']) 1595 builders.extend(['android_aosp'])
1595 1596
1596 return GetDefaultTryConfigs(builders) 1597 return GetDefaultTryConfigs(builders)
OLDNEW
« no previous file with comments | « no previous file | base/process/process_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698