| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 ], | 224 ], |
| 225 ) | 225 ) |
| 226 | 226 |
| 227 # These test files work on *all* platforms; tests that don't work | 227 # These test files work on *all* platforms; tests that don't work |
| 228 # cross-platform live below. | 228 # cross-platform live below. |
| 229 test_files = [ | 229 test_files = [ |
| 230 'at_exit_unittest.cc', | 230 'at_exit_unittest.cc', |
| 231 'atomicops_unittest.cc', | 231 'atomicops_unittest.cc', |
| 232 'command_line_unittest.cc', | 232 'command_line_unittest.cc', |
| 233 'condition_variable_unittest.cc', | 233 'condition_variable_unittest.cc', |
| 234 'file_util_unittest.cc', |
| 234 'histogram_unittest.cc', | 235 'histogram_unittest.cc', |
| 235 'json_reader_unittest.cc', | 236 'json_reader_unittest.cc', |
| 236 'json_writer_unittest.cc', | 237 'json_writer_unittest.cc', |
| 237 'lazy_instance_unittest.cc', | 238 'lazy_instance_unittest.cc', |
| 238 'linked_ptr_unittest.cc', | 239 'linked_ptr_unittest.cc', |
| 239 'message_loop_unittest.cc', | 240 'message_loop_unittest.cc', |
| 240 'observer_list_unittest.cc', | 241 'observer_list_unittest.cc', |
| 241 'path_service_unittest.cc', | 242 'path_service_unittest.cc', |
| 242 'pickle_unittest.cc', | 243 'pickle_unittest.cc', |
| 243 'pr_time_unittest.cc', | 244 'pr_time_unittest.cc', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 269 'gfx/rect_unittest.cc', | 270 'gfx/rect_unittest.cc', |
| 270 ] | 271 ] |
| 271 | 272 |
| 272 if env['PLATFORM'] == 'win32': | 273 if env['PLATFORM'] == 'win32': |
| 273 # These tests aren't really Windows-specific, they're just here until | 274 # These tests aren't really Windows-specific, they're just here until |
| 274 # we have the port versions working. | 275 # we have the port versions working. |
| 275 env_tests.ChromeTestProgram('debug_message', ['debug_message.cc']) | 276 env_tests.ChromeTestProgram('debug_message', ['debug_message.cc']) |
| 276 | 277 |
| 277 test_files.extend([ | 278 test_files.extend([ |
| 278 'clipboard_unittest.cc', | 279 'clipboard_unittest.cc', |
| 279 'file_util_unittest.cc', | |
| 280 'hmac_unittest.cc', | 280 'hmac_unittest.cc', |
| 281 'idletimer_unittest.cc', | 281 'idletimer_unittest.cc', |
| 282 'process_util_unittest.cc', | 282 'process_util_unittest.cc', |
| 283 'run_all_unittests.cc', | 283 'run_all_unittests.cc', |
| 284 'shared_event_unittest.cc', | 284 'shared_event_unittest.cc', |
| 285 'stats_table_unittest.cc', | 285 'stats_table_unittest.cc', |
| 286 'thread_local_storage_unittest.cc', | 286 'thread_local_storage_unittest.cc', |
| 287 'watchdog_unittest.cc', | 287 'watchdog_unittest.cc', |
| 288 'gfx/native_theme_unittest.cc', | 288 'gfx/native_theme_unittest.cc', |
| 289 'gfx/uniscribe_unittest.cc', | 289 'gfx/uniscribe_unittest.cc', |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 env.Alias('base', ['.', installed_base_unittests, icudata]) | 323 env.Alias('base', ['.', installed_base_unittests, icudata]) |
| 324 | 324 |
| 325 # TODO(sgk) should this be moved into base.lib like everything else? This will | 325 # TODO(sgk) should this be moved into base.lib like everything else? This will |
| 326 # require updating a bunch of other SConscripts which link directly against | 326 # require updating a bunch of other SConscripts which link directly against |
| 327 # this generated object file. | 327 # this generated object file. |
| 328 env_tests.StaticObject('perftimer.cc') | 328 env_tests.StaticObject('perftimer.cc') |
| 329 | 329 |
| 330 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 330 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
| 331 env_tests.StaticObject('run_all_perftests.cc') | 331 env_tests.StaticObject('run_all_perftests.cc') |
| 332 | 332 |
| OLD | NEW |