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

Side by Side Diff: webkit/tools/test_shell/SConscript

Issue 18186: generate test_shell.pak and hook up loading net resources from (Closed)
Patch Set: Created 11 years, 11 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
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('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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 ] 187 ]
188 188
189 test_shell = env.ChromeProgram('test_shell', resources + exe_input_files) 189 test_shell = env.ChromeProgram('test_shell', resources + exe_input_files)
190 190
191 i = env.Install('$TARGET_ROOT', test_shell) 191 i = env.Install('$TARGET_ROOT', test_shell)
192 env.Alias('webkit', i) 192 env.Alias('webkit', i)
193 193
194 if env.Bit('windows'): 194 if env.Bit('windows'):
195 env.Depends(test_shell, '$V8_DIR/vc80.pdb') 195 env.Depends(test_shell, '$V8_DIR/vc80.pdb')
196 196
197 if env.Bit('linux'):
198 # Build the linux resource file.
199 env.Append(BUILDERS = { 'Repack' : Builder(
200 action = 'python $CHROME_SRC_DIR/tools/data_pack/repack.py $TARGET $SOURCE S',
201 )})
202 test_shell_data = env.Repack(
203 '$TARGET_ROOT/test_shell.pak',
204 ['$TARGET_ROOT/grit_derived_sources/net_resources.pak',
205 '$TARGET_ROOT/grit_derived_sources/webkit_resources.pak',
206 ]
207 )
208 env.Depends(test_shell, test_shell_data)
209
210 i = env.Install('$DESTINATION_ROOT', test_shell_data)
211 env.Alias('webkit', i)
212
197 test_files = [ 213 test_files = [
198 'image_decoder_unittest.cc', 214 'image_decoder_unittest.cc',
199 'keyboard_unittest.cc', 215 'keyboard_unittest.cc',
200 'layout_test_controller_unittest.cc', 216 'layout_test_controller_unittest.cc',
201 'node_leak_test.cc', 217 'node_leak_test.cc',
202 'run_all_tests.cc', 218 'run_all_tests.cc',
203 'test_shell_test.cc', 219 'test_shell_test.cc',
204 'text_input_controller_unittest.cc', 220 'text_input_controller_unittest.cc',
205 '$WEBKIT_DIR/glue/bookmarklet_unittest.cc', 221 '$WEBKIT_DIR/glue/bookmarklet_unittest.cc',
206 '$WEBKIT_DIR/glue/context_menu_unittest.cc', 222 '$WEBKIT_DIR/glue/context_menu_unittest.cc',
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', 277 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj',
262 '$LIBPNG_DIR/libpng.vcproj', 278 '$LIBPNG_DIR/libpng.vcproj',
263 '$WEBKIT_DIR/build/glue/glue.vcproj', 279 '$WEBKIT_DIR/build/glue/glue.vcproj',
264 '$SKIA_DIR/skia.vcproj', 280 '$SKIA_DIR/skia.vcproj',
265 '$GOOGLEURL_DIR/build/googleurl.vcproj', 281 '$GOOGLEURL_DIR/build/googleurl.vcproj',
266 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', 282 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj',
267 '$SDCH_DIR/sdch.vcproj', 283 '$SDCH_DIR/sdch.vcproj',
268 '$LIBXSLT_DIR/build/libxslt.vcproj', 284 '$LIBXSLT_DIR/build/libxslt.vcproj',
269 ], 285 ],
270 guid='{E6766F81-1FCD-4CD7-BC16-E36964A14867}') 286 guid='{E6766F81-1FCD-4CD7-BC16-E36964A14867}')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698