OLD | NEW |
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 Essential settings for Chromium builds. | 6 Essential settings for Chromium builds. |
7 """ | 7 """ |
8 | 8 |
9 Import("env") | 9 Import("env") |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 ('_WIN32_WINNT', '0x0600'), | 29 ('_WIN32_WINNT', '0x0600'), |
30 ('WINVER', '0x0600'), | 30 ('WINVER', '0x0600'), |
31 'WIN32', | 31 'WIN32', |
32 '_WINDOWS', | 32 '_WINDOWS', |
33 ('_HAS_EXCEPTIONS', 0), | 33 ('_HAS_EXCEPTIONS', 0), |
34 'NOMINMAX', | 34 'NOMINMAX', |
35 '_CRT_RAND_S', | 35 '_CRT_RAND_S', |
36 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', | 36 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', |
37 'WIN32_LEAN_AND_MEAN', | 37 'WIN32_LEAN_AND_MEAN', |
38 '_SECURE_ATL', | 38 '_SECURE_ATL', |
| 39 ('_HAS_TR1', 0), |
39 ], | 40 ], |
40 CPPPATH = [ | 41 CPPPATH = [ |
41 '$PLATFORMSDK_VISTA/files/Include', | 42 '$PLATFORMSDK_VISTA/files/Include', |
42 '$PLATFORMSDK_VISTA/files/VC/INCLUDE', | 43 '$PLATFORMSDK_VISTA/files/VC/INCLUDE', |
43 '$VISUAL_STUDIO/VC/atlmfc/include', | 44 '$VISUAL_STUDIO/VC/atlmfc/include', |
44 ], | 45 ], |
45 CCFLAGS = [ | 46 CCFLAGS = [ |
46 '/GR-', # VCCLCompilerTool.RuntimeTypeInfo="false" | 47 '/GR-', # VCCLCompilerTool.RuntimeTypeInfo="false" |
47 '/Gs', # VCCLCompilerTool.BufferSecurityCheck="true" | 48 '/Gs', # VCCLCompilerTool.BufferSecurityCheck="true" |
48 '/Gy', # VCCLCompilerTool.EnableFunctionLevelLinking="true" | 49 '/Gy', # VCCLCompilerTool.EnableFunctionLevelLinking="true" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 env.FilterOut( | 100 env.FilterOut( |
100 CCFLAGS = [ | 101 CCFLAGS = [ |
101 '/GM', # VCCLCompilerTool.MinimalRebuild="false" | 102 '/GM', # VCCLCompilerTool.MinimalRebuild="false" |
102 '/EH', # VCCLCompilerTool.ExceptionHandling="0" | 103 '/EH', # VCCLCompilerTool.ExceptionHandling="0" |
103 ], | 104 ], |
104 ) | 105 ) |
105 elif env['PLATFORM'] == 'posix': | 106 elif env['PLATFORM'] == 'posix': |
106 pass | 107 pass |
107 elif env['PLATFORM'] == 'mac': | 108 elif env['PLATFORM'] == 'mac': |
108 pass | 109 pass |
OLD | NEW |