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') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 env_tests = env.Clone() | 8 env_tests = env.Clone() |
9 | 9 |
10 env.Prepend( | 10 env.Prepend( |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 'sha2_unittest.cc', | 251 'sha2_unittest.cc', |
252 'shared_memory_unittest.cc', | 252 'shared_memory_unittest.cc', |
253 'simple_thread_unittest.cc', | 253 'simple_thread_unittest.cc', |
254 'singleton_unittest.cc', | 254 'singleton_unittest.cc', |
255 'stack_container_unittest.cc', | 255 'stack_container_unittest.cc', |
256 'string_escape_unittest.cc', | 256 'string_escape_unittest.cc', |
257 'string_piece_unittest.cc', | 257 'string_piece_unittest.cc', |
258 'string_tokenizer_unittest.cc', | 258 'string_tokenizer_unittest.cc', |
259 'string_util_unittest.cc', | 259 'string_util_unittest.cc', |
260 'thread_local_unittest.cc', | 260 'thread_local_unittest.cc', |
| 261 'thread_local_storage_unittest.cc', |
261 'thread_unittest.cc', | 262 'thread_unittest.cc', |
262 'time_unittest.cc', | 263 'time_unittest.cc', |
263 'timer_unittest.cc', | 264 'timer_unittest.cc', |
264 'tracked_objects_unittest.cc', | 265 'tracked_objects_unittest.cc', |
265 'tuple_unittest.cc', | 266 'tuple_unittest.cc', |
266 'values_unittest.cc', | 267 'values_unittest.cc', |
267 'waitable_event_unittest.cc', | 268 'waitable_event_unittest.cc', |
268 'word_iterator_unittest.cc', | 269 'word_iterator_unittest.cc', |
269 'worker_pool_unittest.cc', | 270 'worker_pool_unittest.cc', |
270 'gfx/convolver_unittest.cc', | 271 'gfx/convolver_unittest.cc', |
271 'gfx/image_operations_unittest.cc', | 272 'gfx/image_operations_unittest.cc', |
272 'gfx/png_codec_unittest.cc', | 273 'gfx/png_codec_unittest.cc', |
273 'gfx/rect_unittest.cc', | 274 'gfx/rect_unittest.cc', |
274 ] | 275 ] |
275 | 276 |
276 if env['PLATFORM'] == 'win32': | 277 if env['PLATFORM'] == 'win32': |
277 # These tests aren't really Windows-specific, they're just here until | 278 # These tests aren't really Windows-specific, they're just here until |
278 # we have the port versions working. | 279 # we have the port versions working. |
279 env_tests.ChromeTestProgram('debug_message', ['debug_message.cc']) | 280 env_tests.ChromeTestProgram('debug_message', ['debug_message.cc']) |
280 | 281 |
281 test_files.extend([ | 282 test_files.extend([ |
282 'clipboard_unittest.cc', | 283 'clipboard_unittest.cc', |
283 'hmac_unittest.cc', | 284 'hmac_unittest.cc', |
284 'idletimer_unittest.cc', | 285 'idletimer_unittest.cc', |
285 'process_util_unittest.cc', | 286 'process_util_unittest.cc', |
286 'run_all_unittests.cc', | 287 'run_all_unittests.cc', |
287 'shared_event_unittest.cc', | 288 'shared_event_unittest.cc', |
288 'stats_table_unittest.cc', | 289 'stats_table_unittest.cc', |
289 'thread_local_storage_unittest.cc', | |
290 'watchdog_unittest.cc', | 290 'watchdog_unittest.cc', |
291 'gfx/native_theme_unittest.cc', | 291 'gfx/native_theme_unittest.cc', |
292 'gfx/uniscribe_unittest.cc', | 292 'gfx/uniscribe_unittest.cc', |
293 'gfx/vector_canvas_unittest.cc', | 293 'gfx/vector_canvas_unittest.cc', |
294 ]) | 294 ]) |
295 | 295 |
296 if env['PLATFORM'] == 'win32': | 296 if env['PLATFORM'] == 'win32': |
297 # Windows-specific tests. | 297 # Windows-specific tests. |
298 test_files.extend([ | 298 test_files.extend([ |
299 'file_version_info_unittest.cc', | 299 'file_version_info_unittest.cc', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 env.Alias('base', ['.', installed_base_unittests, icudata]) | 331 env.Alias('base', ['.', installed_base_unittests, icudata]) |
332 | 332 |
333 # TODO(sgk) should this be moved into base.lib like everything else? This will | 333 # TODO(sgk) should this be moved into base.lib like everything else? This will |
334 # require updating a bunch of other SConscripts which link directly against | 334 # require updating a bunch of other SConscripts which link directly against |
335 # this generated object file. | 335 # this generated object file. |
336 env_tests.StaticObject('perftimer.cc') | 336 env_tests.StaticObject('perftimer.cc') |
337 | 337 |
338 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 338 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
339 env_tests.StaticObject('run_all_perftests.cc') | 339 env_tests.StaticObject('run_all_perftests.cc') |
340 | 340 |
OLD | NEW |