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

Side by Side Diff: base/base_unittests.scons

Issue 8864: 1) Add a new MULTIPROCESS_TEST_MAIN macro to store child process names... (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 | « base/base_unittest_exported_symbols.version ('k') | base/multiprocess_test.h » ('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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 '/FIXED:No', 53 '/FIXED:No',
54 54
55 '/safeseh', 55 '/safeseh',
56 '/dynamicbase', 56 '/dynamicbase',
57 '/ignore:4199', 57 '/ignore:4199',
58 '/nxcompat', 58 '/nxcompat',
59 ], 59 ],
60 ) 60 )
61 61
62 if env['PLATFORM'] == 'posix': 62 if env['PLATFORM'] == 'posix':
63 # Explicity list the functions we want to export from the base_unittest
64 # executable in the following file.
65 env['EXPORTED_SYMBOLS_FILE'] = \
66 env.File('$CHROME_SRC_DIR/base/base_unittest_exported_symbols.version')
67
68 env.Append( 63 env.Append(
69 LIBS = [ 64 LIBS = [
70 'event', 65 'event',
71 ], 66 ],
72 LINKFLAGS = [
73 '-Xlinker',
74 '--dynamic-list=$EXPORTED_SYMBOLS_FILE'
75 ],
76 ) 67 )
77 68
78 # These test files work on *all* platforms; tests that don't work 69 # These test files work on *all* platforms; tests that don't work
79 # cross-platform live below. 70 # cross-platform live below.
80 input_files = [ 71 input_files = [
81 'at_exit_unittest.cc', 72 'at_exit_unittest.cc',
82 'atomicops_unittest.cc', 73 'atomicops_unittest.cc',
83 'clipboard_unittest.cc', 74 'clipboard_unittest.cc',
84 'command_line_unittest.cc', 75 'command_line_unittest.cc',
85 'condition_variable_unittest.cc', 76 'condition_variable_unittest.cc',
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 182
192 env.Alias('base', installed_base_unittests) 183 env.Alias('base', installed_base_unittests)
193 184
194 # TODO(sgk) should this be moved into base.lib like everything else? This will 185 # TODO(sgk) should this be moved into base.lib like everything else? This will
195 # require updating a bunch of other SConscripts which link directly against 186 # require updating a bunch of other SConscripts which link directly against
196 # this generated object file. 187 # this generated object file.
197 env.StaticObject('perftimer.cc') 188 env.StaticObject('perftimer.cc')
198 189
199 # Since run_all_perftests supplies a main, we cannot have it in base.lib 190 # Since run_all_perftests supplies a main, we cannot have it in base.lib
200 env.StaticObject('run_all_perftests.cc') 191 env.StaticObject('run_all_perftests.cc')
OLDNEW
« no previous file with comments | « base/base_unittest_exported_symbols.version ('k') | base/multiprocess_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698