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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
688 | 688 |
689 if (!build_with_chromium && is_clang) { | 689 if (!build_with_chromium && is_clang) { |
690 # Suppress warnings from the Chromium Clang plugin | 690 # Suppress warnings from the Chromium Clang plugin |
691 # (bugs.webrtc.org/163). | 691 # (bugs.webrtc.org/163). |
692 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 692 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
693 } | 693 } |
694 | 694 |
695 libs = [ "CoreVideo.framework" ] | 695 libs = [ "CoreVideo.framework" ] |
696 } | 696 } |
697 | 697 |
698 rtc_static_library("video_toolbox_cc") { | |
mbonadei
2017/08/15 15:01:52
kjellander@: Do you think it is a good name or sho
kjellander_webrtc
2017/08/15 16:16:24
Restrict visibility?
kjellander_webrtc
2017/08/15 16:16:24
It's good. The other ones should be changed in ano
mbonadei
2017/08/16 07:52:30
Done, good catch!
| |
699 sources = [ | |
700 "objc/Framework/Classes/VideoToolbox/helpers.cc", | |
701 "objc/Framework/Classes/VideoToolbox/helpers.h", | |
702 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", | |
703 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", | |
704 ] | |
705 deps = [ | |
706 "../common_video", | |
707 "../modules:module_api", | |
708 "../modules/video_coding:webrtc_h264", | |
709 "../rtc_base:rtc_base_approved", | |
710 ] | |
711 if (!build_with_chromium && is_clang) { | |
712 # Suppress warnings from the Chromium Clang plugin | |
713 # (bugs.webrtc.org/163). | |
714 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
715 } | |
716 } | |
717 | |
698 rtc_static_library("objc_videotoolbox") { | 718 rtc_static_library("objc_videotoolbox") { |
699 sources = [ | 719 sources = [ |
700 "objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm", | 720 "objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm", |
701 "objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm", | 721 "objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm", |
702 "objc/Framework/Classes/VideoToolbox/helpers.cc", | |
703 "objc/Framework/Classes/VideoToolbox/helpers.h", | |
704 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", | |
705 "objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", | |
706 "objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.h", | 722 "objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.h", |
707 "objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.mm", | 723 "objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.mm", |
708 "objc/Framework/Classes/VideoToolbox/objc_video_encoder_factory.h", | 724 "objc/Framework/Classes/VideoToolbox/objc_video_encoder_factory.h", |
709 "objc/Framework/Classes/VideoToolbox/objc_video_encoder_factory.mm", | 725 "objc/Framework/Classes/VideoToolbox/objc_video_encoder_factory.mm", |
710 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 726 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
711 ] | 727 ] |
712 | 728 |
713 configs += [ "..:common_objc" ] | 729 configs += [ "..:common_objc" ] |
714 | 730 |
715 deps = [ | 731 deps = [ |
716 ":objc_common", | 732 ":objc_common", |
717 ":objc_video", | 733 ":objc_video", |
718 ":objc_videotracksource", | 734 ":objc_videotracksource", |
735 ":video_toolbox_cc", | |
719 "../api/video_codecs:video_codecs_api", | 736 "../api/video_codecs:video_codecs_api", |
720 "../common_video", | 737 "../common_video", |
721 "../media:rtc_media", | 738 "../media:rtc_media", |
722 "../media:rtc_media_base", | 739 "../media:rtc_media_base", |
723 "../modules:module_api", | 740 "../modules:module_api", |
724 "../modules/video_coding:video_coding_utility", | 741 "../modules/video_coding:video_coding_utility", |
725 "../modules/video_coding:webrtc_h264", | 742 "../modules/video_coding:webrtc_h264", |
726 "../rtc_base:rtc_base_approved", | 743 "../rtc_base:rtc_base_approved", |
727 "../system_wrappers", | 744 "../system_wrappers", |
728 ] | 745 ] |
(...skipping 16 matching lines...) Expand all Loading... | |
745 public_deps = [ | 762 public_deps = [ |
746 "$rtc_libyuv_dir", | 763 "$rtc_libyuv_dir", |
747 ] | 764 ] |
748 } else { | 765 } else { |
749 # Need to add a directory normally exported by libyuv. | 766 # Need to add a directory normally exported by libyuv. |
750 include_dirs = [ "$rtc_libyuv_dir/include" ] | 767 include_dirs = [ "$rtc_libyuv_dir/include" ] |
751 } | 768 } |
752 } | 769 } |
753 } | 770 } |
754 } | 771 } |
OLD | NEW |