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

Side by Side Diff: PRESUBMIT.py

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip Created 3 years, 10 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
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 depot_tools. 8 for more details about the presubmit API built into depot_tools.
9 """ 9 """
10 10
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 'See http://www.chromium.org/Home/chromium-security/education/security-tips- for-ipc') 314 'See http://www.chromium.org/Home/chromium-security/education/security-tips- for-ipc')
315 315
316 316
317 _VALID_OS_MACROS = ( 317 _VALID_OS_MACROS = (
318 # Please keep sorted. 318 # Please keep sorted.
319 'OS_ANDROID', 319 'OS_ANDROID',
320 'OS_BSD', 320 'OS_BSD',
321 'OS_CAT', # For testing. 321 'OS_CAT', # For testing.
322 'OS_CHROMEOS', 322 'OS_CHROMEOS',
323 'OS_FREEBSD', 323 'OS_FREEBSD',
324 'OS_FUCHSIA',
324 'OS_IOS', 325 'OS_IOS',
325 'OS_LINUX', 326 'OS_LINUX',
326 'OS_MACOSX', 327 'OS_MACOSX',
327 'OS_NACL', 328 'OS_NACL',
328 'OS_NACL_NONSFI', 329 'OS_NACL_NONSFI',
329 'OS_NACL_SFI', 330 'OS_NACL_SFI',
330 'OS_NETBSD', 331 'OS_NETBSD',
331 'OS_OPENBSD', 332 'OS_OPENBSD',
332 'OS_POSIX', 333 'OS_POSIX',
333 'OS_QNX', 334 'OS_QNX',
(...skipping 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after
2371 output_api, 2372 output_api,
2372 json_url='http://chromium-status.appspot.com/current?format=json')) 2373 json_url='http://chromium-status.appspot.com/current?format=json'))
2373 2374
2374 results.extend( 2375 results.extend(
2375 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) 2376 input_api.canned_checks.CheckPatchFormatted(input_api, output_api))
2376 results.extend(input_api.canned_checks.CheckChangeHasBugField( 2377 results.extend(input_api.canned_checks.CheckChangeHasBugField(
2377 input_api, output_api)) 2378 input_api, output_api))
2378 results.extend(input_api.canned_checks.CheckChangeHasDescription( 2379 results.extend(input_api.canned_checks.CheckChangeHasDescription(
2379 input_api, output_api)) 2380 input_api, output_api))
2380 return results 2381 return results
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698