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

Side by Side Diff: PRESUBMIT.py

Issue 10918252: Disable presubmit script on webkit/compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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
11 11
12 import re 12 import re
13 import subprocess 13 import subprocess
14 import sys 14 import sys
15 15
16 16
17 _EXCLUDED_PATHS = ( 17 _EXCLUDED_PATHS = (
18 r"^breakpad[\\\/].*", 18 r"^breakpad[\\\/].*",
19 r"^native_client_sdk[\\\/].*", 19 r"^native_client_sdk[\\\/].*",
20 r"^net[\\\/]tools[\\\/]spdyshark[\\\/].*", 20 r"^net[\\\/]tools[\\\/]spdyshark[\\\/].*",
21 r"^skia[\\\/].*", 21 r"^skia[\\\/].*",
22 r"^v8[\\\/].*", 22 r"^v8[\\\/].*",
23 r".*MakeFile$", 23 r".*MakeFile$",
24 r".+_autogen\.h$", 24 r".+_autogen\.h$",
25 r"^cc[\\\/].*", 25 r"^cc[\\\/].*",
26 r"^webkit[\\\/]compositor_bindings[\\\/].*",
26 r".+[\\\/]pnacl_shim\.c$", 27 r".+[\\\/]pnacl_shim\.c$",
27 ) 28 )
28 29
29 30
30 _TEST_ONLY_WARNING = ( 31 _TEST_ONLY_WARNING = (
31 'You might be calling functions intended only for testing from\n' 32 'You might be calling functions intended only for testing from\n'
32 'production code. It is OK to ignore this warning if you know what\n' 33 'production code. It is OK to ignore this warning if you know what\n'
33 'you are doing, as the heuristics used to detect the situation are\n' 34 'you are doing, as the heuristics used to detect the situation are\n'
34 'not perfect. The commit queue will not block on this warning.\n' 35 'not perfect. The commit queue will not block on this warning.\n'
35 'Email joi@chromium.org if you have questions.') 36 'Email joi@chromium.org if you have questions.')
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 # Same for ash and chromeos. 595 # Same for ash and chromeos.
595 if any(re.search('[/_](ash|aura)', f) for f in files): 596 if any(re.search('[/_](ash|aura)', f) for f in files):
596 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura', 597 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura',
597 'linux_chromeos_asan'] 598 'linux_chromeos_asan']
598 else: 599 else:
599 if any(re.search('[/_]chromeos', f) for f in files): 600 if any(re.search('[/_]chromeos', f) for f in files):
600 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 601 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile',
601 'linux_chromeos_asan'] 602 'linux_chromeos_asan']
602 603
603 return trybots 604 return trybots
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698