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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 'waitable_event_unittest.cc', | 117 'waitable_event_unittest.cc', |
118 'watchdog_unittest.cc', | 118 'watchdog_unittest.cc', |
119 'word_iterator_unittest.cc', | 119 'word_iterator_unittest.cc', |
120 'worker_pool_unittest.cc', | 120 'worker_pool_unittest.cc', |
121 | 121 |
122 'gfx/convolver_unittest.cc', | 122 'gfx/convolver_unittest.cc', |
123 'gfx/image_operations_unittest.cc', | 123 'gfx/image_operations_unittest.cc', |
124 'gfx/native_theme_unittest.cc', | 124 'gfx/native_theme_unittest.cc', |
125 'gfx/png_codec_unittest.cc', | 125 'gfx/png_codec_unittest.cc', |
126 'gfx/rect_unittest.cc', | 126 'gfx/rect_unittest.cc', |
127 'gfx/uniscribe_unittest.cc', | |
128 'gfx/vector_canvas_unittest.cc', | 127 'gfx/vector_canvas_unittest.cc', |
129 ] | 128 ] |
130 | 129 |
131 if env['PLATFORM'] in ('posix', 'darwin'): | 130 if env['PLATFORM'] in ('posix', 'darwin'): |
132 #env.ChromeTestProgram('debug_message', ['debug_message.cc']) | 131 #env.ChromeTestProgram('debug_message', ['debug_message.cc']) |
133 | 132 |
134 # Remove files that still need to be ported from the input_files list. | 133 # Remove files that still need to be ported from the input_files list. |
135 # TODO(port): delete files from this list as they get ported. | 134 # TODO(port): delete files from this list as they get ported. |
136 to_be_ported_files = [ | 135 to_be_ported_files = [ |
137 # We have an implementation of idle_timer, but it's unclear if we want it | 136 # We have an implementation of idle_timer, but it's unclear if we want it |
138 # yet, so it's commented out for now. Leave this 'unported'. | 137 # yet, so it's commented out for now. Leave this 'unported'. |
139 'idletimer_unittest.cc', | 138 'idletimer_unittest.cc', |
140 | 139 |
141 'watchdog_unittest.cc', | 140 'watchdog_unittest.cc', |
142 'gfx/native_theme_unittest.cc', | 141 'gfx/native_theme_unittest.cc', |
143 'gfx/uniscribe_unittest.cc', | |
144 'gfx/vector_canvas_unittest.cc', | 142 'gfx/vector_canvas_unittest.cc', |
145 ] | 143 ] |
146 for remove in to_be_ported_files: | 144 for remove in to_be_ported_files: |
147 input_files.remove(remove) | 145 input_files.remove(remove) |
148 | 146 |
149 if env['PLATFORM'] == 'darwin': | 147 if env['PLATFORM'] == 'darwin': |
150 # Remove files that still need to be ported from the input_files list. | 148 # Remove files that still need to be ported from the input_files list. |
151 # TODO(port): delete files from this list as they get ported. | 149 # TODO(port): delete files from this list as they get ported. |
152 to_be_ported_files = [ | 150 to_be_ported_files = [ |
153 'process_util_unittest.cc', | 151 'process_util_unittest.cc', |
(...skipping 24 matching lines...) Expand all Loading... |
178 | 176 |
179 env.ChromeTestProgram('base_unittests', input_files) | 177 env.ChromeTestProgram('base_unittests', input_files) |
180 | 178 |
181 # TODO(sgk) should this be moved into base.lib like everything else? This will | 179 # TODO(sgk) should this be moved into base.lib like everything else? This will |
182 # require updating a bunch of other SConscripts which link directly against | 180 # require updating a bunch of other SConscripts which link directly against |
183 # this generated object file. | 181 # this generated object file. |
184 env.StaticObject('perftimer.cc') | 182 env.StaticObject('perftimer.cc') |
185 | 183 |
186 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 184 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
187 env.StaticObject('run_all_perftests.cc') | 185 env.StaticObject('run_all_perftests.cc') |
OLD | NEW |