1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//gpu/vulkan/features.gni")
visibility = [ "//ui/ozone/*" ]
source_set("x11") {
sources = [
"client_native_pixmap_factory_x11.cc",
"client_native_pixmap_factory_x11.h",
"gl_ozone_glx.cc",
"gl_ozone_glx.h",
"gl_surface_egl_ozone_x11.cc",
"gl_surface_egl_ozone_x11.h",
"gl_surface_egl_readback_x11.cc",
"gl_surface_egl_readback_x11.h",
"gl_surface_glx_ozone.cc",
"gl_surface_glx_ozone.h",
"ozone_platform_x11.cc",
"ozone_platform_x11.h",
"x11_cursor_factory_ozone.cc",
"x11_cursor_factory_ozone.h",
"x11_cursor_ozone.cc",
"x11_cursor_ozone.h",
"x11_display_fetcher_ozone.cc",
"x11_display_fetcher_ozone.h",
"x11_screen_ozone.cc",
"x11_screen_ozone.h",
"x11_surface_factory.cc",
"x11_surface_factory.h",
"x11_window_manager_ozone.cc",
"x11_window_manager_ozone.h",
"x11_window_ozone.cc",
"x11_window_ozone.h",
]
deps = [
"//base",
"//gpu/vulkan:buildflags",
"//skia",
"//ui/base",
"//ui/base/x",
"//ui/display/manager",
"//ui/events",
"//ui/events/devices",
"//ui/events/ozone:events_ozone",
"//ui/events/platform",
"//ui/events/platform/x11",
"//ui/events/x",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gfx/x",
"//ui/gl",
"//ui/ozone:ozone_base",
"//ui/ozone/common",
"//ui/platform_window",
"//ui/platform_window/x11",
]
if (enable_vulkan) {
deps += [ "//gpu/vulkan/x" ]
}
configs += [
"//build/config/linux:x11",
"//build/config/linux:xrandr",
]
public_configs = [ "//third_party/khronos:khronos_headers" ]
}
source_set("x11_unittests") {
testonly = true
sources = [
"x11_cursor_factory_ozone_unittest.cc",
"x11_screen_ozone_unittest.cc",
"x11_window_ozone_unittest.cc",
]
deps = [
":x11",
"//testing/gmock",
"//testing/gtest",
"//ui/events:test_support",
"//ui/events/devices/x11",
"//ui/events/platform/x11",
"//ui/ozone:platform",
"//ui/ozone:test_support",
"//ui/ozone/common",
"//ui/platform_window/x11:x11",
]
}
|