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" ] |