Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: build/internal/release_impl_checksenabled.scons

Issue 13039: Fixes and enhancements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/internal/release_defaults.scons ('k') | chrome/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 checks enabled. 6 Release settings for Chromium builds with checks enabled.
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 '_DEBUG', ' 15 '_DEBUG', '
16 ('_HAS_ITERATOR_DEBUGGING', '0'), 16 ('_HAS_ITERATOR_DEBUGGING', '0'),
17 ('_SECURE_SCL', '0'), 17 ('_SECURE_SCL', '0'),
18 ], 18 ],
19 ) 19 )
20 20
21 if env.Bit('windows'): 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 ),
22 env.Append( 29 env.Append(
23 CCFLAGS = [ 30 CCFLAGS = [
24 '/Oy-', 31 '/Oy-',
25 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1" 32 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1"
26 ], 33 ],
27 LINKFLAGS = [ 34 LINKFLAGS = [
28 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" 35 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1"
29 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2"
30 '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="2"
31 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1"
32 ], 36 ],
33 ) 37 )
OLDNEW
« no previous file with comments | « build/internal/release_defaults.scons ('k') | chrome/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698