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

Side by Side Diff: build/external_code.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (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/debug.scons ('k') | build/googleurl_lib.scons » ('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 External code settings for Chromium builds. 6 External code settings for Chromium builds.
7 """ 7 """
8 8
9 Import("env") 9 Import("env")
10 10
11 if env['PLATFORM'] == 'win32': 11 if env.Bit('windows'):
12 env.Append( 12 env.Append(
13 CPPDEFINES = [ 13 CPPDEFINES = [
14 '_CRT_SECURE_NO_DEPRECATE', 14 '_CRT_SECURE_NO_DEPRECATE',
15 '_CRT_NONSTDC_NO_WARNINGS', 15 '_CRT_NONSTDC_NO_WARNINGS',
16 '_CRT_NONSTDC_NO_DEPRECATE', 16 '_CRT_NONSTDC_NO_DEPRECATE',
17 '_SCL_SECURE_NO_DEPRECATE', 17 '_SCL_SECURE_NO_DEPRECATE',
18 ], 18 ],
19 CCFLAGS = [ 19 CCFLAGS = [
20 '/wd4800', 20 '/wd4800',
21 ], 21 ],
22 ) 22 )
23 env.FilterOut( 23 env.FilterOut(
24 CCFLAGS = [ 24 CCFLAGS = [
25 '/WX', # VCCLCompilerTool.WarnAsError="false" 25 '/WX', # VCCLCompilerTool.WarnAsError="false"
26 '/Wp64', # VCCLCompilerTool.Detect64BitPortabilityProblems="false" 26 '/Wp64', # VCCLCompilerTool.Detect64BitPortabilityProblems="false"
27 ], 27 ],
28 ) 28 )
OLDNEW
« no previous file with comments | « build/debug.scons ('k') | build/googleurl_lib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698