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