OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'dependencies': [ | 6 'dependencies': [ |
7 '../base/base.gyp:base', | 7 '../base/base.gyp:base', |
8 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', | 8 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', |
9 '../cc/cc.gyp:cc', | 9 '../cc/cc.gyp:cc', |
10 '../cc/blink/cc_blink.gyp:cc_blink', | 10 '../cc/blink/cc_blink.gyp:cc_blink', |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 'renderer/media/rtc_video_encoder.h', | 646 'renderer/media/rtc_video_encoder.h', |
647 'renderer/media/rtc_video_encoder_factory.cc', | 647 'renderer/media/rtc_video_encoder_factory.cc', |
648 'renderer/media/rtc_video_encoder_factory.h', | 648 'renderer/media/rtc_video_encoder_factory.h', |
649 'renderer/media/speech_recognition_audio_sink.cc', | 649 'renderer/media/speech_recognition_audio_sink.cc', |
650 'renderer/media/speech_recognition_audio_sink.h', | 650 'renderer/media/speech_recognition_audio_sink.h', |
651 'renderer/media/user_media_client_impl.cc', | 651 'renderer/media/user_media_client_impl.cc', |
652 'renderer/media/video_track_adapter.cc', | 652 'renderer/media/video_track_adapter.cc', |
653 'renderer/media/video_track_adapter.h', | 653 'renderer/media/video_track_adapter.h', |
654 'renderer/media/video_track_recorder.cc', | 654 'renderer/media/video_track_recorder.cc', |
655 'renderer/media/video_track_recorder.h', | 655 'renderer/media/video_track_recorder.h', |
656 'renderer/media/video_track_to_pepper_adapter.cc', | |
657 'renderer/media/video_track_to_pepper_adapter.h', | |
658 'renderer/media/webaudio_capturer_source.cc', | 656 'renderer/media/webaudio_capturer_source.cc', |
659 'renderer/media/webaudio_capturer_source.h', | 657 'renderer/media/webaudio_capturer_source.h', |
660 'renderer/media/webrtc/media_stream_remote_video_source.cc', | 658 'renderer/media/webrtc/media_stream_remote_video_source.cc', |
661 'renderer/media/webrtc/media_stream_remote_video_source.h', | 659 'renderer/media/webrtc/media_stream_remote_video_source.h', |
662 'renderer/media/webrtc/media_stream_track_metrics.cc', | 660 'renderer/media/webrtc/media_stream_track_metrics.cc', |
663 'renderer/media/webrtc/media_stream_track_metrics.h', | 661 'renderer/media/webrtc/media_stream_track_metrics.h', |
664 'renderer/media/webrtc/peer_connection_dependency_factory.cc', | 662 'renderer/media/webrtc/peer_connection_dependency_factory.cc', |
665 'renderer/media/webrtc/peer_connection_dependency_factory.h', | 663 'renderer/media/webrtc/peer_connection_dependency_factory.h', |
666 'renderer/media/webrtc/stun_field_trial.cc', | 664 'renderer/media/webrtc/stun_field_trial.cc', |
667 'renderer/media/webrtc/stun_field_trial.h', | 665 'renderer/media/webrtc/stun_field_trial.h', |
668 'renderer/media/webrtc/track_observer.cc', | 666 'renderer/media/webrtc/track_observer.cc', |
669 'renderer/media/webrtc/track_observer.h', | 667 'renderer/media/webrtc/track_observer.h', |
670 'renderer/media/pepper_to_video_track_adapter.cc', | |
671 'renderer/media/pepper_to_video_track_adapter.h', | |
672 'renderer/media/webrtc/webrtc_audio_sink_adapter.cc', | 668 'renderer/media/webrtc/webrtc_audio_sink_adapter.cc', |
673 'renderer/media/webrtc/webrtc_audio_sink_adapter.h', | 669 'renderer/media/webrtc/webrtc_audio_sink_adapter.h', |
674 'renderer/media/webrtc/webrtc_local_audio_track_adapter.cc', | 670 'renderer/media/webrtc/webrtc_local_audio_track_adapter.cc', |
675 'renderer/media/webrtc/webrtc_local_audio_track_adapter.h', | 671 'renderer/media/webrtc/webrtc_local_audio_track_adapter.h', |
676 'renderer/media/webrtc/webrtc_media_stream_adapter.cc', | 672 'renderer/media/webrtc/webrtc_media_stream_adapter.cc', |
677 'renderer/media/webrtc/webrtc_media_stream_adapter.h', | 673 'renderer/media/webrtc/webrtc_media_stream_adapter.h', |
678 'renderer/media/webrtc/webrtc_video_capturer_adapter.cc', | 674 'renderer/media/webrtc/webrtc_video_capturer_adapter.cc', |
679 'renderer/media/webrtc/webrtc_video_capturer_adapter.h', | 675 'renderer/media/webrtc/webrtc_video_capturer_adapter.h', |
680 'renderer/media/webrtc/webrtc_video_frame_adapter.cc', | 676 'renderer/media/webrtc/webrtc_video_frame_adapter.cc', |
681 'renderer/media/webrtc/webrtc_video_frame_adapter.h', | 677 'renderer/media/webrtc/webrtc_video_frame_adapter.h', |
(...skipping 28 matching lines...) Expand all Loading... |
710 'renderer/p2p/network_list_observer.h', | 706 'renderer/p2p/network_list_observer.h', |
711 'renderer/p2p/port_allocator.cc', | 707 'renderer/p2p/port_allocator.cc', |
712 'renderer/p2p/port_allocator.h', | 708 'renderer/p2p/port_allocator.h', |
713 'renderer/p2p/socket_client_impl.cc', | 709 'renderer/p2p/socket_client_impl.cc', |
714 'renderer/p2p/socket_client_impl.h', | 710 'renderer/p2p/socket_client_impl.h', |
715 'renderer/p2p/socket_dispatcher.cc', | 711 'renderer/p2p/socket_dispatcher.cc', |
716 'renderer/p2p/socket_dispatcher.h', | 712 'renderer/p2p/socket_dispatcher.h', |
717 ], | 713 ], |
718 # Stuff only used when both WebRTC and plugins are enabled. | 714 # Stuff only used when both WebRTC and plugins are enabled. |
719 'private_renderer_plugin_webrtc_sources': [ | 715 'private_renderer_plugin_webrtc_sources': [ |
| 716 'renderer/media/pepper_to_video_track_adapter.cc', |
| 717 'renderer/media/pepper_to_video_track_adapter.h', |
| 718 'renderer/media/video_track_to_pepper_adapter.cc', |
| 719 'renderer/media/video_track_to_pepper_adapter.h', |
720 'renderer/pepper/pepper_media_stream_audio_track_host.cc', | 720 'renderer/pepper/pepper_media_stream_audio_track_host.cc', |
721 'renderer/pepper/pepper_media_stream_audio_track_host.h', | 721 'renderer/pepper/pepper_media_stream_audio_track_host.h', |
722 'renderer/pepper/pepper_media_stream_track_host_base.cc', | 722 'renderer/pepper/pepper_media_stream_track_host_base.cc', |
723 'renderer/pepper/pepper_media_stream_track_host_base.h', | 723 'renderer/pepper/pepper_media_stream_track_host_base.h', |
724 'renderer/pepper/pepper_media_stream_video_track_host.cc', | 724 'renderer/pepper/pepper_media_stream_video_track_host.cc', |
725 'renderer/pepper/pepper_media_stream_video_track_host.h', | 725 'renderer/pepper/pepper_media_stream_video_track_host.h', |
726 'renderer/pepper/pepper_video_destination_host.cc', | 726 'renderer/pepper/pepper_video_destination_host.cc', |
727 'renderer/pepper/pepper_video_destination_host.h', | 727 'renderer/pepper/pepper_video_destination_host.h', |
728 'renderer/pepper/pepper_video_source_host.cc', | 728 'renderer/pepper/pepper_video_source_host.cc', |
729 'renderer/pepper/pepper_video_source_host.h', | 729 'renderer/pepper/pepper_video_source_host.h', |
(...skipping 21 matching lines...) Expand all Loading... |
751 ], | 751 ], |
752 }], | 752 }], |
753 ['OS=="win" and win_use_allocator_shim==1', { | 753 ['OS=="win" and win_use_allocator_shim==1', { |
754 'dependencies': [ | 754 'dependencies': [ |
755 '../base/allocator/allocator.gyp:allocator', | 755 '../base/allocator/allocator.gyp:allocator', |
756 ], | 756 ], |
757 }], | 757 }], |
758 ['OS=="android"', { | 758 ['OS=="android"', { |
759 'sources!': [ | 759 'sources!': [ |
760 'renderer/media/audio_decoder.cc', | 760 'renderer/media/audio_decoder.cc', |
| 761 'renderer/media/media_recorder_handler.cc', |
| 762 'renderer/media/media_recorder_handler.h', |
761 'renderer/media/video_track_recorder.cc', | 763 'renderer/media/video_track_recorder.cc', |
762 'renderer/media/video_track_recorder.h', | 764 'renderer/media/video_track_recorder.h', |
763 'renderer/media/media_recorder_handler.cc', | |
764 'renderer/media/media_recorder_handler.h', | |
765 'renderer/usb/type_converters.cc', | 765 'renderer/usb/type_converters.cc', |
766 'renderer/usb/type_converters.h', | 766 'renderer/usb/type_converters.h', |
767 'renderer/usb/web_usb_client_impl.cc', | 767 'renderer/usb/web_usb_client_impl.cc', |
768 'renderer/usb/web_usb_client_impl.h', | 768 'renderer/usb/web_usb_client_impl.h', |
769 'renderer/usb/web_usb_device_impl.cc', | 769 'renderer/usb/web_usb_device_impl.cc', |
770 'renderer/usb/web_usb_device_impl.h', | 770 'renderer/usb/web_usb_device_impl.h', |
771 ], | 771 ], |
772 'sources': [ | 772 'sources': [ |
773 'renderer/external_popup_menu.cc', | 773 'renderer/external_popup_menu.cc', |
774 'renderer/external_popup_menu.h', | 774 'renderer/external_popup_menu.h', |
(...skipping 15 matching lines...) Expand all Loading... |
790 'renderer/java/gin_java_bridge_value_converter.h', | 790 'renderer/java/gin_java_bridge_value_converter.h', |
791 'renderer/java/gin_java_function_invocation_helper.cc', | 791 'renderer/java/gin_java_function_invocation_helper.cc', |
792 'renderer/java/gin_java_function_invocation_helper.h', | 792 'renderer/java/gin_java_function_invocation_helper.h', |
793 ], | 793 ], |
794 'dependencies': [ | 794 'dependencies': [ |
795 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings_lib', | 795 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings_lib', |
796 '../device/devices_app/devices_app.gyp:devices_app_public_cpp', | 796 '../device/devices_app/devices_app.gyp:devices_app_public_cpp', |
797 '../media/cast/cast.gyp:cast_sender', | 797 '../media/cast/cast.gyp:cast_sender', |
798 ] | 798 ] |
799 }], | 799 }], |
800 # TODO(jrg): remove the OS=="android" section? | |
801 # http://crbug.com/113172 | |
802 # Understand better how media_stream_ is tied into Chromium. | |
803 ['enable_webrtc==0 and OS=="android"', { | |
804 'sources/': [ | |
805 ['exclude', '^renderer/media/media_stream_'], | |
806 ], | |
807 }], | |
808 ['enable_webrtc==1', { | 800 ['enable_webrtc==1', { |
809 'dependencies': [ | 801 'dependencies': [ |
810 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', | 802 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', |
811 '../third_party/libjingle/libjingle.gyp:libpeerconnection', | 803 '../third_party/libjingle/libjingle.gyp:libpeerconnection', |
812 '../third_party/libyuv/libyuv.gyp:libyuv', | 804 '../third_party/libyuv/libyuv.gyp:libyuv', |
813 '../third_party/webrtc/modules/modules.gyp:audio_device', | 805 '../third_party/webrtc/modules/modules.gyp:audio_device', |
814 '../third_party/webrtc/modules/modules.gyp:audio_processing', | 806 '../third_party/webrtc/modules/modules.gyp:audio_processing', |
815 '../third_party/webrtc/p2p/p2p.gyp:libstunprober', | 807 '../third_party/webrtc/p2p/p2p.gyp:libstunprober', |
816 '<(DEPTH)/crypto/crypto.gyp:crypto', | 808 '<(DEPTH)/crypto/crypto.gyp:crypto', |
817 ], | 809 ], |
818 'sources': [ | 810 'sources': [ |
819 '<@(public_renderer_webrtc_sources)', | 811 '<@(public_renderer_webrtc_sources)', |
820 '<@(private_renderer_webrtc_sources)', | 812 '<@(private_renderer_webrtc_sources)', |
821 ], | 813 ], |
822 },{ # enable_webrtc==0 | 814 },{ # enable_webrtc==0 |
823 'sources': [ | 815 'sources': [ |
824 'renderer/media/webrtc_logging.h', | 816 'renderer/media/webrtc_logging.h', |
825 'renderer/media/webrtc_logging_noop.cc', | 817 'renderer/media/webrtc_logging_noop.cc', |
826 ], | 818 ], |
| 819 # TODO(jrg): Understand better how media_stream_ is tied into Chromium, |
| 820 # and maybe remove the OS=="android" section? http://crbug.com/113172 |
| 821 'conditions': [ |
| 822 ['OS=="android"', { |
| 823 'sources/': [ |
| 824 ['exclude', '^renderer/media/media_stream_'], |
| 825 ], |
| 826 }], |
| 827 ], |
827 }], | 828 }], |
828 ['enable_plugins==1', { | 829 ['enable_plugins==1', { |
829 'sources': [ | 830 'sources': [ |
830 '<@(public_renderer_plugin_sources)', | 831 '<@(public_renderer_plugin_sources)', |
831 '<@(private_renderer_plugin_sources)', | 832 '<@(private_renderer_plugin_sources)', |
832 ], | 833 ], |
833 'conditions': [ | 834 'conditions': [ |
834 ['OS=="android"', { | 835 ['OS=="android"', { |
835 'sources!': [ | 836 'sources!': [ |
836 # Android does not build FFmpeg, which these depend on. | 837 # Android does not build FFmpeg, which these depend on. |
837 'renderer/pepper/video_decoder_shim.cc', | 838 'renderer/pepper/video_decoder_shim.cc', |
838 'renderer/pepper/video_decoder_shim.h', | 839 'renderer/pepper/video_decoder_shim.h', |
839 'renderer/pepper/video_encoder_shim.cc', | 840 'renderer/pepper/video_encoder_shim.cc', |
840 'renderer/pepper/video_encoder_shim.h', | 841 'renderer/pepper/video_encoder_shim.h', |
841 ], | 842 ], |
842 }], | 843 }], |
| 844 ['enable_webrtc==1', { |
| 845 'sources': [ |
| 846 '<@(private_renderer_plugin_webrtc_sources)', |
| 847 ], |
| 848 }], |
843 ], | 849 ], |
844 'dependencies': [ | 850 'dependencies': [ |
845 '../ppapi/ppapi_internal.gyp:ppapi_host', | 851 '../ppapi/ppapi_internal.gyp:ppapi_host', |
846 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | 852 '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
847 '../ppapi/ppapi_internal.gyp:ppapi_shared', | 853 '../ppapi/ppapi_internal.gyp:ppapi_shared', |
848 '../third_party/libyuv/libyuv.gyp:libyuv', | 854 '../third_party/libyuv/libyuv.gyp:libyuv', |
849 ], | 855 ], |
850 }, { # enable_plugins==0 | |
851 'sources!': [ | |
852 # These are not in the plugins sources list since it also requires webrt
c. | |
853 'renderer/media/pepper_to_video_track_adapter.cc', | |
854 'renderer/media/pepper_to_video_track_adapter.h', | |
855 ], | |
856 }], | |
857 ['enable_plugins==1 and enable_webrtc==1', { | |
858 'sources': [ | |
859 '<@(private_renderer_plugin_webrtc_sources)', | |
860 ], | |
861 }], | 856 }], |
862 ['enable_pepper_cdms != 1', { | 857 ['enable_pepper_cdms != 1', { |
863 'sources!': [ | 858 'sources!': [ |
864 'renderer/media/crypto/pepper_cdm_wrapper.h', | 859 'renderer/media/crypto/pepper_cdm_wrapper.h', |
865 'renderer/media/crypto/pepper_cdm_wrapper_impl.cc', | 860 'renderer/media/crypto/pepper_cdm_wrapper_impl.cc', |
866 'renderer/media/crypto/pepper_cdm_wrapper_impl.h', | 861 'renderer/media/crypto/pepper_cdm_wrapper_impl.h', |
867 'renderer/media/crypto/ppapi_decryptor.cc', | 862 'renderer/media/crypto/ppapi_decryptor.cc', |
868 'renderer/media/crypto/ppapi_decryptor.h', | 863 'renderer/media/crypto/ppapi_decryptor.h', |
869 ], | 864 ], |
870 }], | 865 }], |
(...skipping 18 matching lines...) Expand all Loading... |
889 }], | 884 }], |
890 ], | 885 ], |
891 'target_conditions': [ | 886 'target_conditions': [ |
892 ['OS=="android"', { | 887 ['OS=="android"', { |
893 'sources/': [ | 888 'sources/': [ |
894 ['include', '^renderer/render_view_linux\\.cc$'], | 889 ['include', '^renderer/render_view_linux\\.cc$'], |
895 ], | 890 ], |
896 }], | 891 }], |
897 ], | 892 ], |
898 } | 893 } |
OLD | NEW |