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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
135 '$NET_DIR/net_resources.res', | 135 '$NET_DIR/net_resources.res', |
136 '$WEBKIT_DIR/build/localized_strings/webkit_strings_en-US.res', | 136 '$WEBKIT_DIR/build/localized_strings/webkit_strings_en-US.res', |
137 ] | 137 ] |
138 | 138 |
139 exe_input_files = [ | 139 exe_input_files = [ |
140 'test_shell_main.cc', | 140 'test_shell_main.cc', |
141 '$V8_DIR/snapshot-empty$OBJSUFFIX' | 141 '$V8_DIR/snapshot-empty$OBJSUFFIX' |
142 ] | 142 ] |
143 elif env['PLATFORM'] == 'posix': | 143 elif env['PLATFORM'] == 'posix': |
144 exe_input_files = [ | 144 exe_input_files = [ |
145 'test_shell_main_gtk.cc', | 145 'test_shell_main.cc', |
tony
2008/11/13 22:21:15
Nit: Can we remove this and the one 5 lines above
| |
146 ] | 146 ] |
147 | 147 |
148 test_shell = env.ChromeProgram('test_shell', resources + exe_input_files) | 148 test_shell = env.ChromeProgram('test_shell', resources + exe_input_files) |
149 | 149 |
150 i = env.Install('$TARGET_ROOT', test_shell) | 150 i = env.Install('$TARGET_ROOT', test_shell) |
151 env.Alias('webkit', i) | 151 env.Alias('webkit', i) |
152 | 152 |
153 if env['PLATFORM'] == 'win32': | 153 if env['PLATFORM'] == 'win32': |
154 env.Depends(test_shell, '$V8_DIR/vc80.pdb') | 154 env.Depends(test_shell, '$V8_DIR/vc80.pdb') |
155 | 155 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 # Commented out until a regression is fixed and this file is restored. | 190 # Commented out until a regression is fixed and this file is restored. |
191 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', | 191 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', |
192 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', | 192 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', |
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) |
199 | 199 |
OLD | NEW |