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

Unified Diff: BUILD.gn

Issue 1313193002: Pass -Wno-unused-funciton, -Wno-sign-compare in non-clang gn builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 4 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 3e8496e0f22a666e798b8c3c2eed569b39a0b74f..72d6779c93109ae4b9796279af096a7d5c9daf5f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -57,6 +57,8 @@ config("libvpx_warnings") {
# libvpx has many static functions in header, which trigger this warning.
"-Wno-unused-function",
]
+ } else if (!is_win) {
+ cflags = [ "-Wno-unused-function", "-Wno-sign-compare" ]
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698