Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index 8cec06a92fa544b10714aa124caea78d4dead017..e54639587c0e346b9220b7f0f273552148d3ff6b 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -278,12 +278,10 @@ source_set("common") { |
} |
if (is_chromeos) { |
- if (cpu_arch == "arm" && use_x11) { |
+ if (use_x11) { |
sources += [ |
"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", |
@@ -293,7 +291,17 @@ source_set("common") { |
"gpu/media/v4l2_video_encode_accelerator.cc", |
"gpu/media/v4l2_video_encode_accelerator.h", |
] |
- libs = [ |
+ libs += [ |
+ "EGL", |
+ "GLESv2", |
+ ] |
+ } |
+ if (cpu_arch == "arm" && use_x11) { |
+ sources += [ |
+ "gpu/media/tegra_v4l2_video_device.cc", |
+ "gpu/media/tegra_v4l2_video_device.h", |
+ ] |
+ libs += [ |
"EGL", |
"GLESv2", |
] |