Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index 18edca37c4ffdea2c4ca4d38ac21fe0b57b13658..4fd0554ed93eafca3e434eccb11728aeabe2040d 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -281,7 +281,10 @@ source_set("common") { |
} |
if (is_chromeos) { |
- if ((cpu_arch == "arm" && use_x11) || use_v4l2_codec) { |
+ if (use_v4l2_codec) { |
+ defines += [ "USE_V4L2_CODEC" ] |
+ } |
+ if (cpu_arch == "arm" || (use_ozone && use_v4l2_codec)) { |
sources += [ |
"gpu/media/generic_v4l2_video_device.cc", |
"gpu/media/generic_v4l2_video_device.h", |