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

Side by Side Diff: net/net_perftests.scons

Issue 10857: Add OPT=1 flag to build optimized on Linux. (Closed)
Patch Set: alles ist gut 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
« no previous file with comments | « net/base/host_resolver_unittest.cc ('k') | third_party/dmg_fp/dmg_fp.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
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 '/DELAYLOAD:"dwmapi.dll"', 50 '/DELAYLOAD:"dwmapi.dll"',
51 '/DELAYLOAD:"uxtheme.dll"', 51 '/DELAYLOAD:"uxtheme.dll"',
52 '/MACHINE:X86', 52 '/MACHINE:X86',
53 '/FIXED:No', 53 '/FIXED:No',
54 '/safeseh', 54 '/safeseh',
55 '/dynamicbase', 55 '/dynamicbase',
56 '/ignore:4199', 56 '/ignore:4199',
57 '/nxcompat', 57 '/nxcompat',
58 ], 58 ],
59 ) 59 )
60 elif env['PLATFORM'] == 'posix':
61 env.Append(
62 # TODO(port): disk_cache_perftest breaks strict aliasing rules.
63 CCFLAGS = ['-fno-strict-aliasing'],
64 )
60 65
61 input_files = [ 66 input_files = [
62 'base/cookie_monster_perftest.cc', 67 'base/cookie_monster_perftest.cc',
63 'disk_cache/disk_cache_perftest.cc', 68 'disk_cache/disk_cache_perftest.cc',
64 'disk_cache/disk_cache_test_util$OBJSUFFIX', 69 'disk_cache/disk_cache_test_util$OBJSUFFIX',
65 70
66 # TODO(sgk): avoid using .cc from base directly 71 # TODO(sgk): avoid using .cc from base directly
67 '$OBJ_ROOT/base/run_all_perftests$OBJSUFFIX', 72 '$OBJ_ROOT/base/run_all_perftests$OBJSUFFIX',
68 '$OBJ_ROOT/base/perftimer$OBJSUFFIX', 73 '$OBJ_ROOT/base/perftimer$OBJSUFFIX',
69 ] 74 ]
70 75
71 if env['PLATFORM'] in ('posix', 'win32'): 76 if env['PLATFORM'] in ('posix', 'win32'):
72 77
73 env.ChromeTestProgram('net_perftests', input_files) 78 env.ChromeTestProgram('net_perftests', input_files)
OLDNEW
« no previous file with comments | « net/base/host_resolver_unittest.cc ('k') | third_party/dmg_fp/dmg_fp.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698