From a96cf1423c5c82a2d601457ba953586ecfbe74d9 Mon Sep 17 00:00:00 2001 From: "sebmarchand@chromium.org" Date: Fri, 8 Nov 2013 08:55:41 +0000 Subject: 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 --- build/common.gypi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build') 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 -- cgit v1.1