| 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 if env['PLATFORM'] == 'win32': | 10 if env['PLATFORM'] == 'win32': |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 ) | 94 ) |
| 95 | 95 |
| 96 input_files = [ | 96 input_files = [ |
| 97 'event_sending_controller.cc', | 97 'event_sending_controller.cc', |
| 98 'layout_test_controller.cc', | 98 'layout_test_controller.cc', |
| 99 'simple_resource_loader_bridge.cc', | 99 'simple_resource_loader_bridge.cc', |
| 100 'test_navigation_controller.cc', | 100 'test_navigation_controller.cc', |
| 101 'test_shell_request_context.cc', | 101 'test_shell_request_context.cc', |
| 102 'test_shell_switches.cc', | 102 'test_shell_switches.cc', |
| 103 'test_shell.cc', | 103 'test_shell.cc', |
| 104 'test_webview_delegate.cc', |
| 104 'text_input_controller.cc', | 105 'text_input_controller.cc', |
| 105 ] | 106 ] |
| 106 if env['PLATFORM'] == 'win32': | 107 if env['PLATFORM'] == 'win32': |
| 107 # TODO(port): put portable files in above test_files declaration. | 108 # TODO(port): put portable files in above test_files declaration. |
| 108 input_files.extend([ | 109 input_files.extend([ |
| 109 'drag_delegate.cc', | 110 'drag_delegate.cc', |
| 110 'drop_delegate.cc', | 111 'drop_delegate.cc', |
| 111 'test_shell_win.cc', | 112 'test_shell_win.cc', |
| 112 'test_webview_delegate.cc', | 113 'test_webview_delegate_win.cc', |
| 113 'webview_host.cc', | 114 'webview_host.cc', |
| 114 'webwidget_host.cc', | 115 'webwidget_host.cc', |
| 115 ]) | 116 ]) |
| 116 elif env['PLATFORM'] == 'posix': | 117 elif env['PLATFORM'] == 'posix': |
| 117 input_files.extend([ | 118 input_files.extend([ |
| 118 'gtk/webwidget_host.cc', | 119 'gtk/webwidget_host.cc', |
| 119 'gtk/webview_host.cc', | 120 'gtk/webview_host.cc', |
| 120 'gtk/test_webview_delegate.cc', | 121 'gtk/test_webview_delegate.cc', |
| 121 'test_shell_gtk.cc', | 122 'test_shell_gtk.cc', |
| 122 ]) | 123 ]) |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 '$WEBKIT_DIR/port/platform/image-decoders/bmp/BMPImageDecoder_unittest.cpp
', | 190 '$WEBKIT_DIR/port/platform/image-decoders/bmp/BMPImageDecoder_unittest.cpp
', |
| 190 '$WEBKIT_DIR/port/platform/image-decoders/ico/ICOImageDecoder_unittest.cpp
', | 191 '$WEBKIT_DIR/port/platform/image-decoders/ico/ICOImageDecoder_unittest.cpp
', |
| 191 '$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp
', | 192 '$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp
', |
| 192 ]) | 193 ]) |
| 193 | 194 |
| 194 test_shell_tests = env.ChromeTestProgram('test_shell_tests', | 195 test_shell_tests = env.ChromeTestProgram('test_shell_tests', |
| 195 resources + test_files) | 196 resources + test_files) |
| 196 i = env.Install('$TARGET_ROOT', test_shell_tests) | 197 i = env.Install('$TARGET_ROOT', test_shell_tests) |
| 197 env.Alias('webkit', i) | 198 env.Alias('webkit', i) |
| 198 | 199 |
| OLD | NEW |