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 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building base_unittests{,.exe}. | 6 Configuration for building base_unittests{,.exe}. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 if not env.Bit('windows'): | 155 if not env.Bit('windows'): |
156 # Remove Windows-specific tests. | 156 # Remove Windows-specific tests. |
157 input_files.Remove( | 157 input_files.Remove( |
158 'directory_watcher_unittest.cc', | 158 'directory_watcher_unittest.cc', |
159 'file_version_info_unittest.cc', | 159 'file_version_info_unittest.cc', |
160 'object_watcher_unittest.cc', | 160 'object_watcher_unittest.cc', |
161 'pe_image_unittest.cc', | 161 'pe_image_unittest.cc', |
162 'scoped_bstr_win_unittest.cc', | 162 'scoped_bstr_win_unittest.cc', |
163 'scoped_comptr_win_unittest.cc', | 163 'scoped_comptr_win_unittest.cc', |
164 'system_monitor_unittest.cc', | 164 'system_monitor_unittest.cc', |
165 'sys_string_conversions_unittest.cc', | |
166 'time_win_unittest.cc', | 165 'time_win_unittest.cc', |
167 'win_util_unittest.cc', | 166 'win_util_unittest.cc', |
168 'wmi_util_unittest.cc', | 167 'wmi_util_unittest.cc', |
169 ) | 168 ) |
170 | 169 |
171 if env.Bit('mac'): | 170 if env.Bit('mac'): |
172 # Mac-specific tests. | 171 # Mac-specific tests. |
173 input_files.Extend([ | 172 input_files.Extend([ |
174 'mac_util_unittest.cc', | 173 'mac_util_unittest.cc', |
175 ]) | 174 ]) |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 '$(SolutionDir)../testing/using_gtest.vsprops', | 226 '$(SolutionDir)../testing/using_gtest.vsprops', |
228 ]) | 227 ]) |
229 | 228 |
230 # TODO(sgk) should this be moved into base.lib like everything else? This will | 229 # TODO(sgk) should this be moved into base.lib like everything else? This will |
231 # require updating a bunch of other SConscripts which link directly against | 230 # require updating a bunch of other SConscripts which link directly against |
232 # this generated object file. | 231 # this generated object file. |
233 env.StaticObject('perftimer.cc') | 232 env.StaticObject('perftimer.cc') |
234 | 233 |
235 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 234 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
236 env.StaticObject('run_all_perftests.cc') | 235 env.StaticObject('run_all_perftests.cc') |
OLD | NEW |