blob: 45c039f290bb26bfff09c790a22867299cadf0d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"
],
)
|