| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 'tracked_objects_unittest.cc', | 112 'tracked_objects_unittest.cc', |
| 113 'tuple_unittest.cc', | 113 'tuple_unittest.cc', |
| 114 'values_unittest.cc', | 114 'values_unittest.cc', |
| 115 'version_unittest.cc', | 115 'version_unittest.cc', |
| 116 'waitable_event_unittest.cc', | 116 'waitable_event_unittest.cc', |
| 117 'waitable_event_watcher_unittest.cc', | 117 'waitable_event_watcher_unittest.cc', |
| 118 'watchdog_unittest.cc', | 118 'watchdog_unittest.cc', |
| 119 'win_util_unittest.cc', | 119 'win_util_unittest.cc', |
| 120 'wmi_util_unittest.cc', | 120 'wmi_util_unittest.cc', |
| 121 'word_iterator_unittest.cc', | 121 'word_iterator_unittest.cc', |
| 122 'worker_pool_unittest.cc' |
| 122 ]), | 123 ]), |
| 123 | 124 |
| 124 MSVSFilter('gfx_tests', [ | 125 MSVSFilter('gfx_tests', [ |
| 125 'gfx/jpeg_codec_unittest.cc', | 126 'gfx/jpeg_codec_unittest.cc', |
| 126 'gfx/png_codec_unittest.cc', | 127 'gfx/png_codec_unittest.cc', |
| 127 ]), | 128 ]), |
| 128 ]) | 129 ]) |
| 129 | 130 |
| 130 if env.Bit('posix'): | 131 if env.Bit('posix'): |
| 131 # Remove files that still need to be ported from the input_files list. | 132 # Remove files that still need to be ported from the input_files list. |
| 132 # TODO(port): delete files from this list as they get ported. | 133 # TODO(port): delete files from this list as they get ported. |
| 133 input_files.Remove( | 134 input_files.Remove( |
| 134 # We have an implementation of idle_timer, but it's unclear if we want it | 135 # We have an implementation of idle_timer, but it's unclear if we want it |
| 135 # yet, so it's commented out for now. Leave this 'unported'. | 136 # yet, so it's commented out for now. Leave this 'unported'. |
| 136 'idletimer_unittest.cc', | 137 'idletimer_unittest.cc', |
| 137 | 138 |
| 138 'gfx/native_theme_unittest.cc', | 139 'gfx/native_theme_unittest.cc', |
| 139 ) | 140 ) |
| 140 | 141 |
| 141 if env.Bit('linux'): | 142 if env.Bit('linux'): |
| 142 input_files.Append( | 143 input_files.Append( |
| 143 'data_pack_unittest.cc', | 144 'data_pack_unittest.cc', |
| 145 'worker_pool_linux_unittest.cc' |
| 144 ) | 146 ) |
| 145 | 147 |
| 146 if env.Bit('mac'): | 148 if env.Bit('mac'): |
| 147 # Remove files that still need to be ported from the input_files list. | 149 # Remove files that still need to be ported from the input_files list. |
| 148 # TODO(port): delete files from this list as they get ported. | 150 # TODO(port): delete files from this list as they get ported. |
| 149 input_files.Remove( | 151 input_files.Remove( |
| 150 'process_util_unittest.cc', | 152 'process_util_unittest.cc', |
| 151 'stats_table_unittest.cc', | 153 'stats_table_unittest.cc', |
| 152 ) | 154 ) |
| 153 | 155 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 '$(SolutionDir)../testing/using_gtest.vsprops', | 227 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 226 ]) | 228 ]) |
| 227 | 229 |
| 228 # TODO(sgk) should this be moved into base.lib like everything else? This will | 230 # TODO(sgk) should this be moved into base.lib like everything else? This will |
| 229 # require updating a bunch of other SConscripts which link directly against | 231 # require updating a bunch of other SConscripts which link directly against |
| 230 # this generated object file. | 232 # this generated object file. |
| 231 env.StaticObject('perftimer.cc') | 233 env.StaticObject('perftimer.cc') |
| 232 | 234 |
| 233 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 235 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
| 234 env.StaticObject('run_all_perftests.cc') | 236 env.StaticObject('run_all_perftests.cc') |
| OLD | NEW |