Index: media/BUILD.gn |
diff --git a/media/BUILD.gn b/media/BUILD.gn |
index 279eab9bd6e88635fb965707e1c7d4a31057f503..c886c3961c4fa3fdbe778c22de35c2769edc8918 100644 |
--- a/media/BUILD.gn |
+++ b/media/BUILD.gn |
@@ -736,6 +736,14 @@ source_set("unit_tests") { |
# Contains tests for all targets in the "media" folder. |
# TODO(xhwang): Move mojo/capture/remoting tests here where applicable. |
test("media_unittests") { |
+ # crbug.com/676418: Suppress symbol import warnings. |
+ if (is_win && is_component_build) { |
+ ldflags = [ |
+ "/ignore:4217", |
+ "/ignore:4049", |
+ ] |
+ } |
+ |
deps = [ |
":unit_tests", |
"//media/audio:unit_tests", |