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

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

Issue 2477043002: exo: Add drm support to motion_events. (Closed)
Patch Set: Rebase on master. Created 4 years, 1 month 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: components/exo/wayland/BUILD.gn
diff --git a/components/exo/wayland/BUILD.gn b/components/exo/wayland/BUILD.gn
index 7d138c7792ede6825b41045b9e99a0ea78239062..3e3ababf4e4c8c7496a28fdd400e88d5224f115b 100644
--- a/components/exo/wayland/BUILD.gn
+++ b/components/exo/wayland/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/linux/pkg_config.gni")
import("//build/config/ui.gni")
+import("//ui/ozone/ozone.gni")
if (use_xkbcommon) {
pkg_config("xkbcommon") {
@@ -89,5 +90,22 @@ executable("wayland_motion_events") {
deps = [
"//base",
"//third_party/wayland:wayland_client",
+ "//third_party/wayland-protocols:linux_dmabuf_protocol",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ "//ui/gl/init",
]
+
+ if (ozone_platform_gbm) {
+ configs += [
+ ":libdrm",
+ "//ui/gl:gl_config",
+ ]
+ defines = [ "OZONE_PLATFORM_GBM" ]
+ deps += [ "//third_party/minigbm" ]
+ ldflags = [
+ "-lEGL",
+ "-lGLESv2",
reveman 2016/11/04 22:34:14 do we need these?
Daniele Castagna 2016/11/05 21:05:11 No, removed.
+ ]
+ }
}
« no previous file with comments | « no previous file | components/exo/wayland/clients/motion_events.cc » ('j') | components/exo/wayland/clients/motion_events.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698