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

Side by Side Diff: build/SConscript.main

Issue 2940: Suppress warnings in the new SCons version about an obscure... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 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 import os 5 import os
6 import shutil 6 import shutil
7 import sys 7 import sys
8 8
9 9
10 p = ARGUMENTS.get('PROGRESS') 10 p = ARGUMENTS.get('PROGRESS')
11 if p == 'spinner': 11 if p == 'spinner':
12 Progress(['/\r', '|\r', '\\\r', '-\r'], interval=5, file=open('con', 'w')) 12 Progress(['/\r', '|\r', '\\\r', '-\r'], interval=5, file=open('con', 'w'))
13 elif p == 'name': 13 elif p == 'name':
14 Progress('$TARGET\r', overwrite=True, file=open('con', 'w')) 14 Progress('$TARGET\r', overwrite=True, file=open('con', 'w'))
15 15
16 16
17 SetOption('warn', ['no-missing-sconscript'] + GetOption('warn')) 17 default_warnings = ['no-missing-sconscript', 'no-no-parallel-support']
18 SetOption('warn', default_warnings + GetOption('warn'))
18 19
19 20
20 load = ARGUMENTS.get('LOAD') 21 load = ARGUMENTS.get('LOAD')
21 if load: 22 if load:
22 load = load.split(',') 23 load = load.split(',')
23 else: 24 else:
24 load = [] 25 load = []
25 26
26 27
27 env = Environment( 28 env = Environment(
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 initial_indent = ' '*32, 539 initial_indent = ' '*32,
539 subsequent_indent = ' '*32, 540 subsequent_indent = ' '*32,
540 ) 541 )
541 components = tw.fill(', '.join(components)) 542 components = tw.fill(', '.join(components))
542 543
543 Help(help_fmt % components) 544 Help(help_fmt % components)
544 545
545 546
546 Import('build_component') 547 Import('build_component')
547 Default(build_component) 548 Default(build_component)
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