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.Append( |
| 21 CCFLAGS = [ |
| 22 '/Od', # VCCLCompilerTool.Optimization="0" |
| 23 '/MT', # VCCLCompilerTool.RuntimeLibrary="0" |
| 24 '/GS-', # VCCLCompilerTool.BufferSecurityCheck="false" |
| 25 ] |
| 26 LINKFLAGS = [ |
| 27 '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="1" |
| 28 ], |
| 29 ) |
OLD | NEW |