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

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

Issue 2851563003: Move CoreVideoFrameBuffer from webrtc/common_video/ to webrtc/sdk/objc/ (Closed)
Patch Set: Use = default Created 3 years, 7 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
« no previous file with comments | « webrtc/common_video/libyuv/webrtc_libyuv.cc ('k') | webrtc/sdk/objc/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("../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
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 418
418 rtc_static_library("rtc_sdk_objc") { 419 rtc_static_library("rtc_sdk_objc") {
419 complete_static_lib = true 420 complete_static_lib = true
420 deps = [ 421 deps = [
421 ":rtc_sdk_peerconnection_objc", 422 ":rtc_sdk_peerconnection_objc",
422 "//webrtc/system_wrappers:field_trial_default", 423 "//webrtc/system_wrappers:field_trial_default",
423 "//webrtc/system_wrappers:metrics_default", 424 "//webrtc/system_wrappers:metrics_default",
424 ] 425 ]
425 } 426 }
426 427
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
427 rtc_static_library("webrtc_h264_video_toolbox") { 442 rtc_static_library("webrtc_h264_video_toolbox") {
428 sources = [ 443 sources = [
429 "objc/Framework/Classes/h264_video_toolbox_decoder.cc", 444 "objc/Framework/Classes/h264_video_toolbox_decoder.cc",
430 "objc/Framework/Classes/h264_video_toolbox_decoder.h", 445 "objc/Framework/Classes/h264_video_toolbox_decoder.h",
431 "objc/Framework/Classes/h264_video_toolbox_encoder.h", 446 "objc/Framework/Classes/h264_video_toolbox_encoder.h",
432 "objc/Framework/Classes/h264_video_toolbox_encoder.mm", 447 "objc/Framework/Classes/h264_video_toolbox_encoder.mm",
433 "objc/Framework/Classes/h264_video_toolbox_nalu.cc", 448 "objc/Framework/Classes/h264_video_toolbox_nalu.cc",
434 "objc/Framework/Classes/h264_video_toolbox_nalu.h", 449 "objc/Framework/Classes/h264_video_toolbox_nalu.h",
435 ] 450 ]
436 451
437 configs += [ "//webrtc:common_objc" ] 452 configs += [ "//webrtc:common_objc" ]
438 453
439 deps = [ 454 deps = [
440 ":rtc_sdk_common_objc", 455 ":rtc_sdk_common_objc",
456 ":rtc_sdk_corevideoframebuffer",
441 "../api:video_frame_api", 457 "../api:video_frame_api",
442 "../base:rtc_base_approved", 458 "../base:rtc_base_approved",
443 "../common_video", 459 "../common_video",
444 "../media:rtc_media_base", 460 "../media:rtc_media_base",
445 "../modules:module_api", 461 "../modules:module_api",
446 "../modules/video_coding:video_coding_utility", 462 "../modules/video_coding:video_coding_utility",
447 "../modules/video_coding:webrtc_h264", 463 "../modules/video_coding:webrtc_h264",
448 "../system_wrappers", 464 "../system_wrappers",
449 ] 465 ]
450 466
(...skipping 13 matching lines...) Expand all
464 deps += [ "$rtc_libyuv_dir" ] 480 deps += [ "$rtc_libyuv_dir" ]
465 public_deps = [ 481 public_deps = [
466 "$rtc_libyuv_dir", 482 "$rtc_libyuv_dir",
467 ] 483 ]
468 } else { 484 } else {
469 # Need to add a directory normally exported by libyuv. 485 # Need to add a directory normally exported by libyuv.
470 include_dirs = [ "$rtc_libyuv_dir/include" ] 486 include_dirs = [ "$rtc_libyuv_dir/include" ]
471 } 487 }
472 } 488 }
473 } 489 }
OLDNEW
« no previous file with comments | « webrtc/common_video/libyuv/webrtc_libyuv.cc ('k') | webrtc/sdk/objc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698