| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 'test_shell_request_context.cc', | 108 'test_shell_request_context.cc', |
| 109 'test_webview_delegate.cc', | 109 'test_webview_delegate.cc', |
| 110 'text_input_controller.cc', | 110 'text_input_controller.cc', |
| 111 'webview_host.cc', | 111 'webview_host.cc', |
| 112 'webwidget_host.cc', | 112 'webwidget_host.cc', |
| 113 ]) | 113 ]) |
| 114 elif env['PLATFORM'] == 'posix': | 114 elif env['PLATFORM'] == 'posix': |
| 115 input_files.extend([ | 115 input_files.extend([ |
| 116 'gtk/test_shell.cc', | 116 'gtk/test_shell.cc', |
| 117 'gtk/webwidget_host.cc', | 117 'gtk/webwidget_host.cc', |
| 118 'gtk/webview_host.cc' | 118 'gtk/webview_host.cc', |
| 119 ]) | 119 ]) |
| 120 | 120 |
| 121 lib = env.ChromeStaticLibrary('test_shell', input_files) | 121 lib = env.ChromeStaticLibrary('test_shell', input_files) |
| 122 | 122 |
| 123 | 123 |
| 124 | 124 |
| 125 resources = [] | 125 resources = [] |
| 126 exe_input_files = [] | 126 exe_input_files = [] |
| 127 if env['PLATFORM'] == 'win32': | 127 if env['PLATFORM'] == 'win32': |
| 128 # TODO(port): figure out what to do with resources. | 128 # TODO(port): figure out what to do with resources. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 '$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp
', | 201 '$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp
', |
| 202 | 202 |
| 203 '$V8_DIR/snapshot-empty$OBJSUFFIX', | 203 '$V8_DIR/snapshot-empty$OBJSUFFIX', |
| 204 ]) | 204 ]) |
| 205 | 205 |
| 206 test_shell_tests = env.ChromeTestProgram('test_shell_tests', | 206 test_shell_tests = env.ChromeTestProgram('test_shell_tests', |
| 207 resources + test_files) | 207 resources + test_files) |
| 208 i = env.Install('$TARGET_ROOT', test_shell_tests) | 208 i = env.Install('$TARGET_ROOT', test_shell_tests) |
| 209 env.Alias('webkit', i) | 209 env.Alias('webkit', i) |
| 210 | 210 |
| OLD | NEW |