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 checks enabled. |
| 7 """ |
| 8 |
| 9 Import("env") |
| 10 |
| 11 env.ApplySConscript(['release_defaults.scons']) |
| 12 |
| 13 env.Append( |
| 14 CPPDEFINES = [ |
| 15 '_DEBUG', ' |
| 16 ('_HAS_ITERATOR_DEBUGGING', '0'), |
| 17 ('_SECURE_SCL', '0'), |
| 18 ], |
| 19 ) |
| 20 |
| 21 if env.Bit('windows'): |
| 22 env.Append( |
| 23 CCFLAGS = [ |
| 24 '/Oy-', |
| 25 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1" |
| 26 ], |
| 27 LINKFLAGS = [ |
| 28 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" |
| 29 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" |
| 30 '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="2" |
| 31 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" |
| 32 ], |
| 33 ) |
OLD | NEW |