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

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: Add CQ-DEPEND and chromeos==1 condition in gyp Created 6 years, 1 month 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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 'sources': [ 746 'sources': [
747 'common/gpu/media/android_video_encode_accelerator.cc', 747 'common/gpu/media/android_video_encode_accelerator.cc',
748 'common/gpu/media/android_video_encode_accelerator.h', 748 'common/gpu/media/android_video_encode_accelerator.h',
749 ], 749 ],
750 }], 750 }],
751 ['enable_webrtc==1', { 751 ['enable_webrtc==1', {
752 'dependencies': [ 752 'dependencies': [
753 '../third_party/libjingle/libjingle.gyp:libjingle', 753 '../third_party/libjingle/libjingle.gyp:libjingle',
754 ], 754 ],
755 }], 755 }],
756 ['use_v4lplugin==1 and chromeos==1', {
757 'defines': [
758 'USE_LIBV4L2',
759 ],
760 'variables': {
761 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
762 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment',
763 'sig_files': ['common/gpu/media/v4l2.sig'],
764 'outfile_type': 'posix_stubs',
765 'stubs_filename_root': 'v4l2_stubs',
766 'project_path': 'content/common/gpu/media',
767 'intermediate_dir': '<(INTERMEDIATE_DIR)',
768 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2',
769 },
770 'include_dirs': [
771 '<(output_root)',
772 '<(DEPTH)/third_party/v4l-utils/lib/include',
773 ],
774 'actions': [
775 {
776 'action_name': 'generate_stubs',
777 'inputs': [
778 '<(generate_stubs_script)',
779 '<(extra_header)',
780 '<@(sig_files)',
781 ],
782 'outputs': [
783 '<(intermediate_dir)/<(stubs_filename_root).cc',
784 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
785 ],
786 'action': ['python',
787 '<(generate_stubs_script)',
788 '-i', '<(intermediate_dir)',
789 '-o', '<(output_root)/<(project_path)',
790 '-t', '<(outfile_type)',
791 '-e', '<(extra_header)',
792 '-s', '<(stubs_filename_root)',
793 '-p', '<(project_path)',
794 '<@(_inputs)',
795 ],
796 'process_outputs_as_sources': 1,
797 'message': 'Generating libv4l2 stubs for dynamic loading',
798 },
799 ],
800 }],
756 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', { 801 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', {
757 'dependencies': [ 802 'dependencies': [
758 '../media/media.gyp:media', 803 '../media/media.gyp:media',
759 ], 804 ],
760 'sources': [ 805 'sources': [
761 'common/gpu/media/exynos_v4l2_video_device.cc', 806 'common/gpu/media/exynos_v4l2_video_device.cc',
762 'common/gpu/media/exynos_v4l2_video_device.h', 807 'common/gpu/media/exynos_v4l2_video_device.h',
763 'common/gpu/media/tegra_v4l2_video_device.cc', 808 'common/gpu/media/tegra_v4l2_video_device.cc',
764 'common/gpu/media/tegra_v4l2_video_device.h', 809 'common/gpu/media/tegra_v4l2_video_device.h',
765 'common/gpu/media/v4l2_image_processor.cc', 810 'common/gpu/media/v4l2_image_processor.cc',
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 'common/cursors/webcursor_ozone.cc', 971 'common/cursors/webcursor_ozone.cc',
927 'common/font_list_ozone.cc', 972 'common/font_list_ozone.cc',
928 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 973 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
929 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc', 974 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
930 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h', 975 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
931 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 976 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
932 ], 977 ],
933 }], 978 }],
934 ], 979 ],
935 } 980 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698