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

Unified Diff: ui/ozone/platform/wayland/BUILD.gn

Issue 1673063002: ozone/platform/wayland: Add some tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698