OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 __doc__ = """ | |
6 Release settings for Chromium builds with DOM statistics. | |
7 """ | |
8 | |
9 Import("env") | |
10 | |
11 env.ApplySConscript(['release_defaults.scons']) | |
12 | |
13 env.Append( | |
14 CPPDEFINES = [ | |
15 'NDEBUG', | |
16 'ENABLE_DOM_STATS_COUNTERS', | |
17 ], | |
18 ) | |
19 | |
20 if env.Bit('windows'): | |
21 env.Replace( | |
22 CHROMIUM_LINK_OPT_FLAGS = [ | |
23 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" | |
24 '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2" | |
25 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" | |
26 ], | |
27 ), | |
28 env.Append( | |
29 CCFLAGS = [ | |
30 '/Oy-', | |
31 ], | |
32 LINKFLAGS = [ | |
33 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" | |
34 ], | |
35 ) | |
OLD | NEW |