Index: ui/ozone/platform/wayland/BUILD.gn |
diff --git a/ui/ozone/platform/wayland/BUILD.gn b/ui/ozone/platform/wayland/BUILD.gn |
index bc8b37e9b9e3f29368e738d1bb7b8c16e9f64ea3..d9554b18d16ca7013f659fabdeaad3cd1622abd8 100644 |
--- a/ui/ozone/platform/wayland/BUILD.gn |
+++ b/ui/ozone/platform/wayland/BUILD.gn |
@@ -12,6 +12,8 @@ source_set("wayland") { |
"wayland_display.h", |
"wayland_object.cc", |
"wayland_object.h", |
+ "wayland_pointer.cc", |
+ "wayland_pointer.h", |
"wayland_surface_factory.cc", |
"wayland_surface_factory.h", |
"wayland_window.cc", |
@@ -23,6 +25,7 @@ source_set("wayland") { |
"//skia", |
"//third_party/wayland:wayland_client", |
"//third_party/wayland-protocols:xdg_shell_protocol", |
+ "//ui/events", |
"//ui/events/platform", |
"//ui/gfx", |
"//ui/gfx/geometry", |
@@ -41,6 +44,7 @@ source_set("wayland_unittests") { |
"fake_server.h", |
"mock_platform_window_delegate.cc", |
"wayland_display_unittest.cc", |
+ "wayland_pointer_unittest.cc", |
"wayland_surface_factory_unittest.cc", |
"wayland_window_unittest.cc", |
] |
@@ -54,4 +58,6 @@ source_set("wayland_unittests") { |
"//ui/gfx:test_support", |
"//ui/ozone:platform", |
] |
+ |
+ defines = [ "WL_HIDE_DEPRECATED" ] |
} |