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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("wayland") { 5 source_set("wayland") {
6 sources = [ 6 sources = [
7 "client_native_pixmap_factory_wayland.cc", 7 "client_native_pixmap_factory_wayland.cc",
8 "client_native_pixmap_factory_wayland.h", 8 "client_native_pixmap_factory_wayland.h",
9 "ozone_platform_wayland.cc", 9 "ozone_platform_wayland.cc",
10 "ozone_platform_wayland.h", 10 "ozone_platform_wayland.h",
11 "wayland_display.cc", 11 "wayland_display.cc",
12 "wayland_display.h", 12 "wayland_display.h",
13 "wayland_object.h", 13 "wayland_object.h",
14 "wayland_surface_factory.cc", 14 "wayland_surface_factory.cc",
15 "wayland_surface_factory.h", 15 "wayland_surface_factory.h",
16 "wayland_window.cc", 16 "wayland_window.cc",
17 "wayland_window.h", 17 "wayland_window.h",
18 ] 18 ]
19 19
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 "//skia", 22 "//skia",
23 "//third_party/wayland:wayland_client", 23 "//third_party/wayland:wayland_client",
24 "//third_party/wayland-protocols:xdg_shell_protocol", 24 "//third_party/wayland-protocols:xdg_shell_protocol",
25 "//ui/events/platform",
25 "//ui/ozone:ozone_base", 26 "//ui/ozone:ozone_base",
26 ] 27 ]
28
29 defines = [ "OZONE_IMPLEMENTATION" ]
27 } 30 }
31
32 source_set("wayland_unittests") {
33 testonly = true
34
35 sources = [
36 "fake_server.cc",
37 "fake_server.h",
38 "mock_platform_window_delegate.cc",
39 "wayland_display_unittest.cc",
40 "wayland_surface_factory_unittest.cc",
41 "wayland_window_unittest.cc",
42 ]
43
44 deps = [
45 "//testing/gmock",
46 "//testing/gtest",
47 "//third_party/wayland:wayland_server",
48 "//third_party/wayland-protocols:xdg_shell_protocol",
49 "//ui/gfx:test_support",
50 "//ui/ozone",
51 ]
52 }
OLDNEW
« 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