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

Side by Side Diff: third_party/scons/scons-local/SCons/Script/__init__.py

Issue 20025: Update SCons to latest checkpoint release, 1.2.0.d20090113.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
OLDNEW
1 """SCons.Script 1 """SCons.Script
2 2
3 This file implements the main() function used by the scons script. 3 This file implements the main() function used by the scons script.
4 4
5 Architecturally, this *is* the scons script, and will likely only be 5 Architecturally, this *is* the scons script, and will likely only be
6 called from the external "scons" wrapper. Consequently, anything here 6 called from the external "scons" wrapper. Consequently, anything here
7 should not be, or be considered, part of the build engine. If it's 7 should not be, or be considered, part of the build engine. If it's
8 something that we expect other software to want to use, it should go in 8 something that we expect other software to want to use, it should go in
9 some other module. If it's specific to the "scons" script invocation, 9 some other module. If it's specific to the "scons" script invocation,
10 it goes here. 10 it goes here.
11 11
12 """ 12 """
13 13
14 # 14 #
15 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat ion 15 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons F oundation
16 # 16 #
17 # Permission is hereby granted, free of charge, to any person obtaining 17 # Permission is hereby granted, free of charge, to any person obtaining
18 # a copy of this software and associated documentation files (the 18 # a copy of this software and associated documentation files (the
19 # "Software"), to deal in the Software without restriction, including 19 # "Software"), to deal in the Software without restriction, including
20 # without limitation the rights to use, copy, modify, merge, publish, 20 # without limitation the rights to use, copy, modify, merge, publish,
21 # distribute, sublicense, and/or sell copies of the Software, and to 21 # distribute, sublicense, and/or sell copies of the Software, and to
22 # permit persons to whom the Software is furnished to do so, subject to 22 # permit persons to whom the Software is furnished to do so, subject to
23 # the following conditions: 23 # the following conditions:
24 # 24 #
25 # The above copyright notice and this permission notice shall be included 25 # The above copyright notice and this permission notice shall be included
26 # in all copies or substantial portions of the Software. 26 # in all copies or substantial portions of the Software.
27 # 27 #
28 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 28 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
29 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 29 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
30 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 30 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 31 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
32 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 32 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
33 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 33 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
34 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 34 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 # 35 #
36 36
37 __revision__ = "src/engine/SCons/Script/__init__.py 3842 2008/12/20 22:59:52 sco ns" 37 __revision__ = "src/engine/SCons/Script/__init__.py 3897 2009/01/13 06:45:54 sco ns"
38 38
39 import time 39 import time
40 start_time = time.time() 40 start_time = time.time()
41 41
42 import os 42 import os
43 import string 43 import string
44 import sys 44 import sys
45 import UserList 45 import UserList
46 46
47 # Special chicken-and-egg handling of the "--debug=memoizer" flag: 47 # Special chicken-and-egg handling of the "--debug=memoizer" flag:
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 # proxy that doesn't. 399 # proxy that doesn't.
400 # 400 #
401 # There's a flaw here, though, because any other $-variables on a command 401 # There's a flaw here, though, because any other $-variables on a command
402 # line will *also* be expanded, each to a null string, but that should 402 # line will *also* be expanded, each to a null string, but that should
403 # only be a problem in the unusual case where someone was passing a '$' 403 # only be a problem in the unusual case where someone was passing a '$'
404 # on a command line and *expected* the $ to get through to the shell 404 # on a command line and *expected* the $ to get through to the shell
405 # because they were calling Command() and not env.Command()... This is 405 # because they were calling Command() and not env.Command()... This is
406 # unlikely enough that we're going to leave this as is and cross that 406 # unlikely enough that we're going to leave this as is and cross that
407 # bridge if someone actually comes to it. 407 # bridge if someone actually comes to it.
408 Command = _SConscript.DefaultEnvironmentCall('Command', subst=1) 408 Command = _SConscript.DefaultEnvironmentCall('Command', subst=1)
OLDNEW
« no previous file with comments | « third_party/scons/scons-local/SCons/Script/SConscript.py ('k') | third_party/scons/scons-local/SCons/Sig.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698