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

Unified Diff: components/exo/wayland/BUILD.gn

Issue 1745943003: exo: Add support for linux_dmabuf interface to wayland bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-protocols-linux-dmabuf
Patch Set: Prime -> LinuxDMABuf Created 4 years, 10 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
« no previous file with comments | « components/exo/display_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
}
« no previous file with comments | « components/exo/display_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698