Index: build/external_code.scons |
=================================================================== |
--- build/external_code.scons (revision 0) |
+++ build/external_code.scons (revision 0) |
@@ -0,0 +1,28 @@ |
+# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+__doc__ = """ |
+External code settings for Chromium builds. |
+""" |
+ |
+Import("env") |
+ |
+if env['PLATFORM'] == 'win32': |
+ env.Append( |
+ CPPDEFINES = [ |
+ '_CRT_SECURE_NO_DEPRECATE', |
+ '_CRT_NONSTDC_NO_WARNINGS', |
+ '_CRT_NONSTDC_NO_DEPRECATE', |
+ '_SCL_SECURE_NO_DEPRECATE', |
+ ], |
+ CCFLAGS = [ |
+ '/wd4800', |
+ ], |
+ ) |
+ env.FilterOut( |
+ CCFLAGS = [ |
+ '/WX', # VCCLCompilerTool.WarnAsError="false" |
+ '/Wp64', # VCCLCompilerTool.Detect64BitPortabilityProblems="false" |
+ ], |
+ ) |
Property changes on: build\external_code.scons |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |