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

Unified Diff: net/third_party/nss/ssl/BUILD.gn

Issue 1275403003: Disable warnings when compiling //net/third_party/nss/ssl on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-sql-unittests
Patch Set: Rebase on origin/master 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: net/third_party/nss/ssl/BUILD.gn
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn
index ee4449a187b173ad2e3410b822320dcbabf9d67f..1e43806bd06a423cc374812e5347a33d7569a202 100644
--- a/net/third_party/nss/ssl/BUILD.gn
+++ b/net/third_party/nss/ssl/BUILD.gn
@@ -100,6 +100,12 @@ component("libssl") {
# There is a broken header guard in /usr/include/nss/secmod.h:
# https://bugzilla.mozilla.org/show_bug.cgi?id=884072
cflags = [ "-Wno-header-guard" ]
+
+ if (is_ios) {
+ # libssl uses routines deprecated on iOS (sem_init/sem_destroy).
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1192500
+ cflags += [ "-Wno-deprecated-declarations" ]
+ }
}
if (is_posix) {
« 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