| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 if env['PLATFORM'] == 'win32': | 75 if env['PLATFORM'] == 'win32': |
| 76 # Some of these aren't really Windows-specific, they're just here until | 76 # Some of these aren't really Windows-specific, they're just here until |
| 77 # we have the port versions working. | 77 # we have the port versions working. |
| 78 # TODO: move all these files to either the cross-platform block above or | 78 # TODO: move all these files to either the cross-platform block above or |
| 79 # a platform-specific block below. | 79 # a platform-specific block below. |
| 80 input_files.extend([ | 80 input_files.extend([ |
| 81 'clipboard_util.cc', | 81 'clipboard_util.cc', |
| 82 'event_recorder.cc', | 82 'event_recorder.cc', |
| 83 'file_version_info.cc', | 83 'file_version_info.cc', |
| 84 'hmac_win.cc', | |
| 85 | 84 |
| 86 # This group all depends on MessageLoop. | 85 # This group all depends on MessageLoop. |
| 87 'idle_timer.cc', | 86 'idle_timer.cc', |
| 88 'object_watcher.cc', | 87 'object_watcher.cc', |
| 89 'shared_event.cc', # Is this used? | 88 'shared_event.cc', # Is this used? |
| 90 'watchdog.cc', | 89 'watchdog.cc', |
| 91 | 90 |
| 92 'process.cc', | 91 'process.cc', |
| 93 | 92 |
| 94 'resource_util.cc', # Uses HMODULE, but may be abstractable. | 93 'resource_util.cc', # Uses HMODULE, but may be abstractable. |
| 95 | 94 |
| 96 'stats_table.cc', # Amanda is working on this(?). | 95 'stats_table.cc', # Amanda is working on this(?). |
| 97 ]) | 96 ]) |
| 98 | 97 |
| 99 if env['PLATFORM'] == 'win32': | 98 if env['PLATFORM'] == 'win32': |
| 100 input_files.extend([ | 99 input_files.extend([ |
| 101 'base_drag_source.cc', | 100 'base_drag_source.cc', |
| 102 'base_drop_target.cc', | 101 'base_drop_target.cc', |
| 103 'base_paths_win.cc', | 102 'base_paths_win.cc', |
| 104 'clipboard_win.cc', | 103 'clipboard_win.cc', |
| 105 'condition_variable_win.cc', | 104 'condition_variable_win.cc', |
| 106 'debug_on_start.cc', | 105 'debug_on_start.cc', |
| 107 'debug_util_win.cc', | 106 'debug_util_win.cc', |
| 108 'file_util_win.cc', | 107 'file_util_win.cc', |
| 108 'hmac_win.cc', |
| 109 'iat_patch.cc', | 109 'iat_patch.cc', |
| 110 'image_util.cc', | 110 'image_util.cc', |
| 111 'lock_impl_win.cc', | 111 'lock_impl_win.cc', |
| 112 'message_pump_win.cc', | 112 'message_pump_win.cc', |
| 113 'pe_image.cc', | 113 'pe_image.cc', |
| 114 'platform_thread_win.cc', | 114 'platform_thread_win.cc', |
| 115 'process_util_win.cc', | 115 'process_util_win.cc', |
| 116 'registry.cc', | 116 'registry.cc', |
| 117 'shared_memory_win.cc', | 117 'shared_memory_win.cc', |
| 118 'sys_string_conversions_win.cc', | 118 'sys_string_conversions_win.cc', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 139 'time_posix.cc', | 139 'time_posix.cc', |
| 140 'waitable_event_generic.cc', | 140 'waitable_event_generic.cc', |
| 141 ]) | 141 ]) |
| 142 | 142 |
| 143 if env['PLATFORM'] == 'darwin': | 143 if env['PLATFORM'] == 'darwin': |
| 144 input_files.extend([ | 144 input_files.extend([ |
| 145 'base_paths_mac.mm', | 145 'base_paths_mac.mm', |
| 146 'clipboard_mac.cc', | 146 'clipboard_mac.cc', |
| 147 'file_util_mac.mm', | 147 'file_util_mac.mm', |
| 148 'file_version_info_mac.mm', | 148 'file_version_info_mac.mm', |
| 149 'hmac_mac.cc', |
| 149 'sys_string_conversions_mac.cc', | 150 'sys_string_conversions_mac.cc', |
| 150 ]) | 151 ]) |
| 151 | 152 |
| 152 if env['PLATFORM'] == 'posix': | 153 if env['PLATFORM'] == 'posix': |
| 153 input_files.extend([ | 154 input_files.extend([ |
| 154 'atomicops_internals_x86_gcc.cc', | 155 'atomicops_internals_x86_gcc.cc', |
| 155 'base_paths_linux.cc', | 156 'base_paths_linux.cc', |
| 156 'file_util_linux.cc', | 157 'file_util_linux.cc', |
| 157 'sys_string_conversions_linux.cc', | 158 'sys_string_conversions_linux.cc', |
| 158 ]) | 159 ]) |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 env.Alias('base', ['.', installed_base_unittests, icudata]) | 322 env.Alias('base', ['.', installed_base_unittests, icudata]) |
| 322 | 323 |
| 323 # TODO(sgk) should this be moved into base.lib like everything else? This will | 324 # TODO(sgk) should this be moved into base.lib like everything else? This will |
| 324 # require updating a bunch of other SConscripts which link directly against | 325 # require updating a bunch of other SConscripts which link directly against |
| 325 # this generated object file. | 326 # this generated object file. |
| 326 env_tests.StaticObject('perftimer.cc') | 327 env_tests.StaticObject('perftimer.cc') |
| 327 | 328 |
| 328 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 329 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
| 329 env_tests.StaticObject('run_all_perftests.cc') | 330 env_tests.StaticObject('run_all_perftests.cc') |
| 330 | 331 |
| OLD | NEW |