Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: media/BUILD.gn

Issue 2581893002: Use the /WX flag to have link warnings treated as errors. (Closed)
Patch Set: Move /WX setter into :compiler and respect fatal_linker_warnings Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/win/BUILD.gn ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « build/config/win/BUILD.gn ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698