| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 1605a797611de7abf6f060a0565b86352d5bf530..130f95ecb83db0f1b6e50f693147acd0b88814de 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
|
|
|