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 160556: linux: Don't force-export V8 symbols unless v8 is built as a shared library.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/1.2/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « no previous file | include/v8.h » ('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 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', 119 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections',
120 '-ffunction-sections'], 120 '-ffunction-sections'],
121 'os:android': { 121 'os:android': {
122 'CCFLAGS': ['-mthumb', '-Os'], 122 'CCFLAGS': ['-mthumb', '-Os'],
123 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG', 'ENABLE_DEBUGGER_SUPPORT'] 123 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG', 'ENABLE_DEBUGGER_SUPPORT']
124 } 124 }
125 }, 125 },
126 'os:linux': { 126 'os:linux': {
127 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, 127 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS,
128 'library:shared': { 128 'library:shared': {
129 'CPPDEFINES': ['V8_SHARED'],
129 'LIBS': ['pthread'] 130 'LIBS': ['pthread']
130 } 131 }
131 }, 132 },
132 'os:macos': { 133 'os:macos': {
133 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], 134 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'],
134 }, 135 },
135 'os:freebsd': { 136 'os:freebsd': {
136 'CPPPATH' : ['/usr/local/include'], 137 'CPPPATH' : ['/usr/local/include'],
137 'LIBPATH' : ['/usr/local/lib'], 138 'LIBPATH' : ['/usr/local/lib'],
138 'CCFLAGS': ['-ansi'], 139 'CCFLAGS': ['-ansi'],
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 # version of scons. Also, there's a bug in some revisions that 908 # version of scons. Also, there's a bug in some revisions that
908 # doesn't allow this flag to be set, so we swallow any exceptions. 909 # doesn't allow this flag to be set, so we swallow any exceptions.
909 # Lovely. 910 # Lovely.
910 try: 911 try:
911 SetOption('warn', 'no-deprecated') 912 SetOption('warn', 'no-deprecated')
912 except: 913 except:
913 pass 914 pass
914 915
915 916
916 Build() 917 Build()
OLDNEW
« no previous file with comments | « no previous file | include/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698