summarylogtreecommitdiffstats
path: root/fix-vaapi-ozone-build.patch
blob: cc7c005ae82f48e3c8c7e5900981d078fb033c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/media/gpu/vaapi/BUILD.gn
+++ b/media/gpu/vaapi/BUILD.gn
@@ -128,12 +128,12 @@ source_set("vaapi") {
     ]
   }
 
-  if (ozone_platform_gbm || use_egl) {
+  if (ozone_platform_wayland || ozone_platform_gbm || use_egl) {
     sources += [
       "vaapi_picture_native_pixmap.cc",
       "vaapi_picture_native_pixmap.h",
     ]
-    if (ozone_platform_gbm) {
+    if (ozone_platform_wayland || ozone_platform_gbm) {
       sources += [
         "vaapi_picture_native_pixmap_ozone.cc",
         "vaapi_picture_native_pixmap_ozone.h",