Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: content/common/BUILD.gn

Issue 1872393002: Enable VAAPI accelerated decode on Linux Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing JPEG change Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 += [

Powered by Google App Engine
This is Rietveld 408576698