| OLD | NEW |
| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h", | 245 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h", |
| 246 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", | 246 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", |
| 247 "objc/Framework/Headers/WebRTC/RTCTracing.h", | 247 "objc/Framework/Headers/WebRTC/RTCTracing.h", |
| 248 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", | 248 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
| 249 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", | 249 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
| 250 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", | 250 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
| 251 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", | 251 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
| 252 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", | 252 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", |
| 253 "objc/Framework/Headers/WebRTC/WebRTC.h", | 253 "objc/Framework/Headers/WebRTC/WebRTC.h", |
| 254 ] | 254 ] |
| 255 |
| 255 if (is_mac) { | 256 if (is_mac) { |
| 256 mac_framework_bundle("rtc_sdk_framework_objc") { | 257 mac_framework_bundle("rtc_sdk_framework_objc") { |
| 257 info_plist = "objc/Framework/Info.plist" | 258 info_plist = "objc/Framework/Info.plist" |
| 258 output_name = "WebRTC" | 259 output_name = "WebRTC" |
| 259 | 260 |
| 260 sources = common_objc_headers + | 261 sources = common_objc_headers + |
| 261 [ "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h" ] | 262 [ "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h" ] |
| 262 | 263 |
| 263 if (!build_with_chromium) { | 264 if (!build_with_chromium) { |
| 264 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 265 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
| 265 } | 266 } |
| 266 | 267 |
| 267 deps = [ | 268 deps = [ |
| 268 ":rtc_sdk_peerconnection_objc", | 269 ":rtc_sdk_peerconnection_objc", |
| 269 "../system_wrappers:field_trial_default", | 270 "../system_wrappers:field_trial_default", |
| 270 "../system_wrappers:metrics_default", | 271 "../system_wrappers:metrics_default", |
| 271 ] | 272 ] |
| 272 | 273 |
| 273 libs = [ | 274 libs = [ |
| 274 "AVFoundation.framework", | 275 "AVFoundation.framework", |
| 275 "AudioToolbox.framework", | 276 "AudioToolbox.framework", |
| 276 "CoreGraphics.framework", | 277 "CoreGraphics.framework", |
| 277 "CoreMedia.framework", | 278 "CoreMedia.framework", |
| 278 "GLKit.framework", | 279 "GLKit.framework", |
| 279 "VideoToolbox.framework", | 280 "VideoToolbox.framework", |
| 280 ] | 281 ] |
| 281 | 282 |
| 283 ldflags = [ "-all_load" ] |
| 284 |
| 282 configs += [ | 285 configs += [ |
| 283 "..:common_objc", | 286 "..:common_objc", |
| 284 "//build/config/compiler:enable_arc", | 287 "//build/config/compiler:enable_arc", |
| 285 ] | 288 ] |
| 286 | 289 |
| 287 public_configs = [ ":rtc_sdk_common_objc_config" ] | 290 public_configs = [ ":rtc_sdk_common_objc_config" ] |
| 288 | 291 |
| 289 if (!build_with_chromium && is_clang) { | 292 if (!build_with_chromium && is_clang) { |
| 290 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) | 293 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) |
| 291 configs -= [ "//build/config/clang:find_bad_constructs" ] | 294 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 | 341 |
| 339 rtc_static_library("rtc_sdk_objc") { | 342 rtc_static_library("rtc_sdk_objc") { |
| 340 complete_static_lib = true | 343 complete_static_lib = true |
| 341 deps = [ | 344 deps = [ |
| 342 ":rtc_sdk_peerconnection_objc", | 345 ":rtc_sdk_peerconnection_objc", |
| 343 "../system_wrappers:field_trial_default", | 346 "../system_wrappers:field_trial_default", |
| 344 "../system_wrappers:metrics_default", | 347 "../system_wrappers:metrics_default", |
| 345 ] | 348 ] |
| 346 } | 349 } |
| 347 } | 350 } |
| OLD | NEW |