OLD | NEW |
---|---|
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 Release settings for Chromium builds with Purify. | 6 Release settings for Chromium builds with Purify. |
7 """ | 7 """ |
8 | 8 |
9 Import("env") | 9 Import("env") |
10 | 10 |
11 env.ApplySConscript(['release_defaults.scons']) | 11 env.ApplySConscript(['release_defaults.scons']) |
12 | 12 |
13 env.Append( | 13 env.Append( |
14 CPPDEFINES = [ | 14 CPPDEFINES = [ |
15 'PURIFY', | 15 'PURIFY', |
16 ], | 16 ], |
17 ) | 17 ) |
18 | 18 |
19 if env.Bit('windows'): | 19 if env.Bit('windows'): |
20 env.Replace( | |
21 CHROMIUM_CC_OPT_FLAGS = [ | |
22 '/Od', # VCCLCompilerTool.Optimization="0" | |
23 ], | |
24 ), | |
20 env.Append( | 25 env.Append( |
21 CCFLAGS = [ | 26 CCFLAGS = [ |
22 '/Od', # VCCLCompilerTool.Optimization="0" | |
23 '/MT', # VCCLCompilerTool.RuntimeLibrary="0" | 27 '/MT', # VCCLCompilerTool.RuntimeLibrary="0" |
24 '/GS-', # VCCLCompilerTool.BufferSecurityCheck="false" | 28 '/GS-', # VCCLCompilerTool.BufferSecurityCheck="false" |
25 ] | 29 ], |
26 LINKFLAGS = [ | 30 LINKFLAGS = [ |
27 '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="1" | 31 '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2" |
Erik does not do reviews
2008/11/22 00:45:39
do we need to replace the /OPT:ICF that came in fr
| |
28 ], | 32 ], |
29 ) | 33 ) |
OLD | NEW |