| 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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 include_dirs = [ "objc/AppRTCMobile/third_party/SocketRocket" ] | 348 include_dirs = [ "objc/AppRTCMobile/third_party/SocketRocket" ] |
| 349 } | 349 } |
| 350 | 350 |
| 351 config("socketrocket_warning_config") { | 351 config("socketrocket_warning_config") { |
| 352 # GN orders flags on a target before flags from configs. The default config | 352 # GN orders flags on a target before flags from configs. The default config |
| 353 # adds these flags so to cancel them out they need to come from a config and | 353 # adds these flags so to cancel them out they need to come from a config and |
| 354 # cannot be on the target directly. | 354 # cannot be on the target directly. |
| 355 cflags = [ | 355 cflags = [ |
| 356 "-Wno-deprecated-declarations", | 356 "-Wno-deprecated-declarations", |
| 357 "-Wno-nonnull", | 357 "-Wno-nonnull", |
| 358 "-Wno-objc-missing-property-synthesis", | |
| 359 "-Wno-semicolon-before-method-body", | 358 "-Wno-semicolon-before-method-body", |
| 360 "-Wno-unused-variable", | 359 "-Wno-unused-variable", |
| 361 ] | 360 ] |
| 362 | 361 |
| 363 cflags_objc = [ | 362 cflags_objc = [ |
| 364 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. | 363 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. |
| 365 "-Wno-objc-missing-property-synthesis", | 364 "-Wno-objc-missing-property-synthesis", |
| 366 | 365 |
| 367 # Hide the warning for SecRandomCopyBytes(), until we update to upstream. | 366 # Hide the warning for SecRandomCopyBytes(), until we update to upstream. |
| 368 # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396 | 367 # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 590 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 592 } | 591 } |
| 593 | 592 |
| 594 deps = [ | 593 deps = [ |
| 595 "../p2p:libstunprober", | 594 "../p2p:libstunprober", |
| 596 "../p2p:rtc_p2p", | 595 "../p2p:rtc_p2p", |
| 597 "../system_wrappers:field_trial_default", | 596 "../system_wrappers:field_trial_default", |
| 598 ] | 597 ] |
| 599 } | 598 } |
| 600 } | 599 } |
| OLD | NEW |