OLD | NEW |
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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 } | 386 } |
387 | 387 |
388 config("socketrocket_warning_config") { | 388 config("socketrocket_warning_config") { |
389 # GN orders flags on a target before flags from configs. The default config | 389 # GN orders flags on a target before flags from configs. The default config |
390 # adds these flags so to cancel them out they need to come from a config and | 390 # adds these flags so to cancel them out they need to come from a config and |
391 # cannot be on the target directly. | 391 # cannot be on the target directly. |
392 cflags = [ | 392 cflags = [ |
393 "-Wno-deprecated-declarations", | 393 "-Wno-deprecated-declarations", |
394 "-Wno-nonnull", | 394 "-Wno-nonnull", |
395 "-Wno-semicolon-before-method-body", | 395 "-Wno-semicolon-before-method-body", |
| 396 "-Wno-unused-variable", |
396 ] | 397 ] |
397 | 398 |
398 cflags_objc = [ | 399 cflags_objc = [ |
399 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. | 400 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. |
400 "-Wno-objc-missing-property-synthesis", | 401 "-Wno-objc-missing-property-synthesis", |
| 402 |
| 403 # Hide the warning for SecRandomCopyBytes(), until we update to upstream. |
| 404 # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396 |
| 405 "-Wno-unused-result", |
401 ] | 406 ] |
402 } | 407 } |
403 | 408 |
404 rtc_static_library("socketrocket") { | 409 rtc_static_library("socketrocket") { |
405 sources = [ | 410 sources = [ |
406 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", | 411 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", |
407 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", | 412 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", |
408 ] | 413 ] |
409 configs += [ | 414 configs += [ |
410 "//build/config/compiler:enable_arc", | 415 "//build/config/compiler:enable_arc", |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 620 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
616 } | 621 } |
617 | 622 |
618 deps = [ | 623 deps = [ |
619 "../p2p:libstunprober", | 624 "../p2p:libstunprober", |
620 "../p2p:rtc_p2p", | 625 "../p2p:rtc_p2p", |
621 "../system_wrappers:field_trial_default", | 626 "../system_wrappers:field_trial_default", |
622 ] | 627 ] |
623 } | 628 } |
624 } | 629 } |
OLD | NEW |