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

Side by Side Diff: base/base_unittests.scons

Issue 8207: Fix SCons modules build on Windows:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 months 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 | « base/base.scons ('k') | build/SConscript.main » ('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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 ]) 175 ])
176 176
177 if env['PLATFORM'] == 'darwin': 177 if env['PLATFORM'] == 'darwin':
178 # Mac-specific tests. 178 # Mac-specific tests.
179 input_files.extend([ 179 input_files.extend([
180 'platform_test_mac.mm', 180 'platform_test_mac.mm',
181 ]) 181 ])
182 182
183 base_unittests = env.ChromeTestProgram('base_unittests', input_files) 183 base_unittests = env.ChromeTestProgram('base_unittests', input_files)
184 184
185 env.Depends(base_unittests, '$EXPORTED_SYMBOLS_FILE') 185 if env['PLATFORM'] == 'posix':
186 env.Depends(base_unittests, '$EXPORTED_SYMBOLS_FILE')
186 187
187 # Install up a level to allow unit test path assumptions to be valid. 188 # Install up a level to allow unit test path assumptions to be valid.
188 installed_base_unittests = env.Install('$TARGET_ROOT', base_unittests) 189 installed_base_unittests = env.Install('$TARGET_ROOT', base_unittests)
189 190
190 env.Alias('base', installed_base_unittests) 191 env.Alias('base', installed_base_unittests)
191 192
192 # TODO(sgk) should this be moved into base.lib like everything else? This will 193 # TODO(sgk) should this be moved into base.lib like everything else? This will
193 # require updating a bunch of other SConscripts which link directly against 194 # require updating a bunch of other SConscripts which link directly against
194 # this generated object file. 195 # this generated object file.
195 env.StaticObject('perftimer.cc') 196 env.StaticObject('perftimer.cc')
196 197
197 # Since run_all_perftests supplies a main, we cannot have it in base.lib 198 # Since run_all_perftests supplies a main, we cannot have it in base.lib
198 env.StaticObject('run_all_perftests.cc') 199 env.StaticObject('run_all_perftests.cc')
OLDNEW
« no previous file with comments | « base/base.scons ('k') | build/SConscript.main » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698