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