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

Unified Diff: content/common/BUILD.gn

Issue 807853005: Refactor Vaapi video decoder/encoder in preparation of Freon support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove whitespace changes Created 6 years 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 a1ec31f43a6f9e84c6aff2d5459ad3f3e961faf6..c988708c5d31b3bb9a66675f7733d0ef3975338c 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -18,6 +18,9 @@ if (is_chromeos && use_x11 && cpu_arch != "arm") {
inputs = [
extra_header,
]
+ if (use_x11) {
+ sources += [ "content/common/gpu/media/va_x11.sigs" ]
+ }
stubs_filename_root = "va_stubs"
outputs = [
@@ -273,8 +276,8 @@ source_set("common") {
}
}
- if (is_chromeos && use_x11) {
- if (cpu_arch == "arm") {
+ if (is_chromeos) {
+ if (cpu_arch == "arm" && use_x11) {
piman 2014/12/17 18:57:06 I don't think this is right - we don't want to use
llandwerlin-old 2014/12/17 21:24:58 The logic indicates that's what was enabled before
piman 2014/12/17 21:42:02 No... in the chromeos and !use_x11 case we would s
sources += [
"gpu/media/exynos_v4l2_video_device.cc",
"gpu/media/exynos_v4l2_video_device.h",
@@ -300,6 +303,8 @@ source_set("common") {
"gpu/media/va_surface.h",
"gpu/media/vaapi_h264_decoder.cc",
"gpu/media/vaapi_h264_decoder.h",
+ "gpu/media/vaapi_picture.cc",
+ "gpu/media/vaapi_picture.h",
"gpu/media/vaapi_video_decode_accelerator.cc",
"gpu/media/vaapi_video_decode_accelerator.h",
"gpu/media/vaapi_video_encode_accelerator.cc",
@@ -316,6 +321,12 @@ source_set("common") {
"//media",
"//third_party/libyuv",
]
+ if (use_x11) {
+ sources += [
+ "gpu/media/vaapi_tfp_picture.cc",
+ "gpu/media/vaapi_tfp_picture.h",
+ ]
+ }
}
}
« no previous file with comments | « no previous file | content/common/gpu/media/DEPS » ('j') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698