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 visibility = [ "//ui/ozone/*" ] | 5 visibility = [ "//ui/ozone/*" ] |
6 | 6 |
7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
8 | 8 |
9 pkg_config("wayland-egl") { | 9 pkg_config("wayland-egl") { |
10 packages = [ "wayland-egl" ] | 10 packages = [ "wayland-egl" ] |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 source_set("wayland_unittests") { | 71 source_set("wayland_unittests") { |
72 testonly = true | 72 testonly = true |
73 | 73 |
74 sources = [ | 74 sources = [ |
75 "fake_server.cc", | 75 "fake_server.cc", |
76 "fake_server.h", | 76 "fake_server.h", |
77 "mock_platform_window_delegate.cc", | 77 "mock_platform_window_delegate.cc", |
| 78 "mock_platform_window_delegate.h", |
78 "wayland_connection_unittest.cc", | 79 "wayland_connection_unittest.cc", |
79 "wayland_keyboard_unittest.cc", | 80 "wayland_keyboard_unittest.cc", |
80 "wayland_pointer_unittest.cc", | 81 "wayland_pointer_unittest.cc", |
81 "wayland_surface_factory_unittest.cc", | 82 "wayland_surface_factory_unittest.cc", |
82 "wayland_test.cc", | 83 "wayland_test.cc", |
83 "wayland_test.h", | 84 "wayland_test.h", |
84 "wayland_window_unittest.cc", | 85 "wayland_window_unittest.cc", |
85 ] | 86 ] |
86 | 87 |
87 deps = [ | 88 deps = [ |
88 ":wayland", | 89 ":wayland", |
89 "//testing/gmock", | 90 "//testing/gmock", |
90 "//testing/gtest", | 91 "//testing/gtest", |
91 "//third_party/wayland:wayland_server", | 92 "//third_party/wayland:wayland_server", |
92 "//third_party/wayland-protocols:xdg_shell_protocol", | 93 "//third_party/wayland-protocols:xdg_shell_protocol", |
93 "//ui/gfx:test_support", | 94 "//ui/gfx:test_support", |
94 "//ui/ozone:platform", | 95 "//ui/ozone:platform", |
95 ] | 96 ] |
96 | 97 |
97 defines = [ "WL_HIDE_DEPRECATED" ] | 98 defines = [ "WL_HIDE_DEPRECATED" ] |
98 } | 99 } |
OLD | NEW |