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

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: Use two WaitableEvents to prevent race, re-arrange some definitions, other minor test robustness fi… 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 | « ui/ozone/BUILD.gn ('k') | ui/ozone/platform/wayland/fake_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a2a8aa14cd53b972b4441c209afc1f02e1a4aec4 100644
--- a/ui/ozone/platform/wayland/BUILD.gn
+++ b/ui/ozone/platform/wayland/BUILD.gn
@@ -22,6 +22,31 @@ source_set("wayland") {
"//skia",
"//third_party/wayland:wayland_client",
"//third_party/wayland-protocols:xdg_shell_protocol",
+ "//ui/events/platform",
"//ui/ozone:ozone_base",
]
+
+ defines = [ "OZONE_IMPLEMENTATION" ]
+}
+
+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 = [
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/wayland:wayland_server",
+ "//third_party/wayland-protocols:xdg_shell_protocol",
+ "//ui/gfx:test_support",
+ "//ui/ozone",
+ ]
}
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | ui/ozone/platform/wayland/fake_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698