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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/webrtc_examples.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 # adds these flags so to cancel them out they need to come from a config and 317 # adds these flags so to cancel them out they need to come from a config and
318 # cannot be on the target directly. 318 # cannot be on the target directly.
319 cflags = [ 319 cflags = [
320 "-Wno-deprecated-declarations", 320 "-Wno-deprecated-declarations",
321 "-Wno-nonnull", 321 "-Wno-nonnull",
322 "-Wno-objc-missing-property-synthesis", 322 "-Wno-objc-missing-property-synthesis",
323 "-Wno-semicolon-before-method-body", 323 "-Wno-semicolon-before-method-body",
324 "-Wno-unused-variable", 324 "-Wno-unused-variable",
325 ] 325 ]
326 326
327 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. 327 cflags_objc = [
328 cflags_objc = [ "-Wno-objc-missing-property-synthesis" ] 328 # Enabled for cflags_objc in build/config/compiler/BUILD.gn.
329 "-Wno-objc-missing-property-synthesis",
330
331 # Hide the warning for SecRandomCopyBytes(), until we update to upstream.
332 # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396
333 "-Wno-unused-result",
334 ]
329 335
330 if (is_mac) { 336 if (is_mac) {
331 cflags += [ "-Wno-partial-availability" ] 337 cflags += [ "-Wno-partial-availability" ]
332 } 338 }
333 } 339 }
334 340
335 rtc_source_set("socketrocket") { 341 rtc_source_set("socketrocket") {
336 sources = [ 342 sources = [
337 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h", 343 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h",
338 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m", 344 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m",
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 "//webrtc/system_wrappers:field_trial_default", 512 "//webrtc/system_wrappers:field_trial_default",
507 "//webrtc/system_wrappers:metrics_default", 513 "//webrtc/system_wrappers:metrics_default",
508 ] 514 ]
509 if (is_clang) { 515 if (is_clang) {
510 # Suppress warnings from the Chromium Clang plugin. 516 # Suppress warnings from the Chromium Clang plugin.
511 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 517 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
512 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
513 } 519 }
514 } 520 }
515 } 521 }
OLDNEW
« 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