| Index: components/exo/wayland/BUILD.gn
|
| diff --git a/components/exo/wayland/BUILD.gn b/components/exo/wayland/BUILD.gn
|
| index 38f8022a3f0876a2102df9fdf84e0586b482bffa..64ef6187ca41578f948216259c73c1bf192d2681 100644
|
| --- a/components/exo/wayland/BUILD.gn
|
| +++ b/components/exo/wayland/BUILD.gn
|
| @@ -11,6 +11,12 @@ if (use_xkbcommon) {
|
| }
|
| }
|
|
|
| +if (use_ozone) {
|
| + pkg_config("libdrm") {
|
| + packages = [ "libdrm" ]
|
| + }
|
| +}
|
| +
|
| source_set("wayland") {
|
| sources = [
|
| "scoped_wl.cc",
|
| @@ -35,12 +41,15 @@ source_set("wayland") {
|
| ]
|
|
|
| if (use_ozone) {
|
| - deps += [ "//third_party/mesa:wayland_drm_protocol" ]
|
| + deps += [
|
| + "//third_party/mesa:wayland_drm_protocol",
|
| + "//third_party/wayland-protocols:linux_dmabuf_protocol",
|
| + ]
|
| + configs += [ ":libdrm" ]
|
| }
|
|
|
| if (use_xkbcommon) {
|
| configs += [ ":xkbcommon" ]
|
| -
|
| defines += [ "USE_XKBCOMMON" ]
|
| }
|
| }
|
|
|