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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_common.gypi
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 757868f0c5b056fea79e912322997b609baca5d2..87db9598d10d3a2cbf466a2e9ce3a06cd21cce4e 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -762,7 +762,7 @@
}],
['use_v4lplugin==1 and chromeos==1', {
'defines': [
- 'USE_LIBV4L2'
+ 'USE_LIBV4L2',
],
'variables': {
'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
@@ -813,40 +813,50 @@
'defines': [
'USE_V4L2_CODEC'
],
+ }],
+ ['chromeos==1 and (target_arch=="arm" or (use_ozone==1 and use_v4l2_codec==1))', {
'dependencies': [
'../media/media.gyp:media',
],
'sources': [
- 'common/gpu/media/accelerated_video_decoder.h',
'common/gpu/media/generic_v4l2_video_device.cc',
'common/gpu/media/generic_v4l2_video_device.h',
- 'common/gpu/media/h264_decoder.cc',
- 'common/gpu/media/h264_decoder.h',
- 'common/gpu/media/h264_dpb.cc',
- 'common/gpu/media/h264_dpb.h',
'common/gpu/media/v4l2_image_processor.cc',
'common/gpu/media/v4l2_image_processor.h',
- 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc',
- 'common/gpu/media/v4l2_slice_video_decode_accelerator.h',
'common/gpu/media/v4l2_video_decode_accelerator.cc',
'common/gpu/media/v4l2_video_decode_accelerator.h',
'common/gpu/media/v4l2_video_device.cc',
'common/gpu/media/v4l2_video_device.h',
'common/gpu/media/v4l2_video_encode_accelerator.cc',
'common/gpu/media/v4l2_video_encode_accelerator.h',
- 'common/gpu/media/vp8_decoder.cc',
- 'common/gpu/media/vp8_decoder.h',
- 'common/gpu/media/vp8_picture.cc',
- 'common/gpu/media/vp8_picture.h',
],
'include_dirs': [
'<(DEPTH)/third_party/khronos',
],
- }],
- ['target_arch == "arm" and chromeos == 1', {
- 'sources': [
- 'common/gpu/media/tegra_v4l2_video_device.cc',
- 'common/gpu/media/tegra_v4l2_video_device.h',
+ 'conditions': [
+ ['target_arch == "arm"', {
+ 'sources': [
+ 'common/gpu/media/tegra_v4l2_video_device.cc',
+ 'common/gpu/media/tegra_v4l2_video_device.h',
+ ],
+ 'conditions': [
+ ['use_v4lplugin==1', {
+ 'sources': [
+ 'common/gpu/media/accelerated_video_decoder.h',
+ 'common/gpu/media/h264_decoder.cc',
+ 'common/gpu/media/h264_decoder.h',
+ 'common/gpu/media/h264_dpb.cc',
+ 'common/gpu/media/h264_dpb.h',
+ 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc',
+ 'common/gpu/media/v4l2_slice_video_decode_accelerator.h',
+ 'common/gpu/media/vp8_decoder.cc',
+ 'common/gpu/media/vp8_decoder.h',
+ 'common/gpu/media/vp8_picture.cc',
+ 'common/gpu/media/vp8_picture.h',
+ ],
+ }],
+ ],
+ }],
],
}],
['target_arch != "arm" and chromeos == 1', {
« 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