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

Side by Side Diff: third_party/scons/scons-local/SCons/Script/SConscript.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.SConscript 1 """SCons.Script.SConscript
2 2
3 This module defines the Python API provided to SConscript and SConstruct 3 This module defines the Python API provided to SConscript and SConstruct
4 files. 4 files.
5 5
6 """ 6 """
7 7
8 # 8 #
9 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat ion 9 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons F oundation
10 # 10 #
11 # Permission is hereby granted, free of charge, to any person obtaining 11 # Permission is hereby granted, free of charge, to any person obtaining
12 # a copy of this software and associated documentation files (the 12 # a copy of this software and associated documentation files (the
13 # "Software"), to deal in the Software without restriction, including 13 # "Software"), to deal in the Software without restriction, including
14 # without limitation the rights to use, copy, modify, merge, publish, 14 # without limitation the rights to use, copy, modify, merge, publish,
15 # distribute, sublicense, and/or sell copies of the Software, and to 15 # distribute, sublicense, and/or sell copies of the Software, and to
16 # permit persons to whom the Software is furnished to do so, subject to 16 # permit persons to whom the Software is furnished to do so, subject to
17 # the following conditions: 17 # the following conditions:
18 # 18 #
19 # The above copyright notice and this permission notice shall be included 19 # The above copyright notice and this permission notice shall be included
20 # in all copies or substantial portions of the Software. 20 # in all copies or substantial portions of the Software.
21 # 21 #
22 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 22 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
23 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 23 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 24 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 25 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 26 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 27 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 28 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 # 29 #
30 30
31 __revision__ = "src/engine/SCons/Script/SConscript.py 3842 2008/12/20 22:59:52 s cons" 31 __revision__ = "src/engine/SCons/Script/SConscript.py 3897 2009/01/13 06:45:54 s cons"
32 32
33 import SCons 33 import SCons
34 import SCons.Action 34 import SCons.Action
35 import SCons.Builder 35 import SCons.Builder
36 import SCons.Defaults 36 import SCons.Defaults
37 import SCons.Environment 37 import SCons.Environment
38 import SCons.Errors 38 import SCons.Errors
39 import SCons.Node 39 import SCons.Node
40 import SCons.Node.Alias 40 import SCons.Node.Alias
41 import SCons.Node.FS 41 import SCons.Node.FS
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 GlobalDict = {} 623 GlobalDict = {}
624 624
625 import SCons.Script 625 import SCons.Script
626 d = SCons.Script.__dict__ 626 d = SCons.Script.__dict__
627 def not_a_module(m, d=d, mtype=type(SCons.Script)): 627 def not_a_module(m, d=d, mtype=type(SCons.Script)):
628 return type(d[m]) != mtype 628 return type(d[m]) != mtype
629 for m in filter(not_a_module, dir(SCons.Script)): 629 for m in filter(not_a_module, dir(SCons.Script)):
630 GlobalDict[m] = d[m] 630 GlobalDict[m] = d[m]
631 631
632 return GlobalDict.copy() 632 return GlobalDict.copy()
OLDNEW
« no previous file with comments | « third_party/scons/scons-local/SCons/Script/SConsOptions.py ('k') | third_party/scons/scons-local/SCons/Script/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698