Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index 69eb4709a359712e8aedefbcdb34c4cfeb8f1db6..8cec06a92fa544b10714aa124caea78d4dead017 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -278,10 +278,12 @@ |
} |
if (is_chromeos) { |
- if (cpu_arch == "arm" || use_ozone) { |
+ if (cpu_arch == "arm" && use_x11) { |
sources += [ |
- "gpu/media/generic_v4l2_video_device.cc", |
- "gpu/media/generic_v4l2_video_device.h", |
+ "gpu/media/exynos_v4l2_video_device.cc", |
+ "gpu/media/exynos_v4l2_video_device.h", |
+ "gpu/media/tegra_v4l2_video_device.cc", |
+ "gpu/media/tegra_v4l2_video_device.h", |
"gpu/media/v4l2_image_processor.cc", |
"gpu/media/v4l2_image_processor.h", |
"gpu/media/v4l2_video_decode_accelerator.cc", |
@@ -295,12 +297,6 @@ |
"EGL", |
"GLESv2", |
] |
- if (cpu_arch == "arm") { |
- sources += [ |
- "gpu/media/tegra_v4l2_video_device.cc", |
- "gpu/media/tegra_v4l2_video_device.h", |
- ] |
- } |
} |
if (cpu_arch != "arm") { |
sources += [ |