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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 if (is_ios) { | 10 if (is_ios) { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 # Keep videotracksource related code in a separate target so that we can | 111 # Keep videotracksource related code in a separate target so that we can |
112 # build PeerConnectionFactory without audio/video support when that's called | 112 # build PeerConnectionFactory without audio/video support when that's called |
113 # for. | 113 # for. |
114 rtc_static_library("objc_videotracksource") { | 114 rtc_static_library("objc_videotracksource") { |
115 sources = [ | 115 sources = [ |
116 "objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", | 116 "objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", |
| 117 "objc/Framework/Classes/Video/RTCEncodedImage.mm", |
117 "objc/Framework/Classes/Video/RTCI420Buffer+Private.h", | 118 "objc/Framework/Classes/Video/RTCI420Buffer+Private.h", |
118 "objc/Framework/Classes/Video/RTCI420Buffer.mm", | 119 "objc/Framework/Classes/Video/RTCI420Buffer.mm", |
| 120 "objc/Framework/Classes/Video/RTCRtpFragmentationHeader.mm", |
| 121 "objc/Framework/Classes/Video/RTCVideoCodec+Private.h", |
| 122 "objc/Framework/Classes/Video/RTCVideoCodec.mm", |
| 123 "objc/Framework/Classes/Video/RTCVideoFrame.mm", |
119 "objc/Framework/Classes/Video/objc_frame_buffer.h", | 124 "objc/Framework/Classes/Video/objc_frame_buffer.h", |
120 "objc/Framework/Classes/Video/objc_frame_buffer.mm", | 125 "objc/Framework/Classes/Video/objc_frame_buffer.mm", |
121 "objc/Framework/Classes/Video/objcvideotracksource.h", | 126 "objc/Framework/Classes/Video/objcvideotracksource.h", |
122 "objc/Framework/Classes/Video/objcvideotracksource.mm", | 127 "objc/Framework/Classes/Video/objcvideotracksource.mm", |
| 128 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
123 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 129 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
124 ] | 130 ] |
125 | 131 |
126 deps = [ | 132 deps = [ |
127 ":objc_common", | 133 ":objc_common", |
128 "../api:libjingle_peerconnection_api", | 134 "../api:libjingle_peerconnection_api", |
129 "../api:video_frame_api", | 135 "../api:video_frame_api", |
130 "../base:rtc_base", | 136 "../base:rtc_base", |
131 "../common_video", | 137 "../common_video", |
132 "../media:rtc_media_base", | 138 "../media:rtc_media_base", |
| 139 "../modules:module_api", |
133 ] | 140 ] |
134 | 141 |
135 configs += [ "..:common_objc" ] | 142 configs += [ "..:common_objc" ] |
136 if (!build_with_chromium && is_clang) { | 143 if (!build_with_chromium && is_clang) { |
137 # Suppress warnings from the Chromium Clang plugin | 144 # Suppress warnings from the Chromium Clang plugin |
138 # (bugs.webrtc.org/163). | 145 # (bugs.webrtc.org/163). |
139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 146 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
140 } | 147 } |
141 } | 148 } |
142 | 149 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 public_deps = [ | 310 public_deps = [ |
304 "$rtc_libyuv_dir", | 311 "$rtc_libyuv_dir", |
305 ] | 312 ] |
306 } | 313 } |
307 } | 314 } |
308 | 315 |
309 rtc_static_library("objc_peerconnectionfactory") { | 316 rtc_static_library("objc_peerconnectionfactory") { |
310 sources = [ | 317 sources = [ |
311 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Private.
h", | 318 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Private.
h", |
312 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm", | 319 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm", |
313 "objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm", | |
314 "objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.h", | 320 "objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.h", |
315 "objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.mm", | 321 "objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.mm", |
316 "objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.h", | 322 "objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.h", |
317 "objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.mm", | 323 "objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.mm", |
318 ] | 324 ] |
319 | 325 |
320 public_configs = [ ":objc_common_config" ] | 326 public_configs = [ ":objc_common_config" ] |
321 | 327 |
322 if (!build_with_chromium && is_clang) { | 328 if (!build_with_chromium && is_clang) { |
323 # Suppress warnings from the Chromium Clang plugin | 329 # Suppress warnings from the Chromium Clang plugin |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", | 386 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", |
381 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", | 387 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", |
382 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", | 388 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", |
383 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", | 389 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", |
384 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", | 390 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", |
385 "objc/Framework/Classes/PeerConnection/RTCConfiguration.mm", | 391 "objc/Framework/Classes/PeerConnection/RTCConfiguration.mm", |
386 "objc/Framework/Classes/PeerConnection/RTCDataChannel+Private.h", | 392 "objc/Framework/Classes/PeerConnection/RTCDataChannel+Private.h", |
387 "objc/Framework/Classes/PeerConnection/RTCDataChannel.mm", | 393 "objc/Framework/Classes/PeerConnection/RTCDataChannel.mm", |
388 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration+Priva
te.h", | 394 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration+Priva
te.h", |
389 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration.mm", | 395 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration.mm", |
390 "objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm", | |
391 "objc/Framework/Classes/PeerConnection/RTCIceCandidate+Private.h", | 396 "objc/Framework/Classes/PeerConnection/RTCIceCandidate+Private.h", |
392 "objc/Framework/Classes/PeerConnection/RTCIceCandidate.mm", | 397 "objc/Framework/Classes/PeerConnection/RTCIceCandidate.mm", |
393 "objc/Framework/Classes/PeerConnection/RTCIceServer+Private.h", | 398 "objc/Framework/Classes/PeerConnection/RTCIceServer+Private.h", |
394 "objc/Framework/Classes/PeerConnection/RTCIceServer.mm", | 399 "objc/Framework/Classes/PeerConnection/RTCIceServer.mm", |
395 "objc/Framework/Classes/PeerConnection/RTCIntervalRange+Private.h", | 400 "objc/Framework/Classes/PeerConnection/RTCIntervalRange+Private.h", |
396 "objc/Framework/Classes/PeerConnection/RTCIntervalRange.mm", | 401 "objc/Framework/Classes/PeerConnection/RTCIntervalRange.mm", |
397 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport+Private.h", | 402 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport+Private.h", |
398 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport.mm", | 403 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport.mm", |
399 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints+Private.h", | 404 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints+Private.h", |
400 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints.mm", | 405 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints.mm", |
401 "objc/Framework/Classes/PeerConnection/RTCMediaSource+Private.h", | 406 "objc/Framework/Classes/PeerConnection/RTCMediaSource+Private.h", |
402 "objc/Framework/Classes/PeerConnection/RTCMediaSource.mm", | 407 "objc/Framework/Classes/PeerConnection/RTCMediaSource.mm", |
403 "objc/Framework/Classes/PeerConnection/RTCMediaStream+Private.h", | 408 "objc/Framework/Classes/PeerConnection/RTCMediaStream+Private.h", |
404 "objc/Framework/Classes/PeerConnection/RTCMediaStream.mm", | 409 "objc/Framework/Classes/PeerConnection/RTCMediaStream.mm", |
405 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack+Private.h", | 410 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack+Private.h", |
406 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack.mm", | 411 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack.mm", |
407 "objc/Framework/Classes/PeerConnection/RTCMetrics.mm", | 412 "objc/Framework/Classes/PeerConnection/RTCMetrics.mm", |
408 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo+Private.h", | 413 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo+Private.h", |
409 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo.mm", | 414 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo.mm", |
410 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+DataChannel.mm"
, | 415 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+DataChannel.mm"
, |
411 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Private.h", | 416 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Private.h", |
412 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Stats.mm", | 417 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Stats.mm", |
413 "objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm", | 418 "objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm", |
414 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters+Private.h", | 419 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters+Private.h", |
415 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters.mm", | 420 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters.mm", |
416 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters+Private.
h", | 421 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters+Private.
h", |
417 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters.mm", | 422 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters.mm", |
418 "objc/Framework/Classes/PeerConnection/RTCRtpFragmentationHeader.mm", | |
419 "objc/Framework/Classes/PeerConnection/RTCRtpParameters+Private.h", | 423 "objc/Framework/Classes/PeerConnection/RTCRtpParameters+Private.h", |
420 "objc/Framework/Classes/PeerConnection/RTCRtpParameters.mm", | 424 "objc/Framework/Classes/PeerConnection/RTCRtpParameters.mm", |
421 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver+Private.h", | 425 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver+Private.h", |
422 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver.mm", | 426 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver.mm", |
423 "objc/Framework/Classes/PeerConnection/RTCRtpSender+Private.h", | 427 "objc/Framework/Classes/PeerConnection/RTCRtpSender+Private.h", |
424 "objc/Framework/Classes/PeerConnection/RTCRtpSender.mm", | 428 "objc/Framework/Classes/PeerConnection/RTCRtpSender.mm", |
425 "objc/Framework/Classes/PeerConnection/RTCSSLAdapter.mm", | 429 "objc/Framework/Classes/PeerConnection/RTCSSLAdapter.mm", |
426 "objc/Framework/Classes/PeerConnection/RTCSessionDescription+Private.h", | 430 "objc/Framework/Classes/PeerConnection/RTCSessionDescription+Private.h", |
427 "objc/Framework/Classes/PeerConnection/RTCSessionDescription.mm", | 431 "objc/Framework/Classes/PeerConnection/RTCSessionDescription.mm", |
428 "objc/Framework/Classes/PeerConnection/RTCTracing.mm", | 432 "objc/Framework/Classes/PeerConnection/RTCTracing.mm", |
429 "objc/Framework/Classes/PeerConnection/RTCVideoCapturer.m", | 433 "objc/Framework/Classes/PeerConnection/RTCVideoCapturer.m", |
430 "objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h", | |
431 "objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm", | |
432 "objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm", | |
433 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h
", | 434 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h
", |
434 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", | 435 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", |
435 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm", | 436 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm", |
436 "objc/Framework/Classes/PeerConnection/RTCVideoSource+Private.h", | 437 "objc/Framework/Classes/PeerConnection/RTCVideoSource+Private.h", |
437 "objc/Framework/Classes/PeerConnection/RTCVideoSource.mm", | 438 "objc/Framework/Classes/PeerConnection/RTCVideoSource.mm", |
438 "objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h", | 439 "objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h", |
439 "objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm", | 440 "objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm", |
440 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", | 441 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
441 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", | 442 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", |
442 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", | 443 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", |
(...skipping 14 matching lines...) Expand all Loading... |
457 "objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h", | 458 "objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h", |
458 "objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h", | 459 "objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h", |
459 "objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h", | 460 "objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h", |
460 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h", | 461 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h", |
461 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h", | 462 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h", |
462 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", | 463 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", |
463 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h", | 464 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h", |
464 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", | 465 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", |
465 "objc/Framework/Headers/WebRTC/RTCTracing.h", | 466 "objc/Framework/Headers/WebRTC/RTCTracing.h", |
466 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", | 467 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", |
467 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", | |
468 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 468 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
469 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", | 469 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
470 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", | 470 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
471 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", | 471 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
472 "objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", | 472 "objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", |
473 ] | 473 ] |
474 | 474 |
475 configs += [ "..:common_objc" ] | 475 configs += [ "..:common_objc" ] |
476 | 476 |
477 public_configs = [ ":objc_common_config" ] | 477 public_configs = [ ":objc_common_config" ] |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 # Suppress warnings from the Chromium Clang plugin | 691 # Suppress warnings from the Chromium Clang plugin |
692 # (bugs.webrtc.org/163). | 692 # (bugs.webrtc.org/163). |
693 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 693 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
694 } | 694 } |
695 | 695 |
696 libs = [ "CoreVideo.framework" ] | 696 libs = [ "CoreVideo.framework" ] |
697 } | 697 } |
698 | 698 |
699 rtc_static_library("objc_videotoolbox") { | 699 rtc_static_library("objc_videotoolbox") { |
700 sources = [ | 700 sources = [ |
701 "objc/Framework/Classes/VideoToolbox/decoder.h", | 701 "objc/Framework/Classes/Video/RTCVideoCodec+Private.h", |
702 "objc/Framework/Classes/VideoToolbox/decoder.mm", | 702 "objc/Framework/Classes/VideoToolbox/RTCVideoCodecH264.mm", |
703 "objc/Framework/Classes/VideoToolbox/encoder.h", | 703 "objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm", |
704 "objc/Framework/Classes/VideoToolbox/encoder.mm", | 704 "objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm", |
| 705 "objc/Framework/Classes/VideoToolbox/helpers.cc", |
| 706 "objc/Framework/Classes/VideoToolbox/helpers.h", |
705 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", | 707 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", |
706 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", | 708 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", |
707 "objc/Framework/Classes/VideoToolbox/videocodecfactory.h", | |
708 "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", | |
709 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 709 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
710 ] | 710 ] |
711 | 711 |
712 configs += [ "..:common_objc" ] | 712 configs += [ "..:common_objc" ] |
713 | 713 |
714 deps = [ | 714 deps = [ |
715 ":objc_common", | 715 ":objc_common", |
716 ":objc_video", | 716 ":objc_video", |
717 ":objc_videotracksource", | 717 ":objc_videotracksource", |
718 "../base:rtc_base_approved", | 718 "../base:rtc_base_approved", |
(...skipping 24 matching lines...) Expand all Loading... |
743 public_deps = [ | 743 public_deps = [ |
744 "$rtc_libyuv_dir", | 744 "$rtc_libyuv_dir", |
745 ] | 745 ] |
746 } else { | 746 } else { |
747 # Need to add a directory normally exported by libyuv. | 747 # Need to add a directory normally exported by libyuv. |
748 include_dirs = [ "$rtc_libyuv_dir/include" ] | 748 include_dirs = [ "$rtc_libyuv_dir/include" ] |
749 } | 749 } |
750 } | 750 } |
751 } | 751 } |
752 } | 752 } |
OLD | NEW |