Index: third_party/WebKit/Source/core/BUILD.gn |
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn |
index 881104e79e122292980531e0dbb0123551e3d1d2..586a241701929660cc376190a6d83258fefca6d7 100644 |
--- a/third_party/WebKit/Source/core/BUILD.gn |
+++ b/third_party/WebKit/Source/core/BUILD.gn |
@@ -173,6 +173,13 @@ component("core") { |
":svg", |
] |
+ if (is_win && is_debug) { |
+ # Incremental linking doesn't work on this target in debug mode, even |
+ # with symbol_level=1. |
+ configs -= [ "//build/config/win:default_incremental_linking" ] |
+ configs += [ "//build/config/win:no_incremental_linking" ] |
+ } |
+ |
public_configs = [ |
":core_include_dirs", |
":link_core_modules_separately", |