| Index: content/common/BUILD.gn
|
| diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
|
| index cc769b07c45951e7009f1a4732bd109e59eb5633..c7f524679527d1bdf5c571a19aafdc053e7d5885 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_chromeos || is_linux) && current_cpu != "arm") {
|
| action("libva_generate_stubs") {
|
| extra_header = "gpu/media/va_stub_header.fragment"
|
|
|
| @@ -347,7 +347,7 @@ source_set("common") {
|
| }
|
| }
|
|
|
| - if (is_chromeos) {
|
| + if (is_chromeos || is_linux) {
|
| sources += [
|
| "gpu/media/accelerated_video_decoder.h",
|
| "gpu/media/h264_decoder.cc",
|
| @@ -391,12 +391,12 @@ source_set("common") {
|
| "EGL",
|
| "GLESv2",
|
| ]
|
| - }
|
| - if (current_cpu == "arm") {
|
| - sources += [
|
| - "gpu/media/tegra_v4l2_device.cc",
|
| - "gpu/media/tegra_v4l2_device.h",
|
| - ]
|
| + if (current_cpu == "arm") {
|
| + sources += [
|
| + "gpu/media/tegra_v4l2_device.cc",
|
| + "gpu/media/tegra_v4l2_device.h",
|
| + ]
|
| + }
|
| }
|
| if (current_cpu != "arm") {
|
| sources += [
|
|
|