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

Side by Side Diff: ui/ozone/platform/wayland/BUILD.gn

Issue 2042503002: ozone/platform/wayland: Add support for wl_output_interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WaylandDisplay => WaylandConnection, WaylandScreen => WaylandOutput Created 4 years, 6 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
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 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 declare_args() { 9 declare_args() {
10 use_wayland_egl = true 10 use_wayland_egl = true
11 } 11 }
12 12
13 if (use_wayland_egl) { 13 if (use_wayland_egl) {
14 pkg_config("wayland-egl") { 14 pkg_config("wayland-egl") {
15 packages = [ "wayland-egl" ] 15 packages = [ "wayland-egl" ]
16 } 16 }
17 } 17 }
18 18
19 source_set("wayland") { 19 source_set("wayland") {
20 sources = [ 20 sources = [
21 "client_native_pixmap_factory_wayland.cc", 21 "client_native_pixmap_factory_wayland.cc",
22 "client_native_pixmap_factory_wayland.h", 22 "client_native_pixmap_factory_wayland.h",
23 "ozone_platform_wayland.cc", 23 "ozone_platform_wayland.cc",
24 "ozone_platform_wayland.h", 24 "ozone_platform_wayland.h",
25 "wayland_display.cc", 25 "wayland_connection.cc",
26 "wayland_display.h", 26 "wayland_connection.h",
27 "wayland_object.cc", 27 "wayland_object.cc",
28 "wayland_object.h", 28 "wayland_object.h",
29 "wayland_output.cc",
30 "wayland_output.h",
29 "wayland_pointer.cc", 31 "wayland_pointer.cc",
30 "wayland_pointer.h", 32 "wayland_pointer.h",
31 "wayland_surface_factory.cc", 33 "wayland_surface_factory.cc",
32 "wayland_surface_factory.h", 34 "wayland_surface_factory.h",
33 "wayland_window.cc", 35 "wayland_window.cc",
34 "wayland_window.h", 36 "wayland_window.h",
35 ] 37 ]
36 38
37 deps = [ 39 deps = [
38 "//base", 40 "//base",
(...skipping 24 matching lines...) Expand all
63 } 65 }
64 } 66 }
65 67
66 source_set("wayland_unittests") { 68 source_set("wayland_unittests") {
67 testonly = true 69 testonly = true
68 70
69 sources = [ 71 sources = [
70 "fake_server.cc", 72 "fake_server.cc",
71 "fake_server.h", 73 "fake_server.h",
72 "mock_platform_window_delegate.cc", 74 "mock_platform_window_delegate.cc",
73 "wayland_display_unittest.cc", 75 "wayland_connection_unittest.cc",
74 "wayland_pointer_unittest.cc", 76 "wayland_pointer_unittest.cc",
75 "wayland_surface_factory_unittest.cc", 77 "wayland_surface_factory_unittest.cc",
76 "wayland_test.cc", 78 "wayland_test.cc",
77 "wayland_test.h", 79 "wayland_test.h",
78 "wayland_window_unittest.cc", 80 "wayland_window_unittest.cc",
79 ] 81 ]
80 82
81 deps = [ 83 deps = [
82 ":wayland", 84 ":wayland",
83 "//testing/gmock", 85 "//testing/gmock",
84 "//testing/gtest", 86 "//testing/gtest",
85 "//third_party/wayland:wayland_server", 87 "//third_party/wayland:wayland_server",
86 "//third_party/wayland-protocols:xdg_shell_protocol", 88 "//third_party/wayland-protocols:xdg_shell_protocol",
87 "//ui/gfx:test_support", 89 "//ui/gfx:test_support",
88 "//ui/ozone:platform", 90 "//ui/ozone:platform",
89 ] 91 ]
90 92
91 defines = [ "WL_HIDE_DEPRECATED" ] 93 defines = [ "WL_HIDE_DEPRECATED" ]
92 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698