| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 if env['PLATFORM'] == 'darwin': | 152 if env['PLATFORM'] == 'darwin': |
| 153 input_files.extend([ | 153 input_files.extend([ |
| 154 'base_paths_mac.mm', | 154 'base_paths_mac.mm', |
| 155 'clipboard_mac.mm', | 155 'clipboard_mac.mm', |
| 156 'file_util_mac.mm', | 156 'file_util_mac.mm', |
| 157 'file_version_info_mac.mm', | 157 'file_version_info_mac.mm', |
| 158 'hmac_mac.cc', | 158 'hmac_mac.cc', |
| 159 'message_pump_mac.mm', | 159 'message_pump_mac.mm', |
| 160 'platform_thread_mac.mm', | 160 'platform_thread_mac.mm', |
| 161 'scoped_nsautorelease_pool.mm', | 161 'scoped_nsautorelease_pool.mm', |
| 162 'sys_string_conversions_mac.cc', | 162 'sys_string_conversions_mac.mm', |
| 163 'worker_pool_mac.mm', | 163 'worker_pool_mac.mm', |
| 164 ]) | 164 ]) |
| 165 | 165 |
| 166 if env['PLATFORM'] == 'posix': | 166 if env['PLATFORM'] == 'posix': |
| 167 input_files.extend([ | 167 input_files.extend([ |
| 168 'atomicops_internals_x86_gcc.cc', | 168 'atomicops_internals_x86_gcc.cc', |
| 169 'base_paths_linux.cc', | 169 'base_paths_linux.cc', |
| 170 'file_util_linux.cc', | 170 'file_util_linux.cc', |
| 171 'hmac_nss.cc', | 171 'hmac_nss.cc', |
| 172 'message_pump_glib.cc', | 172 'message_pump_glib.cc', |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 347 |
| 348 env.Alias('base', ['.', installed_base_unittests]) | 348 env.Alias('base', ['.', installed_base_unittests]) |
| 349 | 349 |
| 350 # TODO(sgk) should this be moved into base.lib like everything else? This will | 350 # TODO(sgk) should this be moved into base.lib like everything else? This will |
| 351 # require updating a bunch of other SConscripts which link directly against | 351 # require updating a bunch of other SConscripts which link directly against |
| 352 # this generated object file. | 352 # this generated object file. |
| 353 env_tests.StaticObject('perftimer.cc') | 353 env_tests.StaticObject('perftimer.cc') |
| 354 | 354 |
| 355 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 355 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
| 356 env_tests.StaticObject('run_all_perftests.cc') | 356 env_tests.StaticObject('run_all_perftests.cc') |
| OLD | NEW |