OLD | NEW |
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('env', 'env_res') | 5 Import('env', 'env_res') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 env_res = env_res.Clone() | 8 env_res = env_res.Clone() |
9 | 9 |
10 env.SConscript([ | 10 env.SConscript([ |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 elif env.Bit('linux'): | 128 elif env.Bit('linux'): |
129 input_files.extend([ | 129 input_files.extend([ |
130 'webview_host_gtk.cc', | 130 'webview_host_gtk.cc', |
131 'webwidget_host_gtk.cc', | 131 'webwidget_host_gtk.cc', |
132 'test_shell_gtk.cc', | 132 'test_shell_gtk.cc', |
133 'test_webview_delegate_gtk.cc', | 133 'test_webview_delegate_gtk.cc', |
134 ]) | 134 ]) |
135 | 135 |
136 lib = env.ChromeStaticLibrary('test_shell', input_files) | 136 lib = env.ChromeStaticLibrary('test_shell', input_files) |
137 | 137 |
| 138 env.ChromeMSVSProject('$WEBKIT_DIR/tools/test_shell/test_shell.vcproj', |
| 139 dependencies = [ |
| 140 '$BASE_DIR/build/base.vcproj', |
| 141 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', |
| 142 '$LIBJPEG_DIR/libjpeg.vcproj', |
| 143 '$BZIP2_DIR/bzip2.vcproj', |
| 144 '$NET_DIR/build/net.vcproj', |
| 145 ('$WEBKIT_DIR/build/JavaScriptCore/' + |
| 146 'JavaScriptCore_pcre.vcproj'), |
| 147 '$WEBKIT_DIR/build/port/port.vcproj', |
| 148 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj', |
| 149 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', |
| 150 '$MODP_B64_DIR/modp_b64.vcproj', |
| 151 '$ZLIB_DIR/zlib.vcproj', |
| 152 '$ICU38_DIR/build/icu.vcproj', |
| 153 '$BASE_DIR/build/base_gfx.vcproj', |
| 154 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', |
| 155 '$BREAKPAD_DIR/breakpad_handler.vcproj', |
| 156 ('$WEBKIT_DIR/tools/npapi_layout_test_plugin/' + |
| 157 'npapi_layout_test_plugin.vcproj'), |
| 158 '$TESTING_DIR/gtest.vcproj', |
| 159 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
| 160 '$LIBPNG_DIR/libpng.vcproj', |
| 161 '$WEBKIT_DIR/build/glue/glue.vcproj', |
| 162 '$SKIA_DIR/skia.vcproj', |
| 163 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
| 164 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', |
| 165 '$SDCH_DIR/sdch.vcproj', |
| 166 '$LIBXSLT_DIR/build/libxslt.vcproj', |
| 167 ], |
| 168 guid='{FA39524D-3067-4141-888D-28A86C66F2B9}') |
| 169 |
| 170 |
138 resources = [] | 171 resources = [] |
139 exe_input_files = [ | 172 exe_input_files = [ |
140 'test_shell_main.cc', | 173 'test_shell_main.cc', |
141 ] | 174 ] |
142 | 175 |
143 if env.Bit('windows'): | 176 if env.Bit('windows'): |
144 # TODO(port): figure out what to do with resources. | 177 # TODO(port): figure out what to do with resources. |
145 resources = [ | 178 resources = [ |
146 env_res.RES('resources/test_shell.rc'), | 179 env_res.RES('resources/test_shell.rc'), |
147 '$NET_DIR/net_resources.res', | 180 '$NET_DIR/net_resources.res', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 # Commented out until a regression is fixed and this file is restored. | 229 # Commented out until a regression is fixed and this file is restored. |
197 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', | 230 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', |
198 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', | 231 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', |
199 '$WEBKIT_DIR/tools/webcore_unit_tests/UniscribeHelper_unittest.cpp', | 232 '$WEBKIT_DIR/tools/webcore_unit_tests/UniscribeHelper_unittest.cpp', |
200 ]) | 233 ]) |
201 | 234 |
202 test_shell_tests = env.ChromeTestProgram('test_shell_tests', | 235 test_shell_tests = env.ChromeTestProgram('test_shell_tests', |
203 resources + test_files) | 236 resources + test_files) |
204 i = env.Install('$TARGET_ROOT', test_shell_tests) | 237 i = env.Install('$TARGET_ROOT', test_shell_tests) |
205 env.Alias('webkit', i) | 238 env.Alias('webkit', i) |
| 239 |
| 240 env.ChromeMSVSProject('$WEBKIT_DIR/tools/test_shell/test_shell_tests.vcproj', |
| 241 dependencies = [ |
| 242 '$WEBKIT_DIR/glue/plugins/test/npapi_test_plugin.vcproj', |
| 243 '$BASE_DIR/build/base.vcproj', |
| 244 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', |
| 245 '$LIBJPEG_DIR/libjpeg.vcproj', |
| 246 '$BZIP2_DIR/bzip2.vcproj', |
| 247 '$NET_DIR/build/net.vcproj' , |
| 248 ('$WEBKIT_DIR/build/JavaScriptCore/' + |
| 249 'JavaScriptCore_pcre.vcproj'), |
| 250 '$WEBKIT_DIR/build/port/port.vcproj', |
| 251 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj', |
| 252 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', |
| 253 '$MODP_B64_DIR/modp_b64.vcproj', |
| 254 '$ZLIB_DIR/zlib.vcproj', |
| 255 '$ICU38_DIR/build/icu.vcproj', |
| 256 '$BASE_DIR/build/base_gfx.vcproj', |
| 257 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', |
| 258 '$BREAKPAD_DIR/breakpad_handler.vcproj', |
| 259 '$TESTING_DIR/gtest.vcproj', |
| 260 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
| 261 '$LIBPNG_DIR/libpng.vcproj', |
| 262 '$WEBKIT_DIR/build/glue/glue.vcproj', |
| 263 '$SKIA_DIR/skia.vcproj', |
| 264 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
| 265 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', |
| 266 '$SDCH_DIR/sdch.vcproj', |
| 267 '$LIBXSLT_DIR/build/libxslt.vcproj', |
| 268 ], |
| 269 guid='{E6766F81-1FCD-4CD7-BC16-E36964A14867}') |
OLD | NEW |