OLD | NEW |
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.cc", | 13 "wayland_object.cc", |
14 "wayland_object.h", | 14 "wayland_object.h", |
| 15 "wayland_pointer.cc", |
| 16 "wayland_pointer.h", |
15 "wayland_surface_factory.cc", | 17 "wayland_surface_factory.cc", |
16 "wayland_surface_factory.h", | 18 "wayland_surface_factory.h", |
17 "wayland_window.cc", | 19 "wayland_window.cc", |
18 "wayland_window.h", | 20 "wayland_window.h", |
19 ] | 21 ] |
20 | 22 |
21 deps = [ | 23 deps = [ |
22 "//base", | 24 "//base", |
23 "//skia", | 25 "//skia", |
24 "//third_party/wayland:wayland_client", | 26 "//third_party/wayland:wayland_client", |
25 "//third_party/wayland-protocols:xdg_shell_protocol", | 27 "//third_party/wayland-protocols:xdg_shell_protocol", |
| 28 "//ui/events", |
26 "//ui/events/platform", | 29 "//ui/events/platform", |
27 "//ui/gfx", | 30 "//ui/gfx", |
28 "//ui/gfx/geometry", | 31 "//ui/gfx/geometry", |
29 "//ui/ozone:ozone_base", | 32 "//ui/ozone:ozone_base", |
30 "//ui/platform_window", | 33 "//ui/platform_window", |
31 ] | 34 ] |
32 | 35 |
33 defines = [ "OZONE_IMPLEMENTATION" ] | 36 defines = [ "OZONE_IMPLEMENTATION" ] |
34 } | 37 } |
35 | 38 |
36 source_set("wayland_unittests") { | 39 source_set("wayland_unittests") { |
37 testonly = true | 40 testonly = true |
38 | 41 |
39 sources = [ | 42 sources = [ |
40 "fake_server.cc", | 43 "fake_server.cc", |
41 "fake_server.h", | 44 "fake_server.h", |
42 "mock_platform_window_delegate.cc", | 45 "mock_platform_window_delegate.cc", |
43 "wayland_display_unittest.cc", | 46 "wayland_display_unittest.cc", |
| 47 "wayland_pointer_unittest.cc", |
44 "wayland_surface_factory_unittest.cc", | 48 "wayland_surface_factory_unittest.cc", |
45 "wayland_window_unittest.cc", | 49 "wayland_window_unittest.cc", |
46 ] | 50 ] |
47 | 51 |
48 deps = [ | 52 deps = [ |
49 ":wayland", | 53 ":wayland", |
50 "//testing/gmock", | 54 "//testing/gmock", |
51 "//testing/gtest", | 55 "//testing/gtest", |
52 "//third_party/wayland:wayland_server", | 56 "//third_party/wayland:wayland_server", |
53 "//third_party/wayland-protocols:xdg_shell_protocol", | 57 "//third_party/wayland-protocols:xdg_shell_protocol", |
54 "//ui/gfx:test_support", | 58 "//ui/gfx:test_support", |
55 "//ui/ozone:platform", | 59 "//ui/ozone:platform", |
56 ] | 60 ] |
| 61 |
| 62 defines = [ "WL_HIDE_DEPRECATED" ] |
57 } | 63 } |
OLD | NEW |