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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/platform/caca/scoped_caca_types.cc ('k') | ui/ozone/platform/dri/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/linux/pkg_config.gni")
6 import("//ui/ozone/ozone.gni")
7
8 pkg_config("libdrm") {
9 packages = [ "libdrm" ]
10 }
11
12 source_set("dri_common") {
13 sources = [
14 "channel_observer.h",
15 "crtc_controller.cc",
16 "crtc_controller.h",
17 "display_mode_dri.cc",
18 "display_mode_dri.h",
19 "display_snapshot_dri.cc",
20 "display_snapshot_dri.h",
21 "dri_console_buffer.cc",
22 "dri_console_buffer.h",
23 "dri_cursor.cc",
24 "dri_cursor.h",
25 "dri_buffer.cc",
26 "dri_buffer.h",
27 "dri_gpu_platform_support.cc",
28 "dri_gpu_platform_support_.h",
29 "dri_gpu_platform_support_host.cc",
30 "dri_gpu_platform_support_host.h",
31 "dri_surface.cc",
32 "dri_surface.h",
33 "dri_surface_factory.cc",
34 "dri_surface_factory.h",
35 "dri_util.cc",
36 "dri_util.h",
37 "dri_vsync_provider.cc",
38 "dri_vsync_provider.h",
39 "dri_window.cc",
40 "dri_window.h",
41 "dri_window_delegate.h",
42 "dri_window_delegate_impl.cc",
43 "dri_window_delegate_impl.h",
44 "dri_window_delegate_manager.cc",
45 "dri_window_delegate_manager.h",
46 "dri_window_manager.cc",
47 "dri_window_manager.h",
48 "dri_wrapper.cc",
49 "dri_wrapper.h",
50 "hardware_display_controller.cc",
51 "hardware_display_controller.h",
52 "native_display_delegate_dri.cc",
53 "native_display_delegate_dri.h",
54 "overlay_plane.cc",
55 "overlay_plane.h",
56 "scoped_drm_types.cc",
57 "scoped_drm_types.h",
58 "screen_manager.cc",
59 "screen_manager.h",
60 "scanout_buffer.h",
61 "virtual_terminal_manager.cc",
62 "virtual_terminal_manager.h",
63 ]
64
65 deps = [
66 "//base",
67 "//skia",
68 "//ipc",
69 "//ui/base",
70 "//ui/display/types",
71 "//ui/events",
72 "//ui/events/ozone:events_ozone_evdev",
73 "//ui/gfx",
74 "//ui/gfx/geometry",
75 ]
76
77 public_configs = [ ":libdrm" ]
78 }
79
80 if (ozone_platform_dri) {
81 source_set("dri") {
82 sources = [
83 "ozone_platform_dri.cc",
84 "ozone_platform_dri.h",
85 ]
86
87 deps = [
88 ":dri_common",
89 "//base",
90 "//skia",
91 "//ui/events/ozone:events_ozone_evdev",
92 ]
93 }
94
95 source_set("dri_unittests") {
96 testonly = true
97 sources = [
98 "dri_surface_factory_unittest.cc",
99 "dri_surface_unittest.cc",
100 "hardware_display_controller_unittest.cc",
101 "screen_manager_unittest.cc",
102 "test/mock_dri_wrapper.cc",
103 "test/mock_dri_wrapper.h",
104 ]
105
106 deps = [
107 ":dri_common",
108 "//skia",
109 "//testing/gtest",
110 ]
111 }
112 }
113
114 if (ozone_platform_gbm) {
115 pkg_config("libgbm") {
116 packages = [ "gbm" ]
117 }
118
119 source_set("gbm") {
120 sources = [
121 "gbm_buffer.cc",
122 "gbm_buffer.h",
123 "gbm_buffer_base.cc",
124 "gbm_buffer_base.h",
125 "gbm_surface.cc",
126 "gbm_surface.h",
127 "gbm_surfaceless.cc",
128 "gbm_surfaceless.h",
129 "gbm_surface_factory.cc",
130 "gbm_surface_factory.h",
131 "native_display_delegate_proxy.cc",
132 "native_display_delegate_proxy.h",
133 "ozone_platform_gbm.cc",
134 "ozone_platform_gbm.h",
135 ]
136
137 deps = [
138 ":dri_common",
139 "//base",
140 "//skia",
141 "//ui/events/ozone:events_ozone_evdev",
142 ]
143
144 public_configs = [ ":libgbm" ]
145 }
146 }
OLDNEW
« no previous file with comments | « ui/ozone/platform/caca/scoped_caca_types.cc ('k') | ui/ozone/platform/dri/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698