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

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

Issue 11478: Finish replicating the *.vsprops structure. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 Essential settings for Chromium builds.
7 """
8
9 Import("env")
10
11 if env['PLATFORM'] == 'win32':
12 env.Append(
13 ARFLAGS = [
14 '/ignore:4221',
15 ],
16 CPPDEFINES = [
17 ('_WIN32_WINNT', '0x0600'),
18 ('WINVER', '0x0600'),
19 'WIN32',
20 '_WINDOWS',
21 ('_HAS_EXCEPTIONS', 0),
22 'NOMINMAX',
23 '_CRT_RAND_S',
24 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
25 'WIN32_LEAN_AND_MEAN',
26 '_SECURE_ATL',
27 ],
28 CPPPATH = [
29 '$CHROME_SRC_DIR',
30 '$PLATFORMSDK_VISTA/files/Include',
31 '$PLATFORMSDK_VISTA/files/VC/INCLUDE',
32 '$VISUAL_STUDIO/VC/atlmfc/include',
33 ],
34 CCFLAGS = [
35 '/GR-', # VCCLCompilerTool.RuntimeTypeInfo="false"
36 '/Gs', # VCCLCompilerTool.BufferSecurityCheck="true"
37 '/Gy', # VCCLCompilerTool.EnableFunctionLevelLinking="true"
38 '/W3', # VCCLCompilerTool.WarningLevel="3"
39
40 # TODO(sgk): re-enable this
41 #'/WX', # WarnAsError="true"
42
43 # In the old Visual Studio build, we used /Zi (edit and continue),
44 # VCCLComilerTool.DebugInformationFormat="3".
45 #
46 # /Zi ends up with multiple compiler invocations trying to updat
47 # the same vc80.pdb file at the same time, with race conditions
48 # and permission problems. We're using /Z7 because it makes things
49 # work even in parallel builds, without special config to avoid
50 # multiple simultaneous updates the vc80.pdb file. All the
51 # debugging information and capability still end up in the
52 # executables.
53 '/Z7', # VCCLCompilerTool.DebugInformationFormat="1"
54
55 # VCCLCompilerTool.DisableSpecificWarnings="4503; 4819"
56 '/wd4503',
57 '/wd4819',
58 ],
59 LIBPATH = [
60 '$PLATFORMSDK_VISTA/files/Lib',
61 '$PLATFORMSDK_VISTA/files/VC/LIB',
62 '$VISUAL_STUDIO/VC/atlmfc/lib',
63 ],
64 LIBS = [
65 'msimg32',
66 'psapi',
67 'usp10.lib',
68 'version',
69 'wininet',
70 'ws2_32',
71 ],
72 LINKFLAGS = [
73 '/DEBUG',
74
75 '/MANIFEST',
76 '/DELAYLOAD:"dwmapi.dll"',
77 '/DELAYLOAD:"uxtheme.dll"',
78 '/MACHINE:X86',
79 '/FIXED:No',
80
81 '/safeseh',
82 '/dynamicbase',
83 '/ignore:4199',
84 '/ignore:4221',
85 '/nxcompat',
86 ],
87 )
88 env.FilterOut(
89 CCFLAGS = [
90 '/GM', # VCCLCompilerTool.MinimalRebuild="false"
91 '/EH', # VCCLCompilerTool.ExceptionHandling="0"
92 ],
93 )
94 elif env['PLATFORM'] == 'posix':
95 pass
96 elif env['PLATFORM'] == 'mac':
97 pass
OLDNEW
« no previous file with comments | « build/internal/chromium_build_google_chrome.scons ('k') | build/internal/release_defaults.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698