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

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

Issue 17024: Update to SCons 1.2.0. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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.Platform 1 """SCons.Platform
2 2
3 SCons platform selection. 3 SCons platform selection.
4 4
5 This looks for modules that define a callable object that can modify a 5 This looks for modules that define a callable object that can modify a
6 construction environment as appropriate for a given platform. 6 construction environment as appropriate for a given platform.
7 7
8 Note that we take a more simplistic view of "platform" than Python does. 8 Note that we take a more simplistic view of "platform" than Python does.
9 We're looking for a single string that determines a set of 9 We're looking for a single string that determines a set of
10 tool-independent variables with which to initialize a construction 10 tool-independent variables with which to initialize a construction
(...skipping 24 matching lines...) Expand all
35 # 35 #
36 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 36 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
37 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 37 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
38 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 38 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 39 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
40 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 40 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
41 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 41 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
42 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 42 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43 # 43 #
44 44
45 __revision__ = "src/engine/SCons/Platform/__init__.py 3603 2008/10/10 05:46:45 s cons" 45 __revision__ = "src/engine/SCons/Platform/__init__.py 3842 2008/12/20 22:59:52 s cons"
46 46
47 import imp 47 import imp
48 import os 48 import os
49 import string 49 import string
50 import sys 50 import sys
51 import tempfile 51 import tempfile
52 52
53 import SCons.Errors 53 import SCons.Errors
54 import SCons.Tool 54 import SCons.Tool
55 55
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 str(cmd[0]) + " " + string.join(args," ")) 207 str(cmd[0]) + " " + string.join(args," "))
208 return [ cmd[0], prefix + native_tmp + '\n' + rm, native_tmp ] 208 return [ cmd[0], prefix + native_tmp + '\n' + rm, native_tmp ]
209 209
210 def Platform(name = platform_default()): 210 def Platform(name = platform_default()):
211 """Select a canned Platform specification. 211 """Select a canned Platform specification.
212 """ 212 """
213 module = platform_module(name) 213 module = platform_module(name)
214 spec = PlatformSpec(name) 214 spec = PlatformSpec(name)
215 spec.__call__ = module.generate 215 spec.__call__ = module.generate
216 return spec 216 return spec
OLDNEW
« no previous file with comments | « third_party/scons/scons-local/SCons/PathList.py ('k') | third_party/scons/scons-local/SCons/Platform/aix.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698