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 Purify. | |
7 """ | |
8 | |
9 Import("env") | |
10 | |
11 env.ApplySConscript(['release_defaults.scons']) | |
12 | |
13 env.Append( | |
14 CPPDEFINES = [ | |
15 'PURIFY', | |
16 ], | |
17 ) | |
18 | |
19 if env.Bit('windows'): | |
20 env.Replace( | |
21 CHROMIUM_CC_OPT_FLAGS = [ | |
22 '/Od', # VCCLCompilerTool.Optimization="0" | |
23 ], | |
24 CHROMIUM_LINK_OPT_FLAGS = [ | |
25 '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2" | |
26 ], | |
27 ), | |
28 env.Append( | |
29 CCFLAGS = [ | |
30 '/MT', # VCCLCompilerTool.RuntimeLibrary="0" | |
31 '/GS-', # VCCLCompilerTool.BufferSecurityCheck="false" | |
32 ], | |
33 ) | |
OLD | NEW |