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

Side by Side Diff: third_party/scons/scons-local/SCons/Tool/aixc++.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.Tool.aixc++ 1 """SCons.Tool.aixc++
2 2
3 Tool-specific initialization for IBM xlC / Visual Age C++ compiler. 3 Tool-specific initialization for IBM xlC / Visual Age C++ compiler.
4 4
5 There normally shouldn't be any need to import this module directly. 5 There normally shouldn't be any need to import this module directly.
6 It will usually be imported through the generic SCons.Tool.Tool() 6 It will usually be imported through the generic SCons.Tool.Tool()
7 selection method. 7 selection method.
8 8
9 """ 9 """
10 10
(...skipping 13 matching lines...) Expand all
24 # 24 #
25 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 25 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
26 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 26 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
27 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 28 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
29 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 29 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
30 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 30 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
31 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 31 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 # 32 #
33 33
34 __revision__ = "src/engine/SCons/Tool/aixc++.py 3603 2008/10/10 05:46:45 scons" 34 __revision__ = "src/engine/SCons/Tool/aixc++.py 3842 2008/12/20 22:59:52 scons"
35 35
36 import os.path 36 import os.path
37 37
38 import SCons.Platform.aix 38 import SCons.Platform.aix
39 39
40 cplusplus = __import__('c++', globals(), locals(), []) 40 cplusplus = __import__('c++', globals(), locals(), [])
41 41
42 packages = ['vacpp.cmp.core', 'vacpp.cmp.batch', 'vacpp.cmp.C', 'ibmcxx.cmp'] 42 packages = ['vacpp.cmp.core', 'vacpp.cmp.batch', 'vacpp.cmp.C', 'ibmcxx.cmp']
43 43
44 def get_xlc(env): 44 def get_xlc(env):
(...skipping 22 matching lines...) Expand all
67 env['CXXVERSION'] = version 67 env['CXXVERSION'] = version
68 env['SHOBJSUFFIX'] = '.pic.o' 68 env['SHOBJSUFFIX'] = '.pic.o'
69 69
70 def exists(env): 70 def exists(env):
71 path, _cxx, _shcxx, version = get_xlc(env) 71 path, _cxx, _shcxx, version = get_xlc(env)
72 if path and _cxx: 72 if path and _cxx:
73 xlc = os.path.join(path, _cxx) 73 xlc = os.path.join(path, _cxx)
74 if os.path.exists(xlc): 74 if os.path.exists(xlc):
75 return xlc 75 return xlc
76 return None 76 return None
OLDNEW
« no previous file with comments | « third_party/scons/scons-local/SCons/Tool/__init__.py ('k') | third_party/scons/scons-local/SCons/Tool/aixcc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698