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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 public_deps = [ | 303 public_deps = [ |
304 "$rtc_libyuv_dir", | 304 "$rtc_libyuv_dir", |
305 ] | 305 ] |
306 } | 306 } |
307 } | 307 } |
308 | 308 |
309 rtc_static_library("objc_peerconnectionfactory") { | 309 rtc_static_library("objc_peerconnectionfactory") { |
310 sources = [ | 310 sources = [ |
311 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Private.
h", | 311 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Private.
h", |
312 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm", | 312 "objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm", |
| 313 "objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm", |
313 ] | 314 ] |
314 | 315 |
315 public_configs = [ ":objc_common_config" ] | 316 public_configs = [ ":objc_common_config" ] |
316 | 317 |
317 if (!build_with_chromium && is_clang) { | 318 if (!build_with_chromium && is_clang) { |
318 # Suppress warnings from the Chromium Clang plugin | 319 # Suppress warnings from the Chromium Clang plugin |
319 # (bugs.webrtc.org/163). | 320 # (bugs.webrtc.org/163). |
320 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
321 } | 322 } |
322 | 323 |
323 deps = [ | 324 deps = [ |
324 ":objc_common", | 325 ":objc_common", |
325 ":objc_corevideoframebuffer", | 326 ":objc_corevideoframebuffer", |
326 ":objc_peerconnectionfactory_base", | 327 ":objc_peerconnectionfactory_base", |
327 ":objc_video", | 328 ":objc_video", |
328 ":objc_videotoolbox", | 329 ":objc_videotoolbox", |
| 330 ":objc_videotracksource", |
329 "../api:video_frame_api", | 331 "../api:video_frame_api", |
330 "../base:rtc_base", | 332 "../base:rtc_base", |
331 "../media:rtc_media_base", | 333 "../media:rtc_media_base", |
332 "../pc:create_pc_factory", | 334 "../pc:create_pc_factory", |
333 "../pc:peerconnection", | 335 "../pc:peerconnection", |
| 336 "../system_wrappers:field_trial_api", |
334 ] | 337 ] |
335 } | 338 } |
336 | 339 |
337 # Build the PeerConnectionFactory without audio/video support. | 340 # Build the PeerConnectionFactory without audio/video support. |
338 # This target depends on the objc_peeerconnectionfactory_base which still | 341 # This target depends on the objc_peeerconnectionfactory_base which still |
339 # includes some audio/video related objects such as RTCAudioSource because | 342 # includes some audio/video related objects such as RTCAudioSource because |
340 # these objects are just thin wrappers of native C++ interfaces required | 343 # these objects are just thin wrappers of native C++ interfaces required |
341 # when implementing webrtc::PeerConnectionFactoryInterface and | 344 # when implementing webrtc::PeerConnectionFactoryInterface and |
342 # webrtc::PeerConnectionInterface. | 345 # webrtc::PeerConnectionInterface. |
343 # The applications which only use WebRTC DataChannel can depend on this | 346 # The applications which only use WebRTC DataChannel can depend on this |
(...skipping 26 matching lines...) Expand all Loading... |
370 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", | 373 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", |
371 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", | 374 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", |
372 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", | 375 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", |
373 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", | 376 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", |
374 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", | 377 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", |
375 "objc/Framework/Classes/PeerConnection/RTCConfiguration.mm", | 378 "objc/Framework/Classes/PeerConnection/RTCConfiguration.mm", |
376 "objc/Framework/Classes/PeerConnection/RTCDataChannel+Private.h", | 379 "objc/Framework/Classes/PeerConnection/RTCDataChannel+Private.h", |
377 "objc/Framework/Classes/PeerConnection/RTCDataChannel.mm", | 380 "objc/Framework/Classes/PeerConnection/RTCDataChannel.mm", |
378 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration+Priva
te.h", | 381 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration+Priva
te.h", |
379 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration.mm", | 382 "objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration.mm", |
| 383 "objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm", |
380 "objc/Framework/Classes/PeerConnection/RTCIceCandidate+Private.h", | 384 "objc/Framework/Classes/PeerConnection/RTCIceCandidate+Private.h", |
381 "objc/Framework/Classes/PeerConnection/RTCIceCandidate.mm", | 385 "objc/Framework/Classes/PeerConnection/RTCIceCandidate.mm", |
382 "objc/Framework/Classes/PeerConnection/RTCIceServer+Private.h", | 386 "objc/Framework/Classes/PeerConnection/RTCIceServer+Private.h", |
383 "objc/Framework/Classes/PeerConnection/RTCIceServer.mm", | 387 "objc/Framework/Classes/PeerConnection/RTCIceServer.mm", |
384 "objc/Framework/Classes/PeerConnection/RTCIntervalRange+Private.h", | 388 "objc/Framework/Classes/PeerConnection/RTCIntervalRange+Private.h", |
385 "objc/Framework/Classes/PeerConnection/RTCIntervalRange.mm", | 389 "objc/Framework/Classes/PeerConnection/RTCIntervalRange.mm", |
386 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport+Private.h", | 390 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport+Private.h", |
387 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport.mm", | 391 "objc/Framework/Classes/PeerConnection/RTCLegacyStatsReport.mm", |
388 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints+Private.h", | 392 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints+Private.h", |
389 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints.mm", | 393 "objc/Framework/Classes/PeerConnection/RTCMediaConstraints.mm", |
390 "objc/Framework/Classes/PeerConnection/RTCMediaSource+Private.h", | 394 "objc/Framework/Classes/PeerConnection/RTCMediaSource+Private.h", |
391 "objc/Framework/Classes/PeerConnection/RTCMediaSource.mm", | 395 "objc/Framework/Classes/PeerConnection/RTCMediaSource.mm", |
392 "objc/Framework/Classes/PeerConnection/RTCMediaStream+Private.h", | 396 "objc/Framework/Classes/PeerConnection/RTCMediaStream+Private.h", |
393 "objc/Framework/Classes/PeerConnection/RTCMediaStream.mm", | 397 "objc/Framework/Classes/PeerConnection/RTCMediaStream.mm", |
394 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack+Private.h", | 398 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack+Private.h", |
395 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack.mm", | 399 "objc/Framework/Classes/PeerConnection/RTCMediaStreamTrack.mm", |
396 "objc/Framework/Classes/PeerConnection/RTCMetrics.mm", | 400 "objc/Framework/Classes/PeerConnection/RTCMetrics.mm", |
397 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo+Private.h", | 401 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo+Private.h", |
398 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo.mm", | 402 "objc/Framework/Classes/PeerConnection/RTCMetricsSampleInfo.mm", |
399 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+DataChannel.mm"
, | 403 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+DataChannel.mm"
, |
400 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Private.h", | 404 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Private.h", |
401 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Stats.mm", | 405 "objc/Framework/Classes/PeerConnection/RTCPeerConnection+Stats.mm", |
402 "objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm", | 406 "objc/Framework/Classes/PeerConnection/RTCPeerConnection.mm", |
403 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters+Private.h", | 407 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters+Private.h", |
404 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters.mm", | 408 "objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters.mm", |
405 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters+Private.
h", | 409 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters+Private.
h", |
406 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters.mm", | 410 "objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters.mm", |
| 411 "objc/Framework/Classes/PeerConnection/RTCRtpFragmentationHeader.mm", |
407 "objc/Framework/Classes/PeerConnection/RTCRtpParameters+Private.h", | 412 "objc/Framework/Classes/PeerConnection/RTCRtpParameters+Private.h", |
408 "objc/Framework/Classes/PeerConnection/RTCRtpParameters.mm", | 413 "objc/Framework/Classes/PeerConnection/RTCRtpParameters.mm", |
409 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver+Private.h", | 414 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver+Private.h", |
410 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver.mm", | 415 "objc/Framework/Classes/PeerConnection/RTCRtpReceiver.mm", |
411 "objc/Framework/Classes/PeerConnection/RTCRtpSender+Private.h", | 416 "objc/Framework/Classes/PeerConnection/RTCRtpSender+Private.h", |
412 "objc/Framework/Classes/PeerConnection/RTCRtpSender.mm", | 417 "objc/Framework/Classes/PeerConnection/RTCRtpSender.mm", |
413 "objc/Framework/Classes/PeerConnection/RTCSSLAdapter.mm", | 418 "objc/Framework/Classes/PeerConnection/RTCSSLAdapter.mm", |
414 "objc/Framework/Classes/PeerConnection/RTCSessionDescription+Private.h", | 419 "objc/Framework/Classes/PeerConnection/RTCSessionDescription+Private.h", |
415 "objc/Framework/Classes/PeerConnection/RTCSessionDescription.mm", | 420 "objc/Framework/Classes/PeerConnection/RTCSessionDescription.mm", |
416 "objc/Framework/Classes/PeerConnection/RTCTracing.mm", | 421 "objc/Framework/Classes/PeerConnection/RTCTracing.mm", |
417 "objc/Framework/Classes/PeerConnection/RTCVideoCapturer.m", | 422 "objc/Framework/Classes/PeerConnection/RTCVideoCapturer.m", |
| 423 "objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h", |
| 424 "objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm", |
| 425 "objc/Framework/Classes/PeerConnection/RTCVideoEncoderSettings.mm", |
418 "objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm", | 426 "objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm", |
419 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h
", | 427 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h
", |
420 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", | 428 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", |
421 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm", | 429 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm", |
422 "objc/Framework/Classes/PeerConnection/RTCVideoSource+Private.h", | 430 "objc/Framework/Classes/PeerConnection/RTCVideoSource+Private.h", |
423 "objc/Framework/Classes/PeerConnection/RTCVideoSource.mm", | 431 "objc/Framework/Classes/PeerConnection/RTCVideoSource.mm", |
424 "objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h", | 432 "objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h", |
425 "objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm", | 433 "objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm", |
426 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", | 434 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
427 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", | 435 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 } | 477 } |
470 | 478 |
471 deps = [ | 479 deps = [ |
472 ":objc_common", | 480 ":objc_common", |
473 ":objc_corevideoframebuffer", | 481 ":objc_corevideoframebuffer", |
474 ":objc_videotracksource", | 482 ":objc_videotracksource", |
475 "../api:video_frame_api", | 483 "../api:video_frame_api", |
476 "../base:rtc_base", | 484 "../base:rtc_base", |
477 "../common_video", | 485 "../common_video", |
478 "../media:rtc_media_base", | 486 "../media:rtc_media_base", |
| 487 "../modules:module_api", |
479 "../pc:peerconnection", | 488 "../pc:peerconnection", |
480 ] | 489 ] |
481 } | 490 } |
482 | 491 |
483 if (rtc_include_tests) { | 492 if (rtc_include_tests) { |
484 rtc_source_set("objc_sdk_unittests") { | 493 rtc_source_set("objc_sdk_unittests") { |
485 testonly = true | 494 testonly = true |
486 | 495 |
487 # Skip restricting visibility on mobile platforms since the tests on tho
se | 496 # Skip restricting visibility on mobile platforms since the tests on tho
se |
488 # gets additional generated targets which would require many lines here
to | 497 # gets additional generated targets which would require many lines here
to |
489 # cover (which would be confusing to read and hard to maintain). | 498 # cover (which would be confusing to read and hard to maintain). |
490 if (!is_android && !is_ios) { | 499 if (!is_android && !is_ios) { |
491 visibility = [ "..:rtc_unittests" ] | 500 visibility = [ "..:rtc_unittests" ] |
492 } | 501 } |
493 sources = [ | 502 sources = [ |
494 "objc/Framework/UnitTests/RTCConfigurationTest.mm", | 503 "objc/Framework/UnitTests/RTCConfigurationTest.mm", |
495 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", | 504 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", |
496 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", | 505 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", |
497 "objc/Framework/UnitTests/RTCIceServerTest.mm", | 506 "objc/Framework/UnitTests/RTCIceServerTest.mm", |
498 "objc/Framework/UnitTests/RTCIntervalRangeTests.mm", | 507 "objc/Framework/UnitTests/RTCIntervalRangeTests.mm", |
499 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", | 508 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", |
500 "objc/Framework/UnitTests/RTCPeerConnectionTest.mm", | 509 "objc/Framework/UnitTests/RTCPeerConnectionTest.mm", |
501 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", | 510 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", |
502 "objc/Framework/UnitTests/RTCTracingTest.mm", | 511 "objc/Framework/UnitTests/RTCTracingTest.mm", |
503 "objc/Framework/UnitTests/avformatmappertests.mm", | 512 "objc/Framework/UnitTests/avformatmappertests.mm", |
| 513 "objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm", |
| 514 "objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm", |
504 ] | 515 ] |
505 if (is_ios && | 516 if (is_ios && |
506 !(use_ios_simulator && | 517 !(use_ios_simulator && |
507 # The tests crash on these simulator versions: | 518 # The tests crash on these simulator versions: |
508 (ios_sdk_version == "10.0" || ios_sdk_version == "10.1"))) { | 519 (ios_sdk_version == "10.0" || ios_sdk_version == "10.1"))) { |
509 sources += | 520 sources += |
510 [ "objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm" ] | 521 [ "objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm" ] |
511 } | 522 } |
512 | 523 |
513 # |-ObjC| flag needed to make sure category method implementations | 524 # |-ObjC| flag needed to make sure category method implementations |
514 # are included: | 525 # are included: |
515 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | 526 # https://developer.apple.com/library/mac/qa/qa1490/_index.html |
516 ldflags = [ "-ObjC" ] | 527 ldflags = [ "-ObjC" ] |
517 | 528 |
518 defines = [ "GTEST_RELATIVE_PATH" ] | 529 defines = [ "GTEST_RELATIVE_PATH" ] |
519 deps = [ | 530 deps = [ |
520 ":objc_peerconnection", | 531 ":objc_peerconnection", |
| 532 ":objc_peerconnectionfactory", |
| 533 ":objc_videotoolbox", |
| 534 ":objc_videotracksource", |
521 "..//system_wrappers:system_wrappers_default", | 535 "..//system_wrappers:system_wrappers_default", |
522 "../base:rtc_base_tests_utils", | 536 "../base:rtc_base_tests_utils", |
| 537 "../modules:module_api", |
523 "../system_wrappers:system_wrappers_default", | 538 "../system_wrappers:system_wrappers_default", |
524 "//third_party/ocmock", | 539 "//third_party/ocmock", |
525 ] | 540 ] |
526 | 541 |
527 if (is_ios) { | 542 if (is_ios) { |
528 sources += [ "objc/Framework/UnitTests/RTCAudioSessionTest.mm" ] | 543 sources += [ "objc/Framework/UnitTests/RTCAudioSessionTest.mm" ] |
529 | 544 |
530 # RTCMTLVideoView not supported on 32-bit arm | 545 # RTCMTLVideoView not supported on 32-bit arm |
531 if (current_cpu != "arm") { | 546 if (current_cpu != "arm") { |
532 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] | 547 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] |
(...skipping 13 matching lines...) Expand all Loading... |
546 } | 561 } |
547 } | 562 } |
548 | 563 |
549 if (is_ios) { | 564 if (is_ios) { |
550 ios_framework_bundle("objc_framework") { | 565 ios_framework_bundle("objc_framework") { |
551 info_plist = "objc/Framework/Info.plist" | 566 info_plist = "objc/Framework/Info.plist" |
552 output_name = "WebRTC" | 567 output_name = "WebRTC" |
553 | 568 |
554 common_objc_headers = [ | 569 common_objc_headers = [ |
555 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", | 570 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", |
| 571 "objc/Framework/Headers/WebRTC/RTCVideoCodec.h", |
| 572 "objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h", |
556 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", | 573 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", |
557 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", | 574 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
558 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", | 575 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", |
559 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", | 576 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", |
560 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h", | 577 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h", |
561 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h", | 578 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h", |
562 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", | 579 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", |
563 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", | 580 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", |
564 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", | 581 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", |
565 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", | 582 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", |
(...skipping 22 matching lines...) Expand all Loading... |
588 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", | 605 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", |
589 "objc/Framework/Headers/WebRTC/RTCTracing.h", | 606 "objc/Framework/Headers/WebRTC/RTCTracing.h", |
590 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", | 607 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", |
591 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", | 608 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
592 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 609 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
593 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", | 610 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
594 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", | 611 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
595 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", | 612 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
596 "objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", | 613 "objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", |
597 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", | 614 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", |
| 615 "objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h", |
598 "objc/Framework/Headers/WebRTC/WebRTC.h", | 616 "objc/Framework/Headers/WebRTC/WebRTC.h", |
599 ] | 617 ] |
600 if (rtc_use_metal_rendering) { | 618 if (rtc_use_metal_rendering) { |
601 common_objc_headers += | 619 common_objc_headers += |
602 [ "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h" ] | 620 [ "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h" ] |
603 } | 621 } |
604 sources = common_objc_headers | 622 sources = common_objc_headers |
605 public_headers = common_objc_headers | 623 public_headers = common_objc_headers |
606 | 624 |
607 if (!build_with_chromium) { | 625 if (!build_with_chromium) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 } | 692 } |
675 | 693 |
676 rtc_static_library("objc_videotoolbox") { | 694 rtc_static_library("objc_videotoolbox") { |
677 sources = [ | 695 sources = [ |
678 "objc/Framework/Classes/VideoToolbox/decoder.h", | 696 "objc/Framework/Classes/VideoToolbox/decoder.h", |
679 "objc/Framework/Classes/VideoToolbox/decoder.mm", | 697 "objc/Framework/Classes/VideoToolbox/decoder.mm", |
680 "objc/Framework/Classes/VideoToolbox/encoder.h", | 698 "objc/Framework/Classes/VideoToolbox/encoder.h", |
681 "objc/Framework/Classes/VideoToolbox/encoder.mm", | 699 "objc/Framework/Classes/VideoToolbox/encoder.mm", |
682 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", | 700 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", |
683 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", | 701 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", |
684 "objc/Framework/Classes/VideoToolbox/videocodecfactory.h", | 702 "objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.h", |
685 "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", | 703 "objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.mm", |
| 704 "objc/Framework/Classes/VideoToolbox/objc_video_encoder_factory.h", |
| 705 "objc/Framework/Classes/VideoToolbox/objc_video_encoder_factory.mm", |
686 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 706 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
687 ] | 707 ] |
688 | 708 |
689 configs += [ "..:common_objc" ] | 709 configs += [ "..:common_objc" ] |
690 | 710 |
691 deps = [ | 711 deps = [ |
692 ":objc_common", | 712 ":objc_common", |
693 ":objc_video", | 713 ":objc_video", |
694 ":objc_videotracksource", | 714 ":objc_videotracksource", |
| 715 "../api/video_codecs:video_codecs_api", |
695 "../base:rtc_base_approved", | 716 "../base:rtc_base_approved", |
696 "../common_video", | 717 "../common_video", |
697 "../media:rtc_media", | 718 "../media:rtc_media", |
698 "../media:rtc_media_base", | 719 "../media:rtc_media_base", |
699 "../modules:module_api", | 720 "../modules:module_api", |
700 "../modules/video_coding:video_coding_utility", | 721 "../modules/video_coding:video_coding_utility", |
701 "../modules/video_coding:webrtc_h264", | 722 "../modules/video_coding:webrtc_h264", |
702 "../system_wrappers", | 723 "../system_wrappers", |
703 ] | 724 ] |
704 | 725 |
(...skipping 15 matching lines...) Expand all Loading... |
720 public_deps = [ | 741 public_deps = [ |
721 "$rtc_libyuv_dir", | 742 "$rtc_libyuv_dir", |
722 ] | 743 ] |
723 } else { | 744 } else { |
724 # Need to add a directory normally exported by libyuv. | 745 # Need to add a directory normally exported by libyuv. |
725 include_dirs = [ "$rtc_libyuv_dir/include" ] | 746 include_dirs = [ "$rtc_libyuv_dir/include" ] |
726 } | 747 } |
727 } | 748 } |
728 } | 749 } |
729 } | 750 } |
OLD | NEW |