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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", | 205 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", |
206 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", | 206 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", |
207 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", | 207 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", |
208 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", | 208 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
209 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", | 209 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
210 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", | 210 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
211 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", | 211 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
212 ] | 212 ] |
213 | 213 |
214 deps = [ | 214 deps = [ |
| 215 ":rtc_sdk_corevideoframebuffer", |
215 ":webrtc_h264_video_toolbox", | 216 ":webrtc_h264_video_toolbox", |
216 "../api:video_frame_api", | 217 "../api:video_frame_api", |
217 "../base:rtc_base", | 218 "../base:rtc_base", |
218 "../base:rtc_base_approved", | 219 "../base:rtc_base_approved", |
219 "../common_video", | 220 "../common_video", |
220 "../media:rtc_media", | 221 "../media:rtc_media", |
221 "../media:rtc_media_base", | 222 "../media:rtc_media_base", |
222 "../system_wrappers", | 223 "../system_wrappers", |
223 ] | 224 ] |
224 | 225 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 419 |
419 rtc_static_library("rtc_sdk_objc") { | 420 rtc_static_library("rtc_sdk_objc") { |
420 complete_static_lib = true | 421 complete_static_lib = true |
421 deps = [ | 422 deps = [ |
422 ":rtc_sdk_peerconnection_objc", | 423 ":rtc_sdk_peerconnection_objc", |
423 "//webrtc/system_wrappers:field_trial_default", | 424 "//webrtc/system_wrappers:field_trial_default", |
424 "//webrtc/system_wrappers:metrics_default", | 425 "//webrtc/system_wrappers:metrics_default", |
425 ] | 426 ] |
426 } | 427 } |
427 | 428 |
| 429 rtc_static_library("rtc_sdk_corevideoframebuffer") { |
| 430 sources = [ |
| 431 "objc/Framework/Classes/corevideo_frame_buffer.cc", |
| 432 "objc/Framework/Classes/corevideo_frame_buffer.h", |
| 433 ] |
| 434 |
| 435 deps = [ |
| 436 "../base:rtc_base_approved", |
| 437 "../common_video", |
| 438 ] |
| 439 |
| 440 libs = [ "CoreVideo.framework" ] |
| 441 } |
| 442 |
428 rtc_static_library("webrtc_h264_video_toolbox") { | 443 rtc_static_library("webrtc_h264_video_toolbox") { |
429 sources = [ | 444 sources = [ |
430 "objc/Framework/Classes/h264_video_toolbox_decoder.cc", | 445 "objc/Framework/Classes/h264_video_toolbox_decoder.cc", |
431 "objc/Framework/Classes/h264_video_toolbox_decoder.h", | 446 "objc/Framework/Classes/h264_video_toolbox_decoder.h", |
432 "objc/Framework/Classes/h264_video_toolbox_encoder.h", | 447 "objc/Framework/Classes/h264_video_toolbox_encoder.h", |
433 "objc/Framework/Classes/h264_video_toolbox_encoder.mm", | 448 "objc/Framework/Classes/h264_video_toolbox_encoder.mm", |
434 "objc/Framework/Classes/h264_video_toolbox_nalu.cc", | 449 "objc/Framework/Classes/h264_video_toolbox_nalu.cc", |
435 "objc/Framework/Classes/h264_video_toolbox_nalu.h", | 450 "objc/Framework/Classes/h264_video_toolbox_nalu.h", |
436 ] | 451 ] |
437 | 452 |
438 configs += [ "//webrtc:common_objc" ] | 453 configs += [ "//webrtc:common_objc" ] |
439 | 454 |
440 deps = [ | 455 deps = [ |
441 ":rtc_sdk_common_objc", | 456 ":rtc_sdk_common_objc", |
| 457 ":rtc_sdk_corevideoframebuffer", |
442 "../api:video_frame_api", | 458 "../api:video_frame_api", |
443 "../base:rtc_base_approved", | 459 "../base:rtc_base_approved", |
444 "../common_video", | 460 "../common_video", |
445 "../media:rtc_media_base", | 461 "../media:rtc_media_base", |
446 "../modules:module_api", | 462 "../modules:module_api", |
447 "../modules/video_coding:video_coding_utility", | 463 "../modules/video_coding:video_coding_utility", |
448 "../modules/video_coding:webrtc_h264", | 464 "../modules/video_coding:webrtc_h264", |
449 "../system_wrappers", | 465 "../system_wrappers", |
450 ] | 466 ] |
451 | 467 |
(...skipping 13 matching lines...) Expand all Loading... |
465 deps += [ "$rtc_libyuv_dir" ] | 481 deps += [ "$rtc_libyuv_dir" ] |
466 public_deps = [ | 482 public_deps = [ |
467 "$rtc_libyuv_dir", | 483 "$rtc_libyuv_dir", |
468 ] | 484 ] |
469 } else { | 485 } else { |
470 # Need to add a directory normally exported by libyuv. | 486 # Need to add a directory normally exported by libyuv. |
471 include_dirs = [ "$rtc_libyuv_dir/include" ] | 487 include_dirs = [ "$rtc_libyuv_dir/include" ] |
472 } | 488 } |
473 } | 489 } |
474 } | 490 } |
OLD | NEW |