| 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 '../components/tracing.gyp:tracing', | 8 '../components/tracing.gyp:tracing', |
| 9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | 9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', |
| 10 '../net/net.gyp:net', | 10 '../net/net.gyp:net', |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 'common/gpu/media/android_video_encode_accelerator.h', | 755 'common/gpu/media/android_video_encode_accelerator.h', |
| 756 ], | 756 ], |
| 757 }], | 757 }], |
| 758 ['enable_webrtc==1', { | 758 ['enable_webrtc==1', { |
| 759 'dependencies': [ | 759 'dependencies': [ |
| 760 '../third_party/libjingle/libjingle.gyp:libjingle', | 760 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 761 ], | 761 ], |
| 762 }], | 762 }], |
| 763 ['use_v4lplugin==1 and chromeos==1', { | 763 ['use_v4lplugin==1 and chromeos==1', { |
| 764 'defines': [ | 764 'defines': [ |
| 765 'USE_LIBV4L2', | 765 'USE_LIBV4L2' |
| 766 ], | 766 ], |
| 767 'variables': { | 767 'variables': { |
| 768 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 768 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
| 769 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment', | 769 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment', |
| 770 'sig_files': ['common/gpu/media/v4l2.sig'], | 770 'sig_files': ['common/gpu/media/v4l2.sig'], |
| 771 'outfile_type': 'posix_stubs', | 771 'outfile_type': 'posix_stubs', |
| 772 'stubs_filename_root': 'v4l2_stubs', | 772 'stubs_filename_root': 'v4l2_stubs', |
| 773 'project_path': 'content/common/gpu/media', | 773 'project_path': 'content/common/gpu/media', |
| 774 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 774 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
| 775 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', | 775 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 806 }], | 806 }], |
| 807 ['chromeos==1 and use_v4l2_codec==1', { | 807 ['chromeos==1 and use_v4l2_codec==1', { |
| 808 'direct_dependent_settings': { | 808 'direct_dependent_settings': { |
| 809 'defines': [ | 809 'defines': [ |
| 810 'USE_V4L2_CODEC' | 810 'USE_V4L2_CODEC' |
| 811 ], | 811 ], |
| 812 }, | 812 }, |
| 813 'defines': [ | 813 'defines': [ |
| 814 'USE_V4L2_CODEC' | 814 'USE_V4L2_CODEC' |
| 815 ], | 815 ], |
| 816 }], | |
| 817 ['chromeos==1 and (target_arch=="arm" or (use_ozone==1 and use_v4l2_codec==1
))', { | |
| 818 'dependencies': [ | 816 'dependencies': [ |
| 819 '../media/media.gyp:media', | 817 '../media/media.gyp:media', |
| 820 ], | 818 ], |
| 821 'sources': [ | 819 'sources': [ |
| 820 'common/gpu/media/accelerated_video_decoder.h', |
| 822 'common/gpu/media/generic_v4l2_video_device.cc', | 821 'common/gpu/media/generic_v4l2_video_device.cc', |
| 823 'common/gpu/media/generic_v4l2_video_device.h', | 822 'common/gpu/media/generic_v4l2_video_device.h', |
| 823 'common/gpu/media/h264_decoder.cc', |
| 824 'common/gpu/media/h264_decoder.h', |
| 825 'common/gpu/media/h264_dpb.cc', |
| 826 'common/gpu/media/h264_dpb.h', |
| 824 'common/gpu/media/v4l2_image_processor.cc', | 827 'common/gpu/media/v4l2_image_processor.cc', |
| 825 'common/gpu/media/v4l2_image_processor.h', | 828 'common/gpu/media/v4l2_image_processor.h', |
| 829 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc', |
| 830 'common/gpu/media/v4l2_slice_video_decode_accelerator.h', |
| 826 'common/gpu/media/v4l2_video_decode_accelerator.cc', | 831 'common/gpu/media/v4l2_video_decode_accelerator.cc', |
| 827 'common/gpu/media/v4l2_video_decode_accelerator.h', | 832 'common/gpu/media/v4l2_video_decode_accelerator.h', |
| 828 'common/gpu/media/v4l2_video_device.cc', | 833 'common/gpu/media/v4l2_video_device.cc', |
| 829 'common/gpu/media/v4l2_video_device.h', | 834 'common/gpu/media/v4l2_video_device.h', |
| 830 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 835 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
| 831 'common/gpu/media/v4l2_video_encode_accelerator.h', | 836 'common/gpu/media/v4l2_video_encode_accelerator.h', |
| 837 'common/gpu/media/vp8_decoder.cc', |
| 838 'common/gpu/media/vp8_decoder.h', |
| 839 'common/gpu/media/vp8_picture.cc', |
| 840 'common/gpu/media/vp8_picture.h', |
| 832 ], | 841 ], |
| 833 'include_dirs': [ | 842 'include_dirs': [ |
| 834 '<(DEPTH)/third_party/khronos', | 843 '<(DEPTH)/third_party/khronos', |
| 835 ], | 844 ], |
| 836 'conditions': [ | 845 }], |
| 837 ['target_arch == "arm"', { | 846 ['target_arch == "arm" and chromeos == 1', { |
| 838 'sources': [ | 847 'sources': [ |
| 839 'common/gpu/media/tegra_v4l2_video_device.cc', | 848 'common/gpu/media/tegra_v4l2_video_device.cc', |
| 840 'common/gpu/media/tegra_v4l2_video_device.h', | 849 'common/gpu/media/tegra_v4l2_video_device.h', |
| 841 ], | |
| 842 'conditions': [ | |
| 843 ['use_v4lplugin==1', { | |
| 844 'sources': [ | |
| 845 'common/gpu/media/accelerated_video_decoder.h', | |
| 846 'common/gpu/media/h264_decoder.cc', | |
| 847 'common/gpu/media/h264_decoder.h', | |
| 848 'common/gpu/media/h264_dpb.cc', | |
| 849 'common/gpu/media/h264_dpb.h', | |
| 850 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc', | |
| 851 'common/gpu/media/v4l2_slice_video_decode_accelerator.h', | |
| 852 'common/gpu/media/vp8_decoder.cc', | |
| 853 'common/gpu/media/vp8_decoder.h', | |
| 854 'common/gpu/media/vp8_picture.cc', | |
| 855 'common/gpu/media/vp8_picture.h', | |
| 856 ], | |
| 857 }], | |
| 858 ], | |
| 859 }], | |
| 860 ], | 850 ], |
| 861 }], | 851 }], |
| 862 ['target_arch != "arm" and chromeos == 1', { | 852 ['target_arch != "arm" and chromeos == 1', { |
| 863 'dependencies': [ | 853 'dependencies': [ |
| 864 '../media/media.gyp:media', | 854 '../media/media.gyp:media', |
| 865 '../third_party/libyuv/libyuv.gyp:libyuv', | 855 '../third_party/libyuv/libyuv.gyp:libyuv', |
| 866 ], | 856 ], |
| 867 'sources': [ | 857 'sources': [ |
| 868 'common/gpu/media/va_surface.h', | 858 'common/gpu/media/va_surface.h', |
| 869 'common/gpu/media/vaapi_h264_decoder.cc', | 859 'common/gpu/media/vaapi_h264_decoder.cc', |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 1028 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
| 1039 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', | 1029 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', |
| 1040 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', | 1030 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', |
| 1041 'common/gpu/gpu_memory_buffer_factory_ozone.cc', | 1031 'common/gpu/gpu_memory_buffer_factory_ozone.cc', |
| 1042 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', | 1032 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', |
| 1043 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', | 1033 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', |
| 1044 ], | 1034 ], |
| 1045 }], | 1035 }], |
| 1046 ], | 1036 ], |
| 1047 } | 1037 } |
| OLD | NEW |