| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 'clipboard_util.cc', | 84 'clipboard_util.cc', |
| 85 'event_recorder.cc', | 85 'event_recorder.cc', |
| 86 'file_version_info.cc', | 86 'file_version_info.cc', |
| 87 | 87 |
| 88 # This group all depends on MessageLoop. | 88 # This group all depends on MessageLoop. |
| 89 'idle_timer.cc', | 89 'idle_timer.cc', |
| 90 'object_watcher.cc', | 90 'object_watcher.cc', |
| 91 'shared_event.cc', # Is this used? | 91 'shared_event.cc', # Is this used? |
| 92 'watchdog.cc', | 92 'watchdog.cc', |
| 93 | 93 |
| 94 'process.cc', | |
| 95 | |
| 96 'resource_util.cc', # Uses HMODULE, but may be abstractable. | 94 'resource_util.cc', # Uses HMODULE, but may be abstractable. |
| 97 ]) | 95 ]) |
| 98 | 96 |
| 99 if env['PLATFORM'] == 'win32': | 97 if env['PLATFORM'] == 'win32': |
| 100 input_files.extend([ | 98 input_files.extend([ |
| 101 'base_drag_source.cc', | 99 'base_drag_source.cc', |
| 102 'base_drop_target.cc', | 100 'base_drop_target.cc', |
| 103 'base_paths_win.cc', | 101 'base_paths_win.cc', |
| 104 'clipboard_win.cc', | 102 'clipboard_win.cc', |
| 105 'condition_variable_win.cc', | 103 'condition_variable_win.cc', |
| 106 'cpu.cc', | 104 'cpu.cc', |
| 107 'debug_on_start.cc', | 105 'debug_on_start.cc', |
| 108 'debug_util_win.cc', | 106 'debug_util_win.cc', |
| 109 'file_util_win.cc', | 107 'file_util_win.cc', |
| 110 'hmac_win.cc', | 108 'hmac_win.cc', |
| 111 'iat_patch.cc', | 109 'iat_patch.cc', |
| 112 'image_util.cc', | 110 'image_util.cc', |
| 113 'lock_impl_win.cc', | 111 'lock_impl_win.cc', |
| 114 'message_pump_win.cc', | 112 'message_pump_win.cc', |
| 115 'pe_image.cc', | 113 'pe_image.cc', |
| 116 'platform_thread_win.cc', | 114 'platform_thread_win.cc', |
| 117 'process_util_win.cc', | 115 'process_util_win.cc', |
| 116 'process_win.cc', |
| 118 'rand_util_win.cc', | 117 'rand_util_win.cc', |
| 119 'registry.cc', | 118 'registry.cc', |
| 120 'shared_memory_win.cc', | 119 'shared_memory_win.cc', |
| 121 'sys_info_win.cc', | 120 'sys_info_win.cc', |
| 122 'sys_string_conversions_win.cc', | 121 'sys_string_conversions_win.cc', |
| 123 'system_monitor_win.cc', | 122 'system_monitor_win.cc', |
| 124 'thread_local_storage_win.cc', | 123 'thread_local_storage_win.cc', |
| 125 'thread_local_win.cc', | 124 'thread_local_win.cc', |
| 126 'time_win.cc', | 125 'time_win.cc', |
| 127 'waitable_event_win.cc', | 126 'waitable_event_win.cc', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 ]) | 163 ]) |
| 165 | 164 |
| 166 if env['PLATFORM'] == 'posix': | 165 if env['PLATFORM'] == 'posix': |
| 167 input_files.extend([ | 166 input_files.extend([ |
| 168 'atomicops_internals_x86_gcc.cc', | 167 'atomicops_internals_x86_gcc.cc', |
| 169 'base_paths_linux.cc', | 168 'base_paths_linux.cc', |
| 170 'file_util_linux.cc', | 169 'file_util_linux.cc', |
| 171 'hmac_nss.cc', | 170 'hmac_nss.cc', |
| 172 'message_pump_glib.cc', | 171 'message_pump_glib.cc', |
| 173 'nss_init.cc', | 172 'nss_init.cc', |
| 173 'process_posix.cc', |
| 174 'process_util_linux.cc', |
| 174 'sys_string_conversions_linux.cc', | 175 'sys_string_conversions_linux.cc', |
| 175 'worker_pool.cc', | 176 'worker_pool.cc', |
| 176 ]) | 177 ]) |
| 177 | 178 |
| 178 env.ChromeStaticLibrary('base', input_files) | 179 env.ChromeStaticLibrary('base', input_files) |
| 179 | 180 |
| 180 | 181 |
| 181 env_tests.Prepend( | 182 env_tests.Prepend( |
| 182 CPPPATH = [ | 183 CPPPATH = [ |
| 183 '$GTEST_DIR/include', | 184 '$GTEST_DIR/include', |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 348 |
| 348 env.Alias('base', ['.', installed_base_unittests]) | 349 env.Alias('base', ['.', installed_base_unittests]) |
| 349 | 350 |
| 350 # TODO(sgk) should this be moved into base.lib like everything else? This will | 351 # 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 | 352 # require updating a bunch of other SConscripts which link directly against |
| 352 # this generated object file. | 353 # this generated object file. |
| 353 env_tests.StaticObject('perftimer.cc') | 354 env_tests.StaticObject('perftimer.cc') |
| 354 | 355 |
| 355 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 356 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
| 356 env_tests.StaticObject('run_all_perftests.cc') | 357 env_tests.StaticObject('run_all_perftests.cc') |
| OLD | NEW |