Skip to content

Commit

Permalink
[ozone/wayland]: fix vaapi build.
Browse files Browse the repository at this point in the history
This is a fix to fix vaapi build with ozone wayland. It's not
tested, but requested by external.

Issue: #511
Change-Id: Id3cf0702e9ea6c93fef0f99c23029ab2b1b291d2
  • Loading branch information
msisov committed Jan 21, 2019
1 parent f09a00d commit 7c53993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/gpu/vaapi/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,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_gbm || ozone_platform_wayland) {
sources += [
"vaapi_picture_native_pixmap_ozone.cc",
"vaapi_picture_native_pixmap_ozone.h",
Expand Down

0 comments on commit 7c53993

Please sign in to comment.