Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index b8cd7a195d2c33e2036fff786a75d87e997e3f09..f6bb6b7adb7945d83a18f33f94dd086dfa5e3b68 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -189,8 +189,9 @@ shared_library("main_dll") { |
#deps += [ 'chrome_user32_delay_imports' ] TODO(GYP) |
} |
- # TODO(GYP) incremental linking flags in debug builds |
- #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
+ # This is a large module that can't do incremental linking in some cases. |
+ configs -= [ "//build/config/win:default_incremental_linking" ] |
+ configs += [ "//build/config/win:default_large_module_incremental_linking" ] |
# TODO(GYP) Lots of VCLinkerTool stuff on Windows. |