Index: ui/ozone/platform/wayland/BUILD.gn |
diff --git a/ui/ozone/platform/wayland/BUILD.gn b/ui/ozone/platform/wayland/BUILD.gn |
index 98c74a42456f6b0a5aea9ba7931509b7393b2262..806112168594e4d1a58bbf3d9e5765eea20d61ed 100644 |
--- a/ui/ozone/platform/wayland/BUILD.gn |
+++ b/ui/ozone/platform/wayland/BUILD.gn |
@@ -22,6 +22,28 @@ source_set("wayland") { |
"//skia", |
"//third_party/wayland:wayland_client", |
"//third_party/wayland-protocols:xdg_shell_protocol", |
+ "//ui/events/platform", |
"//ui/ozone:ozone_base", |
] |
} |
+ |
+source_set("wayland_unittests") { |
+ testonly = true |
+ sources = [ |
+ "fake_server.cc", |
+ "fake_server.h", |
+ "mock_platform_window_delegate.cc", |
+ "wayland_display_unittest.cc", |
+ "wayland_surface_factory_unittest.cc", |
+ "wayland_window_unittest.cc", |
+ ] |
+ deps = [ |
+ ":wayland", |
spang
2016/02/09 19:14:24
Remove this dependency.
Michael Forney
2016/02/10 02:01:00
Done.
|
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//third_party/wayland:wayland_server", |
+ "//third_party/wayland-protocols:xdg_shell_protocol", |
+ "//ui/gfx:test_support", |
+ "//ui/ozone", |
+ ] |
+} |