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

Side by Side Diff: SConstruct

Issue 5968004: Fix Solaris build
Patch Set: Remove BitCast change Created 9 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
« no previous file with comments | « no previous file | src/platform-solaris.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 elif 'msvc' in tools: 656 elif 'msvc' in tools:
657 return 'msvc' 657 return 'msvc'
658 else: 658 else:
659 return None 659 return None
660 660
661 661
662 def GuessVisibility(os, toolchain): 662 def GuessVisibility(os, toolchain):
663 if os == 'win32' and toolchain == 'gcc': 663 if os == 'win32' and toolchain == 'gcc':
664 # MinGW can't do it. 664 # MinGW can't do it.
665 return 'default' 665 return 'default'
666 elif os == 'solaris':
667 return 'default'
666 else: 668 else:
667 return 'hidden' 669 return 'hidden'
668 670
669 671
670 OS_GUESS = utils.GuessOS() 672 OS_GUESS = utils.GuessOS()
671 TOOLCHAIN_GUESS = GuessToolchain(OS_GUESS) 673 TOOLCHAIN_GUESS = GuessToolchain(OS_GUESS)
672 ARCH_GUESS = utils.GuessArchitecture() 674 ARCH_GUESS = utils.GuessArchitecture()
673 VISIBILITY_GUESS = GuessVisibility(OS_GUESS, TOOLCHAIN_GUESS) 675 VISIBILITY_GUESS = GuessVisibility(OS_GUESS, TOOLCHAIN_GUESS)
674 676
675 677
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 # version of scons. Also, there's a bug in some revisions that 1158 # version of scons. Also, there's a bug in some revisions that
1157 # doesn't allow this flag to be set, so we swallow any exceptions. 1159 # doesn't allow this flag to be set, so we swallow any exceptions.
1158 # Lovely. 1160 # Lovely.
1159 try: 1161 try:
1160 SetOption('warn', 'no-deprecated') 1162 SetOption('warn', 'no-deprecated')
1161 except: 1163 except:
1162 pass 1164 pass
1163 1165
1164 1166
1165 Build() 1167 Build()
OLDNEW
« no previous file with comments | « no previous file | src/platform-solaris.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698