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

Side by Side Diff: webrtc/sdk/BUILD.gn

Issue 2372513004: Remove Crit::Scope lock by using atomic bool property (Closed)
Patch Set: Replace nonatomic with atomic property. - It's not on performance critical path and we expect upda… Created 4 years, 2 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
OLDNEW
1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright 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_mac) { 10 if (is_mac) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 libs = [ "AVFoundation.framework" ] 61 libs = [ "AVFoundation.framework" ]
62 } 62 }
63 if (!build_with_chromium) { 63 if (!build_with_chromium) {
64 sources += [ 64 sources += [
65 "objc/Framework/Classes/RTCFileLogger.mm", 65 "objc/Framework/Classes/RTCFileLogger.mm",
66 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", 66 "objc/Framework/Headers/WebRTC/RTCFileLogger.h",
67 ] 67 ]
68 } 68 }
69 } 69 }
70 70
71 config("rtc_sdk_peerconnection_objc_warnings_config") {
72 if (is_clang) {
73 # TODO(tkchin): Make rtc_sdk_peerconnection_objc compile with the standard
74 # set of warnings.
75 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6308
76 cflags = [ "-Wno-thread-safety-analysis" ]
77 }
78 }
79
80 rtc_static_library("rtc_sdk_peerconnection_objc") { 71 rtc_static_library("rtc_sdk_peerconnection_objc") {
81 sources = [ 72 sources = [
82 "objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", 73 "objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h",
83 "objc/Framework/Classes/RTCAVFoundationVideoSource.mm", 74 "objc/Framework/Classes/RTCAVFoundationVideoSource.mm",
84 "objc/Framework/Classes/RTCAudioSource+Private.h", 75 "objc/Framework/Classes/RTCAudioSource+Private.h",
85 "objc/Framework/Classes/RTCAudioSource.mm", 76 "objc/Framework/Classes/RTCAudioSource.mm",
86 "objc/Framework/Classes/RTCAudioTrack+Private.h", 77 "objc/Framework/Classes/RTCAudioTrack+Private.h",
87 "objc/Framework/Classes/RTCAudioTrack.mm", 78 "objc/Framework/Classes/RTCAudioTrack.mm",
88 "objc/Framework/Classes/RTCConfiguration+Private.h", 79 "objc/Framework/Classes/RTCConfiguration+Private.h",
89 "objc/Framework/Classes/RTCConfiguration.mm", 80 "objc/Framework/Classes/RTCConfiguration.mm",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "objc/Framework/Classes/RTCNSGLVideoView.m", 178 "objc/Framework/Classes/RTCNSGLVideoView.m",
188 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", 179 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h",
189 ] 180 ]
190 libs = [ 181 libs = [
191 "CoreMedia.framework", 182 "CoreMedia.framework",
192 "OpenGL.framework", 183 "OpenGL.framework",
193 ] 184 ]
194 } 185 }
195 186
196 configs += [ 187 configs += [
197 ":rtc_sdk_peerconnection_objc_warnings_config",
198 "..:common_objc", 188 "..:common_objc",
199 "//build/config/compiler:enable_arc", 189 "//build/config/compiler:enable_arc",
200 ] 190 ]
201 191
202 public_configs = [ ":rtc_sdk_common_objc_config" ] 192 public_configs = [ ":rtc_sdk_common_objc_config" ]
203 193
204 if (is_clang) { 194 if (is_clang) {
205 # Suppress warnings from the Chromium Clang plugins. 195 # Suppress warnings from the Chromium Clang plugins.
206 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 196 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
207 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 197 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 public_configs = [ ":rtc_sdk_common_objc_config" ] 323 public_configs = [ ":rtc_sdk_common_objc_config" ]
334 324
335 if (is_clang) { 325 if (is_clang) {
336 # Suppress warnings from the Chromium Clang plugins. 326 # Suppress warnings from the Chromium Clang plugins.
337 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 327 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
338 configs -= [ "//build/config/clang:find_bad_constructs" ] 328 configs -= [ "//build/config/clang:find_bad_constructs" ]
339 } 329 }
340 } 330 }
341 } 331 }
342 } 332 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698