Index: third_party/WebKit/Source/platform/BUILD.gn |
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn |
index a974f2ab6220e70dd9148a44b5efb69d99f589da..7f7fe8733ab051e1721a6598e7eb7ae5d06caa9d 100644 |
--- a/third_party/WebKit/Source/platform/BUILD.gn |
+++ b/third_party/WebKit/Source/platform/BUILD.gn |
@@ -1517,6 +1517,14 @@ component("platform") { |
"/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. |
"/wd4724", # Modulo by 0. |
] |
+ |
+ # crbug.com/654776: Suppress symbol import warnings. |
+ if (is_component_build) { |
+ ldflags = [ |
+ "/ignore:4217", |
+ "/ignore:4049", |
+ ] |
+ } |
} else { |
sources -= [ |
"clipboard/ClipboardUtilitiesWin.cpp", |