Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: base/base_unittests.scons

Issue 11244: Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | base/build/base_gfx.vcproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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/vector_canvas_unittest.cc',
128 ] 127 ]
129 128
130 if env['PLATFORM'] in ('posix', 'darwin'): 129 if env['PLATFORM'] in ('posix', 'darwin'):
131 #env.ChromeTestProgram('debug_message', ['debug_message.cc']) 130 #env.ChromeTestProgram('debug_message', ['debug_message.cc'])
132 131
133 # 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.
134 # TODO(port): delete files from this list as they get ported. 133 # TODO(port): delete files from this list as they get ported.
135 to_be_ported_files = [ 134 to_be_ported_files = [
136 # 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
137 # yet, so it's commented out for now. Leave this 'unported'. 136 # yet, so it's commented out for now. Leave this 'unported'.
138 'idletimer_unittest.cc', 137 'idletimer_unittest.cc',
139 138
140 'watchdog_unittest.cc', 139 'watchdog_unittest.cc',
141 'gfx/native_theme_unittest.cc', 140 'gfx/native_theme_unittest.cc',
142 'gfx/vector_canvas_unittest.cc',
143 ] 141 ]
144 for remove in to_be_ported_files: 142 for remove in to_be_ported_files:
145 input_files.remove(remove) 143 input_files.remove(remove)
146 144
147 if env['PLATFORM'] == 'darwin': 145 if env['PLATFORM'] == 'darwin':
148 # Remove files that still need to be ported from the input_files list. 146 # Remove files that still need to be ported from the input_files list.
149 # TODO(port): delete files from this list as they get ported. 147 # TODO(port): delete files from this list as they get ported.
150 to_be_ported_files = [ 148 to_be_ported_files = [
151 'process_util_unittest.cc', 149 'process_util_unittest.cc',
152 'stats_table_unittest.cc', 150 'stats_table_unittest.cc',
(...skipping 23 matching lines...) Expand all
176 174
177 env.ChromeTestProgram('base_unittests', input_files) 175 env.ChromeTestProgram('base_unittests', input_files)
178 176
179 # TODO(sgk) should this be moved into base.lib like everything else? This will 177 # TODO(sgk) should this be moved into base.lib like everything else? This will
180 # require updating a bunch of other SConscripts which link directly against 178 # require updating a bunch of other SConscripts which link directly against
181 # this generated object file. 179 # this generated object file.
182 env.StaticObject('perftimer.cc') 180 env.StaticObject('perftimer.cc')
183 181
184 # Since run_all_perftests supplies a main, we cannot have it in base.lib 182 # Since run_all_perftests supplies a main, we cannot have it in base.lib
185 env.StaticObject('run_all_perftests.cc') 183 env.StaticObject('run_all_perftests.cc')
OLDNEW
« no previous file with comments | « DEPS ('k') | base/build/base_gfx.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698