| 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.Replace( | |
| 23 CHROMIUM_LINK_OPT_FLAGS = [ | |
| 24 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" | |
| 25 '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2" | |
| 26 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" | |
| 27 ], | |
| 28 ), | |
| 29 env.Append( | |
| 30 CCFLAGS = [ | |
| 31 '/Oy-', | |
| 32 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1" | |
| 33 ], | |
| 34 LINKFLAGS = [ | |
| 35 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" | |
| 36 ], | |
| 37 ) | |
| OLD | NEW |