summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 08:55:41 +0000
committersebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 08:55:41 +0000
commita96cf1423c5c82a2d601457ba953586ecfbe74d9 (patch)
tree2dc36caf6149a5f517de8e0c7dbfab534286cd95 /build
parent396de687036fb8d01a2b78fb950b2f79226f01f7 (diff)
downloadchromium_src-a96cf1423c5c82a2d601457ba953586ecfbe74d9.zip
chromium_src-a96cf1423c5c82a2d601457ba953586ecfbe74d9.tar.gz
chromium_src-a96cf1423c5c82a2d601457ba953586ecfbe74d9.tar.bz2
Disable incremental linking for the large modules in Debug static_library.
If we don't do this then we get the following error (with chrome_frame_reliability_tests at least): LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO BUG= Review URL: https://codereview.chromium.org/63773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 4f1d3f5..820e8e4 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1477,8 +1477,10 @@
# .obj files.
'incremental_chrome_dll%': 1,
}],
- # Don't do incremental linking for large modules on 32-bit.
- ['MSVS_OS_BITS==32', {
+ # Don't do incremental linking for large modules on 32-bit or when
+ # component=static_library as the toolchain fails due to the size of
+ # the .ilk files.
+ ['MSVS_OS_BITS==32 or component=="static_library"', {
'msvs_large_module_debug_link_mode%': '1', # No
},{
'msvs_large_module_debug_link_mode%': '2', # Yes