Chromium Code Reviews| Index: content/common/BUILD.gn |
| diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
| index 2ce16acc74950cb1e1743d9a3f3a1c5f2b8647b4..e88745c5f5a12dbf34fa624c9ffae2ec3a19d021 100644 |
| --- a/content/common/BUILD.gn |
| +++ b/content/common/BUILD.gn |
| @@ -281,12 +281,10 @@ source_set("common") { |
| } |
| if (is_chromeos) { |
| - if (cpu_arch == "arm" && use_x11) { |
| + if ((cpu_arch == "arm" && use_x11) || use_v4l2_codec) { |
| sources += [ |
| "gpu/media/exynos_v4l2_video_device.cc", |
|
wuchengli
2015/01/08 11:16:46
Change this to generic_v4l2_video_device.cc.
henryhsu
2015/01/08 12:11:19
Done.
|
| "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", |
| @@ -300,6 +298,12 @@ source_set("common") { |
| "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 += [ |