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

Side by Side Diff: net/net_perftests.scons

Issue 11478: Finish replicating the *.vsprops structure. (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 | « net/net_lib.scons ('k') | net/net_resources.scons » ('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 the net_perftests{,.exe} executable. 6 Configuration for building the net_perftests{,.exe} executable.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
11 env = env.Clone() 11 env = env.Clone()
12 12
13 env.SConscript([ 13 env.ApplySConscript([
14 # On Linux, dependencies must follow dependents, so...
15 # 1) net must come before base and modp_b64.
16 # 2) bzip2 must come before base.
17 '$NET_DIR/using_net.scons',
18
19 '$BASE_DIR/using_base.scons', 14 '$BASE_DIR/using_base.scons',
20 '$CHROME_SRC_DIR/build/using_googleurl.scons', 15 '$CHROME_SRC_DIR/build/using_googleurl.scons',
21 '$GTEST_DIR/../using_gtest.scons', 16 '$GTEST_DIR/../using_gtest.scons',
22 '$ICU38_DIR/using_icu38.scons', 17 '$ICU38_DIR/using_icu38.scons',
23 '$MODP_B64_DIR/using_modp_b64.scons', 18 '$MODP_B64_DIR/using_modp_b64.scons',
24 ], {'env':env}) 19 '$NET_DIR/using_net.scons',
20 ])
25 21
26 if env['PLATFORM'] in ('posix', 'darwin'): 22 if env['PLATFORM'] in ('posix', 'darwin'):
27 env.SConscript([ 23 env.SConscript([
28 '$LIBEVENT_DIR/using_libevent.scons', 24 '$LIBEVENT_DIR/using_libevent.scons',
29 ], {'env':env}) 25 ], {'env':env})
30 26
31 env.Prepend(
32 CPPPATH = [
33 '$CHROME_SRC_DIR',
34 ],
35 )
36
37 if env['PLATFORM'] == 'win32': 27 if env['PLATFORM'] == 'win32':
38 env.Prepend( 28 env.Prepend(
39 CCFLAGS = [ 29 CCFLAGS = [
40 '/TP',
41 '/WX', 30 '/WX',
42 ], 31 ],
43 CPPDEFINES = [
44 '_WIN32_WINNT=0x0600',
45 'WINVER=0x0600',
46 '_HAS_EXCEPTIONS=0',
47 ],
48 LINKFLAGS = [
49 '/DELAYLOAD:"dwmapi.dll"',
50 '/DELAYLOAD:"uxtheme.dll"',
51 '/MACHINE:X86',
52 '/FIXED:No',
53 '/safeseh',
54 '/dynamicbase',
55 '/ignore:4199',
56 '/nxcompat',
57 ],
58 ) 32 )
59 elif env['PLATFORM'] == 'posix': 33 elif env['PLATFORM'] == 'posix':
60 env.Append( 34 env.Append(
61 # TODO(port): disk_cache_perftest breaks strict aliasing rules. 35 # TODO(port): disk_cache_perftest breaks strict aliasing rules.
62 CCFLAGS = ['-fno-strict-aliasing'], 36 CCFLAGS = ['-fno-strict-aliasing'],
63 ) 37 )
64 38
65 input_files = [ 39 input_files = [
66 'base/cookie_monster_perftest.cc', 40 'base/cookie_monster_perftest.cc',
67 'disk_cache/disk_cache_perftest.cc', 41 'disk_cache/disk_cache_perftest.cc',
68 'disk_cache/disk_cache_test_util$OBJSUFFIX', 42 'disk_cache/disk_cache_test_util$OBJSUFFIX',
69 43
70 # TODO(sgk): avoid using .cc from base directly 44 # TODO(sgk): avoid using .cc from base directly
71 '$OBJ_ROOT/base/run_all_perftests$OBJSUFFIX', 45 '$OBJ_ROOT/base/run_all_perftests$OBJSUFFIX',
72 '$OBJ_ROOT/base/perftimer$OBJSUFFIX', 46 '$OBJ_ROOT/base/perftimer$OBJSUFFIX',
73 ] 47 ]
74 48
75 if env['PLATFORM'] in ('posix', 'win32'): 49 if env['PLATFORM'] in ('posix', 'win32'):
76 50
77 env.ChromeTestProgram('net_perftests', input_files) 51 env.ChromeTestProgram('net_perftests', input_files)
OLDNEW
« no previous file with comments | « net/net_lib.scons ('k') | net/net_resources.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698