Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: build/common.gypi

Issue 165140: Turning on incremental linking for 64-bit machines. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 # Whether to use multiple cores to compile with visual studio. This is 144 # Whether to use multiple cores to compile with visual studio. This is
145 # optional because it sometimes causes corruption on VS 2005. 145 # optional because it sometimes causes corruption on VS 2005.
146 # It is on by default on VS 2008 and off on VS 2005. 146 # It is on by default on VS 2008 and off on VS 2005.
147 ['OS=="win"', { 147 ['OS=="win"', {
148 'conditions': [ 148 'conditions': [
149 ['MSVS_VERSION=="2005"', { 149 ['MSVS_VERSION=="2005"', {
150 'msvs_multi_core_compile%': 0, 150 'msvs_multi_core_compile%': 0,
151 },{ 151 },{
152 'msvs_multi_core_compile%': 1, 152 'msvs_multi_core_compile%': 1,
153 }], 153 }],
154 # Don't do incremental linking for large modules on 32-bit.
155 ['MSVS_OS_BITS==32', {
156 'msvs_large_module_debug_link_mode%': '1', # No
157 },{
158 'msvs_large_module_debug_link_mode%': '2', # Yes
159 }],
154 ], 160 ],
155 }], 161 }],
156 ], 162 ],
157 }, 163 },
158 'target_defaults': { 164 'target_defaults': {
159 'conditions': [ 165 'conditions': [
160 ['branding=="Chrome"', { 166 ['branding=="Chrome"', {
161 'defines': ['GOOGLE_CHROME_BUILD'], 167 'defines': ['GOOGLE_CHROME_BUILD'],
162 'conditions': [ 168 'conditions': [
163 ['OS=="linux"', { 169 ['OS=="linux"', {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 'cflags': [ '-ftest-coverage', 204 'cflags': [ '-ftest-coverage',
199 '-fprofile-arcs' ], 205 '-fprofile-arcs' ],
200 'link_settings': { 'libraries': [ '-lgcov' ] }, 206 'link_settings': { 'libraries': [ '-lgcov' ] },
201 }], 207 }],
202 # Finally, for Windows, we simply turn on profiling. 208 # Finally, for Windows, we simply turn on profiling.
203 ['OS=="win"', { 209 ['OS=="win"', {
204 'msvs_settings': { 210 'msvs_settings': {
205 'VCLinkerTool': { 211 'VCLinkerTool': {
206 'Profile': 'true', 212 'Profile': 'true',
207 }, 213 },
208 » 'VCCLCompilerTool': { 214 'VCCLCompilerTool': {
209 # /Z7, not /Zi, so coverage is happyb 215 # /Z7, not /Zi, so coverage is happyb
210 'DebugInformationFormat': '1', 216 'DebugInformationFormat': '1',
211 'AdditionalOptions': '/Yd', 217 'AdditionalOptions': '/Yd',
212 } 218 }
213 } 219 }
214 }], # OS==win 220 }], # OS==win
215 ], # conditions for coverage 221 ], # conditions for coverage
216 }], # coverage!=0 222 }], # coverage!=0
217 ], # conditions for 'target_defaults' 223 ], # conditions for 'target_defaults'
218 'default_configuration': 'Debug', 224 'default_configuration': 'Debug',
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 # settings in target dicts. SYMROOT is a special case, because many other 731 # settings in target dicts. SYMROOT is a special case, because many other
726 # Xcode variables depend on it, including variables such as 732 # Xcode variables depend on it, including variables such as
727 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 733 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
728 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 734 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
729 # files to appear (when present) in the UI as actual files and not red 735 # files to appear (when present) in the UI as actual files and not red
730 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 736 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
731 # and therefore SYMROOT, needs to be set at the project level. 737 # and therefore SYMROOT, needs to be set at the project level.
732 'SYMROOT': '<(DEPTH)/xcodebuild', 738 'SYMROOT': '<(DEPTH)/xcodebuild',
733 }, 739 },
734 } 740 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698