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

Side by Side Diff: SConstruct

Issue 475002: Modified SConstruct to enable building of shared library with hidden visibili... Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 }, 136 },
137 'os:linux': { 137 'os:linux': {
138 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, 138 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS,
139 'library:shared': { 139 'library:shared': {
140 'CPPDEFINES': ['V8_SHARED'], 140 'CPPDEFINES': ['V8_SHARED'],
141 'LIBS': ['pthread'] 141 'LIBS': ['pthread']
142 } 142 }
143 }, 143 },
144 'os:macos': { 144 'os:macos': {
145 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], 145 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'],
146 'library:shared': {
147 'CPPDEFINES': ['V8_SHARED']
148 }
146 }, 149 },
147 'os:freebsd': { 150 'os:freebsd': {
148 'CPPPATH' : ['/usr/local/include'], 151 'CPPPATH' : ['/usr/local/include'],
149 'LIBPATH' : ['/usr/local/lib'], 152 'LIBPATH' : ['/usr/local/lib'],
150 'CCFLAGS': ['-ansi'], 153 'CCFLAGS': ['-ansi'],
151 }, 154 },
152 'os:openbsd': { 155 'os:openbsd': {
153 'CPPPATH' : ['/usr/local/include'], 156 'CPPPATH' : ['/usr/local/include'],
154 'LIBPATH' : ['/usr/local/lib'], 157 'LIBPATH' : ['/usr/local/lib'],
155 'CCFLAGS': ['-ansi'], 158 'CCFLAGS': ['-ansi'],
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 # version of scons. Also, there's a bug in some revisions that 1018 # version of scons. Also, there's a bug in some revisions that
1016 # doesn't allow this flag to be set, so we swallow any exceptions. 1019 # doesn't allow this flag to be set, so we swallow any exceptions.
1017 # Lovely. 1020 # Lovely.
1018 try: 1021 try:
1019 SetOption('warn', 'no-deprecated') 1022 SetOption('warn', 'no-deprecated')
1020 except: 1023 except:
1021 pass 1024 pass
1022 1025
1023 1026
1024 Build() 1027 Build()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698