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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 if (is_ios || (is_mac && target_cpu != "x86")) { | 107 if (is_ios || (is_mac && target_cpu != "x86")) { |
108 config("warnings_config") { | 108 config("warnings_config") { |
109 # GN orders flags on a target before flags from configs. The default config | 109 # GN orders flags on a target before flags from configs. The default config |
110 # adds these flags so to cancel them out they need to come from a config and | 110 # adds these flags so to cancel them out they need to come from a config and |
111 # cannot be on the target directly. | 111 # cannot be on the target directly. |
112 if (is_ios) { | 112 if (is_ios) { |
113 # Suppress compiler warnings about deprecated that triggered | 113 # Suppress compiler warnings about deprecated that triggered |
114 # when moving from ios_deployment_target 7.0 to 9.0. | 114 # when moving from ios_deployment_target 7.0 to 9.0. |
115 # See webrtc:5549 for more details. | 115 # See webrtc:5549 for more details. |
116 cflags = [ "-Wno-deprecated-declarations" ] | 116 cflags = [ "-Wno-deprecated-declarations" ] |
| 117 cflags_objc = [ |
| 118 # Enabled for cflags_objc in build/config/compiler/BUILD.gn. |
| 119 # See webrtc:6520. |
| 120 "-Wno-objc-missing-property-synthesis", |
| 121 ] |
117 } | 122 } |
118 } | 123 } |
119 | 124 |
120 config("apprtc_common_config") { | 125 config("apprtc_common_config") { |
121 include_dirs = [ "objc/AppRTCMobile/common" ] | 126 include_dirs = [ "objc/AppRTCMobile/common" ] |
122 } | 127 } |
123 | 128 |
124 rtc_static_library("apprtc_common") { | 129 rtc_static_library("apprtc_common") { |
125 sources = [ | 130 sources = [ |
126 "objc/AppRTCMobile/common/ARDUtilities.h", | 131 "objc/AppRTCMobile/common/ARDUtilities.h", |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 "//webrtc/system_wrappers:field_trial_default", | 517 "//webrtc/system_wrappers:field_trial_default", |
513 "//webrtc/system_wrappers:metrics_default", | 518 "//webrtc/system_wrappers:metrics_default", |
514 ] | 519 ] |
515 if (is_clang) { | 520 if (is_clang) { |
516 # Suppress warnings from the Chromium Clang plugin. | 521 # Suppress warnings from the Chromium Clang plugin. |
517 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 522 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 523 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
519 } | 524 } |
520 } | 525 } |
521 } | 526 } |
OLD | NEW |