Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: content/content_common.gypi

Issue 902773003: Revert of Clean up V4L2 codec-related flags and defines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 ))', {
816 'dependencies': [ 818 'dependencies': [
817 '../media/media.gyp:media', 819 '../media/media.gyp:media',
818 ], 820 ],
819 'sources': [ 821 'sources': [
820 'common/gpu/media/accelerated_video_decoder.h',
821 'common/gpu/media/generic_v4l2_video_device.cc', 822 'common/gpu/media/generic_v4l2_video_device.cc',
822 'common/gpu/media/generic_v4l2_video_device.h', 823 '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',
827 'common/gpu/media/v4l2_image_processor.cc', 824 'common/gpu/media/v4l2_image_processor.cc',
828 'common/gpu/media/v4l2_image_processor.h', 825 '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',
831 'common/gpu/media/v4l2_video_decode_accelerator.cc', 826 'common/gpu/media/v4l2_video_decode_accelerator.cc',
832 'common/gpu/media/v4l2_video_decode_accelerator.h', 827 'common/gpu/media/v4l2_video_decode_accelerator.h',
833 'common/gpu/media/v4l2_video_device.cc', 828 'common/gpu/media/v4l2_video_device.cc',
834 'common/gpu/media/v4l2_video_device.h', 829 'common/gpu/media/v4l2_video_device.h',
835 'common/gpu/media/v4l2_video_encode_accelerator.cc', 830 'common/gpu/media/v4l2_video_encode_accelerator.cc',
836 'common/gpu/media/v4l2_video_encode_accelerator.h', 831 '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',
841 ], 832 ],
842 'include_dirs': [ 833 'include_dirs': [
843 '<(DEPTH)/third_party/khronos', 834 '<(DEPTH)/third_party/khronos',
844 ], 835 ],
845 }], 836 'conditions': [
846 ['target_arch == "arm" and chromeos == 1', { 837 ['target_arch == "arm"', {
847 'sources': [ 838 'sources': [
848 'common/gpu/media/tegra_v4l2_video_device.cc', 839 'common/gpu/media/tegra_v4l2_video_device.cc',
849 'common/gpu/media/tegra_v4l2_video_device.h', 840 '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 }],
850 ], 860 ],
851 }], 861 }],
852 ['target_arch != "arm" and chromeos == 1', { 862 ['target_arch != "arm" and chromeos == 1', {
853 'dependencies': [ 863 'dependencies': [
854 '../media/media.gyp:media', 864 '../media/media.gyp:media',
855 '../third_party/libyuv/libyuv.gyp:libyuv', 865 '../third_party/libyuv/libyuv.gyp:libyuv',
856 ], 866 ],
857 'sources': [ 867 'sources': [
858 'common/gpu/media/va_surface.h', 868 'common/gpu/media/va_surface.h',
859 'common/gpu/media/vaapi_h264_decoder.cc', 869 'common/gpu/media/vaapi_h264_decoder.cc',
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 1038 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1029 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', 1039 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
1030 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', 1040 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
1031 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1041 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1032 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', 1042 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc',
1033 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', 1043 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h',
1034 ], 1044 ],
1035 }], 1045 }],
1036 ], 1046 ],
1037 } 1047 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698