| 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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 'common/gpu/media/android_video_encode_accelerator.h', | 764 'common/gpu/media/android_video_encode_accelerator.h', |
| 765 ], | 765 ], |
| 766 }], | 766 }], |
| 767 ['enable_webrtc==1', { | 767 ['enable_webrtc==1', { |
| 768 'dependencies': [ | 768 'dependencies': [ |
| 769 '../third_party/libjingle/libjingle.gyp:libjingle', | 769 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 770 ], | 770 ], |
| 771 }], | 771 }], |
| 772 ['use_v4lplugin==1 and chromeos==1', { | 772 ['use_v4lplugin==1 and chromeos==1', { |
| 773 'defines': [ | 773 'defines': [ |
| 774 'USE_LIBV4L2', | 774 'USE_LIBV4L2' |
| 775 ], | 775 ], |
| 776 'variables': { | 776 'variables': { |
| 777 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', | 777 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py', |
| 778 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment', | 778 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment', |
| 779 'sig_files': ['common/gpu/media/v4l2.sig'], | 779 'sig_files': ['common/gpu/media/v4l2.sig'], |
| 780 'outfile_type': 'posix_stubs', | 780 'outfile_type': 'posix_stubs', |
| 781 'stubs_filename_root': 'v4l2_stubs', | 781 'stubs_filename_root': 'v4l2_stubs', |
| 782 'project_path': 'content/common/gpu/media', | 782 'project_path': 'content/common/gpu/media', |
| 783 'intermediate_dir': '<(INTERMEDIATE_DIR)', | 783 'intermediate_dir': '<(INTERMEDIATE_DIR)', |
| 784 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', | 784 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 815 }], | 815 }], |
| 816 ['chromeos==1 and use_v4l2_codec==1', { | 816 ['chromeos==1 and use_v4l2_codec==1', { |
| 817 'direct_dependent_settings': { | 817 'direct_dependent_settings': { |
| 818 'defines': [ | 818 'defines': [ |
| 819 'USE_V4L2_CODEC' | 819 'USE_V4L2_CODEC' |
| 820 ], | 820 ], |
| 821 }, | 821 }, |
| 822 'defines': [ | 822 'defines': [ |
| 823 'USE_V4L2_CODEC' | 823 'USE_V4L2_CODEC' |
| 824 ], | 824 ], |
| 825 }], | |
| 826 ['chromeos==1 and (target_arch=="arm" or (use_ozone==1 and use_v4l2_codec==1
))', { | |
| 827 'dependencies': [ | 825 'dependencies': [ |
| 828 '../media/media.gyp:media', | 826 '../media/media.gyp:media', |
| 829 ], | 827 ], |
| 830 'sources': [ | 828 'sources': [ |
| 829 'common/gpu/media/accelerated_video_decoder.h', |
| 831 'common/gpu/media/generic_v4l2_video_device.cc', | 830 'common/gpu/media/generic_v4l2_video_device.cc', |
| 832 'common/gpu/media/generic_v4l2_video_device.h', | 831 'common/gpu/media/generic_v4l2_video_device.h', |
| 832 'common/gpu/media/h264_decoder.cc', |
| 833 'common/gpu/media/h264_decoder.h', |
| 834 'common/gpu/media/h264_dpb.cc', |
| 835 'common/gpu/media/h264_dpb.h', |
| 833 'common/gpu/media/v4l2_image_processor.cc', | 836 'common/gpu/media/v4l2_image_processor.cc', |
| 834 'common/gpu/media/v4l2_image_processor.h', | 837 'common/gpu/media/v4l2_image_processor.h', |
| 838 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc', |
| 839 'common/gpu/media/v4l2_slice_video_decode_accelerator.h', |
| 835 'common/gpu/media/v4l2_video_decode_accelerator.cc', | 840 'common/gpu/media/v4l2_video_decode_accelerator.cc', |
| 836 'common/gpu/media/v4l2_video_decode_accelerator.h', | 841 'common/gpu/media/v4l2_video_decode_accelerator.h', |
| 837 'common/gpu/media/v4l2_video_device.cc', | 842 'common/gpu/media/v4l2_video_device.cc', |
| 838 'common/gpu/media/v4l2_video_device.h', | 843 'common/gpu/media/v4l2_video_device.h', |
| 839 'common/gpu/media/v4l2_video_encode_accelerator.cc', | 844 'common/gpu/media/v4l2_video_encode_accelerator.cc', |
| 840 'common/gpu/media/v4l2_video_encode_accelerator.h', | 845 'common/gpu/media/v4l2_video_encode_accelerator.h', |
| 846 'common/gpu/media/vp8_decoder.cc', |
| 847 'common/gpu/media/vp8_decoder.h', |
| 848 'common/gpu/media/vp8_picture.cc', |
| 849 'common/gpu/media/vp8_picture.h', |
| 841 ], | 850 ], |
| 842 'include_dirs': [ | 851 'include_dirs': [ |
| 843 '<(DEPTH)/third_party/khronos', | 852 '<(DEPTH)/third_party/khronos', |
| 844 ], | 853 ], |
| 845 'conditions': [ | 854 }], |
| 846 ['target_arch == "arm"', { | 855 ['target_arch == "arm" and chromeos == 1', { |
| 847 'sources': [ | 856 'sources': [ |
| 848 'common/gpu/media/tegra_v4l2_video_device.cc', | 857 'common/gpu/media/tegra_v4l2_video_device.cc', |
| 849 'common/gpu/media/tegra_v4l2_video_device.h', | 858 'common/gpu/media/tegra_v4l2_video_device.h', |
| 850 ], | |
| 851 'conditions': [ | |
| 852 ['use_v4lplugin==1', { | |
| 853 'sources': [ | |
| 854 'common/gpu/media/accelerated_video_decoder.h', | |
| 855 'common/gpu/media/h264_decoder.cc', | |
| 856 'common/gpu/media/h264_decoder.h', | |
| 857 'common/gpu/media/h264_dpb.cc', | |
| 858 'common/gpu/media/h264_dpb.h', | |
| 859 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc', | |
| 860 'common/gpu/media/v4l2_slice_video_decode_accelerator.h', | |
| 861 'common/gpu/media/vp8_decoder.cc', | |
| 862 'common/gpu/media/vp8_decoder.h', | |
| 863 'common/gpu/media/vp8_picture.cc', | |
| 864 'common/gpu/media/vp8_picture.h', | |
| 865 ], | |
| 866 }], | |
| 867 ], | |
| 868 }], | |
| 869 ], | 859 ], |
| 870 }], | 860 }], |
| 871 ['target_arch != "arm" and chromeos == 1', { | 861 ['target_arch != "arm" and chromeos == 1', { |
| 872 'dependencies': [ | 862 'dependencies': [ |
| 873 '../media/media.gyp:media', | 863 '../media/media.gyp:media', |
| 874 '../third_party/libyuv/libyuv.gyp:libyuv', | 864 '../third_party/libyuv/libyuv.gyp:libyuv', |
| 875 ], | 865 ], |
| 876 'sources': [ | 866 'sources': [ |
| 877 'common/gpu/media/va_surface.h', | 867 'common/gpu/media/va_surface.h', |
| 878 'common/gpu/media/vaapi_h264_decoder.cc', | 868 'common/gpu/media/vaapi_h264_decoder.cc', |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', | 1040 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', |
| 1051 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', | 1041 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', |
| 1052 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', | 1042 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', |
| 1053 'common/gpu/gpu_memory_buffer_factory_ozone.cc', | 1043 'common/gpu/gpu_memory_buffer_factory_ozone.cc', |
| 1054 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', | 1044 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', |
| 1055 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', | 1045 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', |
| 1056 ], | 1046 ], |
| 1057 }], | 1047 }], |
| 1058 ], | 1048 ], |
| 1059 } | 1049 } |
| OLD | NEW |