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

Unified Diff: webrtc/examples/BUILD.gn

Issue 2356073004: Ignores warning for SecRandomCopyBytes() using Xcode 8 (Closed)
Patch Set: nits Created 4 years, 3 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 | webrtc/webrtc_examples.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/BUILD.gn
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn
index e61f15f838e618f45b0a46cda4e5f45f634d7265..ce995221e15b4c2774c3a575198dcab34e1ab005 100644
--- a/webrtc/examples/BUILD.gn
+++ b/webrtc/examples/BUILD.gn
@@ -324,8 +324,14 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
"-Wno-unused-variable",
]
- # Enabled for cflags_objc in build/config/compiler/BUILD.gn.
- cflags_objc = [ "-Wno-objc-missing-property-synthesis" ]
+ cflags_objc = [
+ # Enabled for cflags_objc in build/config/compiler/BUILD.gn.
+ "-Wno-objc-missing-property-synthesis",
+
+ # Hide the warning for SecRandomCopyBytes(), until we update to upstream.
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396
+ "-Wno-unused-result",
+ ]
if (is_mac) {
cflags += [ "-Wno-partial-availability" ]
« no previous file with comments | « no previous file | webrtc/webrtc_examples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698