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 |
11 env.Append( | 11 env.Append( |
12 CPPPATH = [ | 12 CPPPATH = [ |
13 '$CHROME_SRC_DIR', | 13 '$CHROME_SRC_DIR', |
14 ], | 14 ], |
| 15 CCFLAGS = [ |
| 16 '$CHROMIUM_CC_OPT_FLAGS', |
| 17 ], |
15 ) | 18 ) |
16 | 19 |
17 if env['PLATFORM'] == 'win32': | 20 if env['PLATFORM'] == 'win32': |
18 env.Append( | 21 env.Append( |
19 ARFLAGS = [ | 22 ARFLAGS = [ |
20 '/ignore:4221', | 23 '/ignore:4221', |
21 ], | 24 ], |
22 CPPDEFINES = [ | 25 CPPDEFINES = [ |
23 ('_WIN32_WINNT', '0x0600'), | 26 ('_WIN32_WINNT', '0x0600'), |
24 ('WINVER', '0x0600'), | 27 ('WINVER', '0x0600'), |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 env.FilterOut( | 96 env.FilterOut( |
94 CCFLAGS = [ | 97 CCFLAGS = [ |
95 '/GM', # VCCLCompilerTool.MinimalRebuild="false" | 98 '/GM', # VCCLCompilerTool.MinimalRebuild="false" |
96 '/EH', # VCCLCompilerTool.ExceptionHandling="0" | 99 '/EH', # VCCLCompilerTool.ExceptionHandling="0" |
97 ], | 100 ], |
98 ) | 101 ) |
99 elif env['PLATFORM'] == 'posix': | 102 elif env['PLATFORM'] == 'posix': |
100 pass | 103 pass |
101 elif env['PLATFORM'] == 'mac': | 104 elif env['PLATFORM'] == 'mac': |
102 pass | 105 pass |
OLD | NEW |