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

Side by Side Diff: base/base_unittests.scons

Issue 13039: Fixes and enhancements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | « no previous file | 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
11 env = env.Clone() 11 env = env.Clone()
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 '$BASE_DIR/using_base.scons', 14 '$BASE_DIR/using_base.scons',
15 '$BASE_DIR/gfx/using_base_gfx.scons', 15 '$BASE_DIR/gfx/using_base_gfx.scons',
16 '$GTEST_DIR/../using_gtest.scons', 16 '$GTEST_DIR/../using_gtest.scons',
17 '$ICU38_DIR/using_icu38.scons', 17 '$ICU38_DIR/using_icu38.scons',
18 '$LIBPNG_DIR/using_libpng.scons', 18 '$LIBPNG_DIR/using_libpng.scons',
19 '$SKIA_DIR/using_skia.scons', 19 '$SKIA_DIR/using_skia.scons',
20 '$ZLIB_DIR/using_zlib.scons', 20 '$ZLIB_DIR/using_zlib.scons',
21 ]) 21 ])
22 22
23 if env['PLATFORM'] in ('posix', 'darwin'): 23 if env['PLATFORM'] in ('posix', 'darwin'):
24 env.ApplySConscript([ 24 env.ApplySConscript([
25 '$LIBEVENT_DIR/using_libevent.scons', 25 '$LIBEVENT_DIR/using_libevent.scons',
26 ]) 26 ])
27 27
28 env.Prepend(
29 CPPDEFINES = [
30 'GOOGLE_CHROME_BUILD',
31 ],
32 )
33
34 if env['PLATFORM'] == 'win32': 28 if env['PLATFORM'] == 'win32':
35 env.Prepend( 29 env.Prepend(
36 CCFLAGS = [ 30 CCFLAGS = [
37 '/TP', 31 '/TP',
38 '/WX', 32 '/WX',
39 ], 33 ],
40 ) 34 )
41 35
42 if env['PLATFORM'] == 'posix': 36 if env['PLATFORM'] == 'posix':
43 env.Append( 37 env.Append(
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 145
152 env.ChromeTestProgram('base_unittests', input_files) 146 env.ChromeTestProgram('base_unittests', input_files)
153 147
154 # TODO(sgk) should this be moved into base.lib like everything else? This will 148 # TODO(sgk) should this be moved into base.lib like everything else? This will
155 # require updating a bunch of other SConscripts which link directly against 149 # require updating a bunch of other SConscripts which link directly against
156 # this generated object file. 150 # this generated object file.
157 env.StaticObject('perftimer.cc') 151 env.StaticObject('perftimer.cc')
158 152
159 # Since run_all_perftests supplies a main, we cannot have it in base.lib 153 # Since run_all_perftests supplies a main, we cannot have it in base.lib
160 env.StaticObject('run_all_perftests.cc') 154 env.StaticObject('run_all_perftests.cc')
OLDNEW
« no previous file with comments | « no previous file | build/SConscript.main » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698