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 External code settings for Chromium builds. | |
7 """ | |
8 | |
9 Import("env") | |
10 | |
11 if env.Bit('windows'): | |
12 env.Append( | |
13 CPPDEFINES = [ | |
14 '_CRT_SECURE_NO_DEPRECATE', | |
15 '_CRT_NONSTDC_NO_WARNINGS', | |
16 '_CRT_NONSTDC_NO_DEPRECATE', | |
17 '_SCL_SECURE_NO_DEPRECATE', | |
18 ], | |
19 CCFLAGS = [ | |
20 '/wd4800', | |
21 ], | |
22 ) | |
23 env.FilterOut( | |
24 CCFLAGS = [ | |
25 '/WX', # VCCLCompilerTool.WarnAsError="false" | |
26 '/Wp64', # VCCLCompilerTool.Detect64BitPortabilityProblems="false" | |
27 ], | |
28 ) | |
OLD | NEW |