Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index 45c63a6b9abdd8c024652418fe8a13066c137204..2be8cbbfe498d958e89347cc45676685cea57dae 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -11,7 +11,7 @@ if (is_mac) { |
import("//build/config/mac/mac_sdk.gni") |
} |
-if (is_chromeos && current_cpu != "arm") { |
+if (is_linux && current_cpu != "arm") { |
action("libva_generate_stubs") { |
extra_header = "gpu/media/va_stub_header.fragment" |
@@ -376,7 +376,7 @@ source_set("common") { |
} |
} |
- if (is_chromeos) { |
+ if (is_linux) { |
sources += [ |
"gpu/media/accelerated_video_decoder.h", |
"gpu/media/h264_decoder.cc", |
@@ -392,12 +392,12 @@ source_set("common") { |
"gpu/media/vp9_picture.cc", |
"gpu/media/vp9_picture.h", |
] |
- if (use_v4lplugin) { |
+ if (is_chromeos && use_v4lplugin) { |
defines += [ "USE_LIBV4L2" ] |
sources += get_target_outputs(":libv4l2_generate_stubs") |
deps += [ ":libv4l2_generate_stubs" ] |
} |
- if (use_v4l2_codec) { |
+ if (is_chromeos && use_v4l2_codec) { |
defines += [ "USE_V4L2_CODEC" ] |
deps += [ "//third_party/libyuv" ] |
sources += [ |
@@ -421,7 +421,7 @@ source_set("common") { |
"GLESv2", |
] |
} |
- if (current_cpu == "arm") { |
+ if (is_chromeos && current_cpu == "arm") { |
sources += [ |
"gpu/media/tegra_v4l2_device.cc", |
"gpu/media/tegra_v4l2_device.h", |