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

Side by Side Diff: webkit/SConscript

Issue 11430: Fix use of LOAD= with WantSystemLib()... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 6
7 Import(['env']) 7 Import(['env'])
8 8
9 env = env.Clone() 9 env = env.Clone()
10 env_res = env.Clone() 10 env_res = env.Clone()
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 'CHROME_PNG_WRITE_SUPPORT', 204 'CHROME_PNG_WRITE_SUPPORT',
205 ['__PRETTY_FUNCTION__', '__FUNCTION__'], 205 ['__PRETTY_FUNCTION__', '__FUNCTION__'],
206 'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2', 206 'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2',
207 207
208 '__STD_C', 208 '__STD_C',
209 ['USE_SYSTEM_MALLOC', '1'], 209 ['USE_SYSTEM_MALLOC', '1'],
210 ], 210 ],
211 ) 211 )
212 212
213 # This list is the SConscripts that work on Windows and Linux. 213 # This list is the SConscripts that work on Windows and Linux.
214 sconscript_dirs = [ 214 sconscript_dirs = env.ChromiumLoadComponentSConscripts(
215 'SConscript.port', 215 LOAD_NAMES = ['webkit'],
216 'SConscript.javascriptcore_pcre', 216 port = 'SConscript.port',
217 'build/JSConfig/SConscript', 217 JavaScriptCore_pcre = 'SConscript.javascriptcore_pcre',
218 'build/JavaScriptCore/SConscript', 218 WebCore_config_h = 'build/JSConfig/SConscript',
219 'build/localized_strings/SConscript', 219 JavaScriptCore = 'build/JavaScriptCore/SConscript',
220 'build/port/SConscript', 220 webkit_strings = 'build/localized_strings/SConscript',
221 'build/V8Bindings/SConscript', 221 bindings = 'build/port/SConscript',
222 'build/WebCore/SConscript', 222 V8Bindings = 'build/V8Bindings/SConscript',
223 'default_plugin/SConscript', 223 WebCore = 'build/WebCore/SConscript',
224 'glue/SConscript', 224 default_plugin = 'default_plugin/SConscript',
225 'glue/plugins/test/SConscript', 225 glue = 'glue/SConscript',
226 'tools/npapi_layout_test_plugin/SConscript', 226 npapi_test_plugin = 'glue/plugins/test/SConscript',
227 'tools/test_shell/SConscript', 227 npapi_layout_test_plugin = 'tools/npapi_layout_test_plugin/SConscript',
228 ] 228 test_shell = 'tools/test_shell/SConscript',
229 )
230
229 if env['PLATFORM'] == 'win32': 231 if env['PLATFORM'] == 'win32':
230 # These extra dirs aren't win32-specific, they're just the dirs that 232 # These extra dirs aren't win32-specific, they're just the dirs that
231 # haven't yet been made portable. 233 # haven't yet been made portable.
232 sconscript_dirs.extend([ 234 sconscript_dirs.extend(env.ChromiumLoadComponentSConscripts(
233 'activex_shim/SConscript', 235 LOAD_NAMES = ['webkit'],
234 'activex_shim_dll/SConscript', 236 activex_shim = 'activex_shim/SConscript',
235 ]) 237 npaxshim = 'activex_shim_dll/SConscript',
238 ))
236 239
237 env.Append( 240 env.Append(
238 CPPDEFINES = [ 241 CPPDEFINES = [
239 '_CRT_SECURE_NO_DEPRECATE', 242 '_CRT_SECURE_NO_DEPRECATE',
240 '_CRT_NONSTDC_NO_WARNINGS', 243 '_CRT_NONSTDC_NO_WARNINGS',
241 '_CRT_NONSTDC_NO_DEPRECATE', 244 '_CRT_NONSTDC_NO_DEPRECATE',
242 ['CRASH', '__debugbreak'], 245 ['CRASH', '__debugbreak'],
243 ]) 246 ])
244 247
245 env.Prepend( 248 env.Prepend(
(...skipping 19 matching lines...) Expand all
265 # add their own individual targets to the 'webkit' Alias. 268 # add their own individual targets to the 'webkit' Alias.
266 #env.Alias('webkit', ['.', '$DESTINATION_ROOT/icudt38.dll']) 269 #env.Alias('webkit', ['.', '$DESTINATION_ROOT/icudt38.dll'])
267 if env['PLATFORM'] == 'win32': 270 if env['PLATFORM'] == 'win32':
268 env.Alias('webkit', ['$DESTINATION_ROOT/icudt38.dll']) 271 env.Alias('webkit', ['$DESTINATION_ROOT/icudt38.dll'])
269 272
270 version = env.Command('$WEBKIT_DIR/build/WebCore/webkit_version.h', 273 version = env.Command('$WEBKIT_DIR/build/WebCore/webkit_version.h',
271 ['$WEBCORE_DIR/Configurations/Version.xcconfig', 274 ['$WEBCORE_DIR/Configurations/Version.xcconfig',
272 '$CHROME_SRC_DIR/webkit/build/webkit_version.py'], 275 '$CHROME_SRC_DIR/webkit/build/webkit_version.py'],
273 "$PYTHON ${SOURCES[1]} ${SOURCES[0]} ${TARGET.dir}") 276 "$PYTHON ${SOURCES[1]} ${SOURCES[0]} ${TARGET.dir}")
274 env.AlwaysBuild(version) 277 env.AlwaysBuild(version)
275
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698