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

Side by Side Diff: content/content_common.gypi

Issue 700383004: Add use_v4lplugin flag to enable v4l2 library (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_stub_header.fragment ('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 13 matching lines...) Expand all
24 '..', 24 '..',
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 'public_common_sources': [ 35 'public_common_sources': [
35 'public/common/appcache_info.h', 36 'public/common/appcache_info.h',
36 'public/common/bindings_policy.h', 37 'public/common/bindings_policy.h',
37 'public/common/child_process_host.h', 38 'public/common/child_process_host.h',
38 'public/common/child_process_host_delegate.cc', 39 'public/common/child_process_host_delegate.cc',
39 'public/common/child_process_host_delegate.h', 40 'public/common/child_process_host_delegate.h',
40 'public/common/child_process_sandbox_support_linux.h', 41 'public/common/child_process_sandbox_support_linux.h',
41 'public/common/color_suggestion.cc', 42 'public/common/color_suggestion.cc',
42 'public/common/color_suggestion.h', 43 'public/common/color_suggestion.h',
43 'public/common/common_param_traits.cc', 44 'public/common/common_param_traits.cc',
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 'sources': [ 753 'sources': [
753 'common/gpu/media/android_video_encode_accelerator.cc', 754 'common/gpu/media/android_video_encode_accelerator.cc',
754 'common/gpu/media/android_video_encode_accelerator.h', 755 'common/gpu/media/android_video_encode_accelerator.h',
755 ], 756 ],
756 }], 757 }],
757 ['enable_webrtc==1', { 758 ['enable_webrtc==1', {
758 'dependencies': [ 759 'dependencies': [
759 '../third_party/libjingle/libjingle.gyp:libjingle', 760 '../third_party/libjingle/libjingle.gyp:libjingle',
760 ], 761 ],
761 }], 762 }],
763 ['use_v4lplugin==1 and chromeos==1', {
764 'defines': [
765 'USE_LIBV4L2',
766 ],
767 'variables': {
768 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
769 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment',
770 'sig_files': ['common/gpu/media/v4l2.sig'],
771 'outfile_type': 'posix_stubs',
772 'stubs_filename_root': 'v4l2_stubs',
773 'project_path': 'content/common/gpu/media',
774 'intermediate_dir': '<(INTERMEDIATE_DIR)',
775 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2',
776 },
777 'include_dirs': [
778 '<(output_root)',
779 ],
780 'actions': [
781 {
782 'action_name': 'generate_stubs',
783 'inputs': [
784 '<(generate_stubs_script)',
785 '<(extra_header)',
786 '<@(sig_files)',
787 ],
788 'outputs': [
789 '<(intermediate_dir)/<(stubs_filename_root).cc',
790 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
791 ],
792 'action': ['python',
793 '<(generate_stubs_script)',
794 '-i', '<(intermediate_dir)',
795 '-o', '<(output_root)/<(project_path)',
796 '-t', '<(outfile_type)',
797 '-e', '<(extra_header)',
798 '-s', '<(stubs_filename_root)',
799 '-p', '<(project_path)',
800 '<@(_inputs)',
801 ],
802 'process_outputs_as_sources': 1,
803 'message': 'Generating libv4l2 stubs for dynamic loading',
804 },
805 ],
806 }],
762 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', { 807 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', {
763 'dependencies': [ 808 'dependencies': [
764 '../media/media.gyp:media', 809 '../media/media.gyp:media',
765 ], 810 ],
766 'sources': [ 811 'sources': [
767 'common/gpu/media/generic_v4l2_video_device.cc', 812 'common/gpu/media/generic_v4l2_video_device.cc',
768 'common/gpu/media/generic_v4l2_video_device.h', 813 'common/gpu/media/generic_v4l2_video_device.h',
769 'common/gpu/media/tegra_v4l2_video_device.cc', 814 'common/gpu/media/tegra_v4l2_video_device.cc',
770 'common/gpu/media/tegra_v4l2_video_device.h', 815 'common/gpu/media/tegra_v4l2_video_device.h',
771 'common/gpu/media/v4l2_image_processor.cc', 816 'common/gpu/media/v4l2_image_processor.cc',
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 1005 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
961 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', 1006 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
962 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', 1007 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
963 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1008 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
964 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc', 1009 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc',
965 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h', 1010 'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h',
966 ], 1011 ],
967 }], 1012 }],
968 ], 1013 ],
969 } 1014 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/v4l2_stub_header.fragment ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698