summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 18:46:02 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 18:46:02 +0000
commit113736ca60dff0d00fe7ae03eeb095ac50af48c5 (patch)
treee22ec778bdc601bbdfcee42d45f507e6a6da9de5 /webkit
parent968e56aeb9ac7c51f7b1cb36cd7a5586fd13e966 (diff)
downloadchromium_src-113736ca60dff0d00fe7ae03eeb095ac50af48c5.zip
chromium_src-113736ca60dff0d00fe7ae03eeb095ac50af48c5.tar.gz
chromium_src-113736ca60dff0d00fe7ae03eeb095ac50af48c5.tar.bz2
Checking in the rest of the .lib changes, previous commit was only done from chrome/ and only got those SConscript files.
R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/activex_shim_dll/SConscript15
-rw-r--r--webkit/glue/plugins/test/SConscript13
-rw-r--r--webkit/tools/npapi_layout_test_plugin/SConscript4
-rw-r--r--webkit/tools/test_shell/SConscript106
4 files changed, 78 insertions, 60 deletions
diff --git a/webkit/activex_shim_dll/SConscript b/webkit/activex_shim_dll/SConscript
index 85ca5f6..5a3a5e2 100644
--- a/webkit/activex_shim_dll/SConscript
+++ b/webkit/activex_shim_dll/SConscript
@@ -36,6 +36,12 @@ env.Prepend(
'$NPAPI_DIR',
'#/..',
],
+ LIBS = [
+ 'activex_shim',
+ 'googleurl',
+ 'icuuc',
+ 'base',
+ ],
)
env.Append(
@@ -57,18 +63,11 @@ env.Append(
],
)
-libs = [
- '$WEBKIT_DIR/activex_shim/activex_shim.lib',
- '$GOOGLEURL_DIR/googleurl.lib',
- '$ICU38_DIR/icuuc.lib',
- '$BASE_DIR/base.lib',
-]
-
input_files = [
'activex_shim_dll.cc',
'activex_shim_dll.def',
]
-dll = env.ChromeSharedLibrary('npaxshim', input_files + libs)
+dll = env.ChromeSharedLibrary('npaxshim', input_files)
i = env.Install('$TARGET_ROOT', dll)
env.Alias('webkit', i)
diff --git a/webkit/glue/plugins/test/SConscript b/webkit/glue/plugins/test/SConscript
index 7566c65..c238f4d 100644
--- a/webkit/glue/plugins/test/SConscript
+++ b/webkit/glue/plugins/test/SConscript
@@ -48,11 +48,15 @@ input_files = [
'plugin_test.cc',
'plugin_window_size_test.cc',
'npapi_test.def',
-
- '$BASE_DIR/base.lib',
]
env.Append(
+ LIBS = [
+ 'base',
+ ],
+)
+
+env.Append(
CCFLAGS = [
'/TP',
'/wd4800',
@@ -66,6 +70,7 @@ env.Append(
],
LINKFLAGS = [
+ '/INCREMENTAL',
'/DELAYLOAD:"dwmapi.dll"',
'/DELAYLOAD:"uxtheme.dll"',
'/FIXED:No',
@@ -79,9 +84,13 @@ env.Append(
)
dll = env.ChromeSharedLibrary(['npapi_test_plugin',
+ 'npapi_test_plugin.lib',
'npapi_test_plugin.ilk',
'npapi_test_plugin.pdb'],
input_files)
+# TODO(sgk): goes away once ChromeSharedLibrary does this for us.
+env.Install('$LIBS_DIR', dll[1])
+
i = env.Install('$TARGET_ROOT', dll)
env.Alias('webkit', i)
diff --git a/webkit/tools/npapi_layout_test_plugin/SConscript b/webkit/tools/npapi_layout_test_plugin/SConscript
index fbcb9f8..5e8970c 100644
--- a/webkit/tools/npapi_layout_test_plugin/SConscript
+++ b/webkit/tools/npapi_layout_test_plugin/SConscript
@@ -72,6 +72,10 @@ dll = env.ChromeSharedLibrary(['npapi_layout_test_plugin',
'npapi_layout_test_plugin.pdb'],
input_files)
+# TODO(sgk): goes away when env.ChromeSharedLibrary() knows how
+# to do this for us.
+env.Install('$LIBS_DIR', dll[1])
+
i = env.Install('$TARGET_ROOT/plugins', dll)
env.Alias('webkit', i)
diff --git a/webkit/tools/test_shell/SConscript b/webkit/tools/test_shell/SConscript
index 85f7091..fcb8528 100644
--- a/webkit/tools/test_shell/SConscript
+++ b/webkit/tools/test_shell/SConscript
@@ -43,29 +43,43 @@ env_res.Append(
],
)
-input_files = [
- 'drag_delegate.cc',
- 'drop_delegate.cc',
- 'event_sending_controller.cc',
- 'layout_test_controller.cc',
- 'simple_resource_loader_bridge.cc',
- 'test_navigation_controller.cc',
- 'test_shell.cc',
- 'test_shell_switches.cc',
- 'test_shell_request_context.cc',
- 'test_webview_delegate.cc',
- 'text_input_controller.cc',
- 'webview_host.cc',
- 'webwidget_host.cc',
- 'temp/navigation_controller_base.cc',
-]
-
env.Append(
CPPPATH = [
'$BREAKPAD_DIR/src',
'$WEBKIT_DIR/glue',
'$GTEST_DIR/include',
],
+ LIBS = [
+ 'test_shell',
+ 'base',
+ 'base_gfx',
+ 'breakpad_handler',
+ 'breakpad_sender',
+ 'googleurl',
+ 'net',
+ 'skia',
+ 'gtest',
+ 'bzip2',
+ 'icuuc',
+ 'libjpeg',
+ 'libpng',
+ 'libxml',
+ 'libxslt',
+ 'modp_b64',
+ 'zlib',
+ 'v8',
+ 'JavaScriptCore_pcre',
+ 'Port',
+ 'activex_shim',
+ 'WTF',
+ 'V8Bindings',
+ 'WebCore',
+ 'default_plugin',
+ 'Glue',
+ ],
+)
+
+env.Append(
CCFLAGS = [
'/TP',
'/WX',
@@ -93,8 +107,24 @@ env.Append(
],
)
-lib = env.ChromeStaticLibrary('test_shell', input_files)
+input_files = [
+ 'drag_delegate.cc',
+ 'drop_delegate.cc',
+ 'event_sending_controller.cc',
+ 'layout_test_controller.cc',
+ 'simple_resource_loader_bridge.cc',
+ 'test_navigation_controller.cc',
+ 'test_shell.cc',
+ 'test_shell_switches.cc',
+ 'test_shell_request_context.cc',
+ 'test_webview_delegate.cc',
+ 'text_input_controller.cc',
+ 'webview_host.cc',
+ 'webwidget_host.cc',
+ 'temp/navigation_controller_base.cc',
+]
+lib = env.ChromeStaticLibrary('test_shell', input_files)
@@ -104,42 +134,16 @@ resources = [
'$WEBKIT_DIR/build/localized_strings/webkit_strings_en-US.res',
]
-components = [
- lib,
-
- '$BASE_DIR/base.lib',
- '$BASE_DIR/gfx/base_gfx.lib',
- '$BREAKPAD_DIR/breakpad_handler.lib',
- '$BREAKPAD_DIR/breakpad_sender.lib',
- '$GOOGLEURL_DIR/googleurl.lib',
- '$NET_DIR/net.lib',
- '$SKIA_DIR/skia.lib',
- '$TESTING_DIR/gtest.lib',
- '$BZIP2_DIR/bzip2.lib',
- '$ICU38_DIR/icuuc.lib',
- '$LIBJPEG_DIR/libjpeg.lib',
- '$LIBPNG_DIR/libpng.lib',
- '$LIBXML_DIR/libxml.lib',
- '$LIBXSLT_DIR/libxslt.lib',
- '$MODP_B64_DIR/modp_b64.lib',
- '$ZLIB_DIR/zlib.lib',
- '$V8_DIR/v8.lib',
- '$V8_DIR/snapshot-empty.obj',
- '$WEBKIT_DIR/JavaScriptCore_pcre.lib',
- '$WEBKIT_DIR/Port.lib',
- '$WEBKIT_DIR/activex_shim/activex_shim.lib',
- '$WEBKIT_DIR/build/JavaScriptCore/WTF.lib',
- '$WEBKIT_DIR/build/V8Bindings/V8Bindings.lib',
- '$WEBKIT_DIR/build/WebCore/WebCore.lib',
- '$WEBKIT_DIR/default_plugin/default_plugin.lib',
- '$WEBKIT_DIR/glue/Glue.lib',
+
+exe_input_files = [
+ 'test_shell_main.cc',
+ '$V8_DIR/snapshot-empty$OBJSUFFIX'
]
test_shell = env.ChromeProgram(['test_shell.exe',
'test_shell.ilk',
'test_shell.pdb'],
- components + resources +
- ['test_shell_main.cc'])
+ resources + exe_input_files)
i = env.Install('$TARGET_ROOT', test_shell)
env.Alias('webkit', i)
@@ -195,11 +199,13 @@ test_files = [
'$WEBKIT_DIR/port/platform/image-decoders/bmp/BMPImageDecoder_unittest.cpp',
'$WEBKIT_DIR/port/platform/image-decoders/ico/ICOImageDecoder_unittest.cpp',
'$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp',
+
+ '$V8_DIR/snapshot-empty$OBJSUFFIX',
]
test_shell_tests = env.ChromeTestProgram(['test_shell_tests',
'test_shell_tests.ilk',
'test_shell_tests.pdb'],
- components + resources + test_files)
+ resources + test_files)
i = env.Install('$TARGET_ROOT', test_shell_tests)
env.Alias('webkit', i)