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

Side by Side Diff: PRESUBMIT.py

Issue 1310773006: Update sandbox/linux from upstream (Closed) Base URL: ssh://ssh.github.com/domokit/mojo.git@master
Patch Set: Update to 3909ebfa69566f7374a6900e63cd4d3c73a35378 Created 5 years, 4 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 | sandbox/linux/BUILD.gn » ('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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 'OS_ANDROID', 158 'OS_ANDROID',
159 'OS_ANDROID_HOST', 159 'OS_ANDROID_HOST',
160 'OS_BSD', 160 'OS_BSD',
161 'OS_CAT', # For testing. 161 'OS_CAT', # For testing.
162 'OS_CHROMEOS', 162 'OS_CHROMEOS',
163 'OS_FREEBSD', 163 'OS_FREEBSD',
164 'OS_IOS', 164 'OS_IOS',
165 'OS_LINUX', 165 'OS_LINUX',
166 'OS_MACOSX', 166 'OS_MACOSX',
167 'OS_NACL', 167 'OS_NACL',
168 'OS_NACL_NONSFI',
168 'OS_OPENBSD', 169 'OS_OPENBSD',
169 'OS_POSIX', 170 'OS_POSIX',
170 'OS_QNX', 171 'OS_QNX',
171 'OS_SOLARIS', 172 'OS_SOLARIS',
172 'OS_WIN', 173 'OS_WIN',
173 ) 174 )
174 175
175 176
176 def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api): 177 def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api):
177 """Attempts to prevent use of functions intended only for testing in 178 """Attempts to prevent use of functions intended only for testing in
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 'Mojo Linux ASan Try', 1126 'Mojo Linux ASan Try',
1126 'Mojo Linux Try', 1127 'Mojo Linux Try',
1127 ] 1128 ]
1128 1129
1129 return GetDefaultTryConfigs(builders) 1130 return GetDefaultTryConfigs(builders)
1130 1131
1131 def PostUploadHook(cl, change, output_api): 1132 def PostUploadHook(cl, change, output_api):
1132 import subprocess 1133 import subprocess
1133 subprocess.check_call(["git", "cl", "try"]) 1134 subprocess.check_call(["git", "cl", "try"])
1134 return [] 1135 return []
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698