| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 'layout_test_controller.cc', | 101 'layout_test_controller.cc', |
| 102 'simple_resource_loader_bridge.cc', | 102 'simple_resource_loader_bridge.cc', |
| 103 'test_navigation_controller.cc', | 103 'test_navigation_controller.cc', |
| 104 'test_shell_request_context.cc', | 104 'test_shell_request_context.cc', |
| 105 'test_shell_switches.cc', | 105 'test_shell_switches.cc', |
| 106 'test_shell.cc', | 106 'test_shell.cc', |
| 107 'test_webview_delegate.cc', | 107 'test_webview_delegate.cc', |
| 108 'text_input_controller.cc', | 108 'text_input_controller.cc', |
| 109 ] | 109 ] |
| 110 if env['PLATFORM'] == 'win32': | 110 if env['PLATFORM'] == 'win32': |
| 111 # TODO(port): put portable files in above test_files declaration. | 111 # TODO(port): Consider porting drag_delegate.cc and drop_delecate.cc. |
| 112 input_files.extend([ | 112 input_files.extend([ |
| 113 'drag_delegate.cc', | 113 'drag_delegate.cc', |
| 114 'drop_delegate.cc', | 114 'drop_delegate.cc', |
| 115 'test_shell_win.cc', | 115 'test_shell_win.cc', |
| 116 'test_webview_delegate_win.cc', | 116 'test_webview_delegate_win.cc', |
| 117 'webview_host_win.cc', | 117 'webview_host_win.cc', |
| 118 'webwidget_host_win.cc', | 118 'webwidget_host_win.cc', |
| 119 ]) | 119 ]) |
| 120 elif env['PLATFORM'] == 'posix': | 120 elif env['PLATFORM'] == 'posix': |
| 121 input_files.extend([ | 121 input_files.extend([ |
| 122 'gtk/webview_host.cc', | 122 'webview_host_gtk.cc', |
| 123 'gtk/webwidget_host.cc', | 123 'webwidget_host_gtk.cc', |
| 124 'test_shell_gtk.cc', | 124 'test_shell_gtk.cc', |
| 125 'test_webview_delegate_gtk.cc', | 125 'test_webview_delegate_gtk.cc', |
| 126 ]) | 126 ]) |
| 127 | 127 |
| 128 lib = env.ChromeStaticLibrary('test_shell', input_files) | 128 lib = env.ChromeStaticLibrary('test_shell', input_files) |
| 129 | 129 |
| 130 resources = [] | 130 resources = [] |
| 131 exe_input_files = [ | 131 exe_input_files = [ |
| 132 'test_shell_main.cc', | 132 'test_shell_main.cc', |
| 133 ] | 133 ] |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 # Commented out until a regression is fixed and this file is restored. | 189 # Commented out until a regression is fixed and this file is restored. |
| 190 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', | 190 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', |
| 191 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', | 191 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', |
| 192 '$WEBKIT_DIR/port/platform/graphics/UniscribeHelper_unittest.cpp', | 192 '$WEBKIT_DIR/port/platform/graphics/UniscribeHelper_unittest.cpp', |
| 193 ]) | 193 ]) |
| 194 | 194 |
| 195 test_shell_tests = env.ChromeTestProgram('test_shell_tests', | 195 test_shell_tests = env.ChromeTestProgram('test_shell_tests', |
| 196 resources + test_files) | 196 resources + test_files) |
| 197 i = env.Install('$TARGET_ROOT', test_shell_tests) | 197 i = env.Install('$TARGET_ROOT', test_shell_tests) |
| 198 env.Alias('webkit', i) | 198 env.Alias('webkit', i) |
| OLD | NEW |