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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "-Wno-unused-variable", |
397 ] | 397 ] |
398 | 398 |
399 cflags_objc = [ | 399 cflags_objc = [ |
400 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. | 400 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. |
401 "-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", | |
406 ] | 402 ] |
407 } | 403 } |
408 | 404 |
409 rtc_static_library("socketrocket") { | 405 rtc_static_library("socketrocket") { |
410 sources = [ | 406 sources = [ |
411 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", | 407 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", |
412 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", | 408 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", |
413 ] | 409 ] |
414 configs += [ | 410 configs += [ |
415 "//build/config/compiler:enable_arc", | 411 "//build/config/compiler:enable_arc", |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 616 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
621 } | 617 } |
622 | 618 |
623 deps = [ | 619 deps = [ |
624 "../p2p:libstunprober", | 620 "../p2p:libstunprober", |
625 "../p2p:rtc_p2p", | 621 "../p2p:rtc_p2p", |
626 "../system_wrappers:field_trial_default", | 622 "../system_wrappers:field_trial_default", |
627 ] | 623 ] |
628 } | 624 } |
629 } | 625 } |
OLD | NEW |