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

Side by Side Diff: content/content_common.gypi

Issue 799543005: Add use_v4l2_codec use flag to include v4l2 codec on x86 CrOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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
« no previous file with comments | « content/common/gpu/media/v4l2_video_decode_accelerator.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
25 ], 25 ],
26 'export_dependent_settings': [ 26 'export_dependent_settings': [
27 '../base/base.gyp:base', 27 '../base/base.gyp:base',
28 # The public content API headers directly include Blink API headers, so we 28 # The public content API headers directly include Blink API headers, so we
29 # have to export the blink header settings so that relative paths in these 29 # have to export the blink header settings so that relative paths in these
30 # headers resolve correctly. 30 # headers resolve correctly.
31 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', 31 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
32 ], 32 ],
33 'variables': { 33 'variables': {
34 'use_v4lplugin%': 0, 34 'use_v4lplugin%': 0,
35 'use_v4l2_codec%': 0,
35 'public_common_sources': [ 36 'public_common_sources': [
36 'public/common/appcache_info.h', 37 'public/common/appcache_info.h',
37 'public/common/bindings_policy.h', 38 'public/common/bindings_policy.h',
38 'public/common/child_process_host.h', 39 'public/common/child_process_host.h',
39 'public/common/child_process_host_delegate.cc', 40 'public/common/child_process_host_delegate.cc',
40 'public/common/child_process_host_delegate.h', 41 'public/common/child_process_host_delegate.h',
41 'public/common/child_process_sandbox_support_linux.h', 42 'public/common/child_process_sandbox_support_linux.h',
42 'public/common/color_suggestion.cc', 43 'public/common/color_suggestion.cc',
43 'public/common/color_suggestion.h', 44 'public/common/color_suggestion.h',
44 'public/common/common_param_traits.cc', 45 'public/common/common_param_traits.cc',
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 '-e', '<(extra_header)', 798 '-e', '<(extra_header)',
798 '-s', '<(stubs_filename_root)', 799 '-s', '<(stubs_filename_root)',
799 '-p', '<(project_path)', 800 '-p', '<(project_path)',
800 '<@(_inputs)', 801 '<@(_inputs)',
801 ], 802 ],
802 'process_outputs_as_sources': 1, 803 'process_outputs_as_sources': 1,
803 'message': 'Generating libv4l2 stubs for dynamic loading', 804 'message': 'Generating libv4l2 stubs for dynamic loading',
804 }, 805 },
805 ], 806 ],
806 }], 807 }],
807 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', { 808 ['chromeos==1 and ((target_arch=="arm" and use_x11==1) or use_v4l2_codec==1) ', {
808 'dependencies': [ 809 'dependencies': [
809 '../media/media.gyp:media', 810 '../media/media.gyp:media',
810 ], 811 ],
811 'sources': [ 812 'sources': [
812 'common/gpu/media/generic_v4l2_video_device.cc', 813 'common/gpu/media/generic_v4l2_video_device.cc',
813 'common/gpu/media/generic_v4l2_video_device.h', 814 'common/gpu/media/generic_v4l2_video_device.h',
814 'common/gpu/media/tegra_v4l2_video_device.cc',
815 'common/gpu/media/tegra_v4l2_video_device.h',
816 'common/gpu/media/v4l2_image_processor.cc', 815 'common/gpu/media/v4l2_image_processor.cc',
817 'common/gpu/media/v4l2_image_processor.h', 816 'common/gpu/media/v4l2_image_processor.h',
818 'common/gpu/media/v4l2_video_decode_accelerator.cc', 817 'common/gpu/media/v4l2_video_decode_accelerator.cc',
819 'common/gpu/media/v4l2_video_decode_accelerator.h', 818 'common/gpu/media/v4l2_video_decode_accelerator.h',
820 'common/gpu/media/v4l2_video_device.cc', 819 'common/gpu/media/v4l2_video_device.cc',
821 'common/gpu/media/v4l2_video_device.h', 820 'common/gpu/media/v4l2_video_device.h',
822 'common/gpu/media/v4l2_video_encode_accelerator.cc', 821 'common/gpu/media/v4l2_video_encode_accelerator.cc',
823 'common/gpu/media/v4l2_video_encode_accelerator.h', 822 'common/gpu/media/v4l2_video_encode_accelerator.h',
824 ], 823 ],
825 'include_dirs': [ 824 'include_dirs': [
826 '<(DEPTH)/third_party/khronos', 825 '<(DEPTH)/third_party/khronos',
827 ], 826 ],
827 'conditions': [
828 ['target_arch == "arm"', {
829 'sources': [
830 'common/gpu/media/tegra_v4l2_video_device.cc',
831 'common/gpu/media/tegra_v4l2_video_device.h',
832 ],
833 }],
834 ],
828 }], 835 }],
829 ['target_arch != "arm" and chromeos == 1', { 836 ['target_arch != "arm" and chromeos == 1', {
830 'dependencies': [ 837 'dependencies': [
831 '../media/media.gyp:media', 838 '../media/media.gyp:media',
832 '../third_party/libyuv/libyuv.gyp:libyuv', 839 '../third_party/libyuv/libyuv.gyp:libyuv',
833 ], 840 ],
834 'sources': [ 841 'sources': [
835 'common/gpu/media/h264_dpb.cc', 842 'common/gpu/media/h264_dpb.cc',
836 'common/gpu/media/h264_dpb.h', 843 'common/gpu/media/h264_dpb.h',
837 'common/gpu/media/va_surface.h', 844 'common/gpu/media/va_surface.h',
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 1012 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1006 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', 1013 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
1007 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', 1014 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
1008 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1015 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1009 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', 1016 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc',
1010 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', 1017 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h',
1011 ], 1018 ],
1012 }], 1019 }],
1013 ], 1020 ],
1014 } 1021 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/v4l2_video_decode_accelerator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698