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

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

Issue 1582613004: Ozone support for multiprocess graphics. (Closed) Base URL: https://github.com/domokit/mojo.git@submit-1
Patch Set: Created 4 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 7
8 declare_args() { 8 declare_args() {
9 use_mesa_platform_null = false 9 use_mesa_platform_null = false
10 use_drm_atomic = false 10 use_drm_atomic = false
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "gpu/hardware_display_plane_manager_atomic.h", 109 "gpu/hardware_display_plane_manager_atomic.h",
110 ] 110 ]
111 } 111 }
112 112
113 if (is_fnl) { 113 if (is_fnl) {
114 defines += [ "FORCE_DISPATCH_TOUCH_EVENTS" ] 114 defines += [ "FORCE_DISPATCH_TOUCH_EVENTS" ]
115 } 115 }
116 116
117 deps = [ 117 deps = [
118 "//base", 118 "//base",
119 "//skia",
120 "//mojo/application", 119 "//mojo/application",
121 "//mojo/common", 120 "//mojo/common",
122 "//mojo/converters/geometry", 121 "//mojo/converters/geometry",
123 "//mojo/converters/ozone_drm_gpu", 122 "//mojo/converters/ozone_drm_gpu",
124 "//mojo/services/ozone_drm_gpu/interfaces", 123 "//mojo/services/ozone_drm_gpu/interfaces",
125 "//mojo/services/ozone_drm_host/interfaces", 124 "//mojo/services/ozone_drm_host/interfaces",
125 "//skia",
126 "//ui/base", 126 "//ui/base",
127 "//ui/display/types", 127 "//ui/display/types",
128 "//ui/display/util", 128 "//ui/display/util",
129 "//ui/events", 129 "//ui/events",
130 "//ui/events/devices", 130 "//ui/events/devices",
131 "//ui/events/ozone:events_ozone", 131 "//ui/events/ozone:events_ozone",
132 "//ui/events/ozone:events_ozone_evdev", 132 "//ui/events/ozone:events_ozone_evdev",
133 "//ui/events/ozone:events_ozone_layout", 133 "//ui/events/ozone:events_ozone_layout",
134 "//ui/events/platform", 134 "//ui/events/platform",
135 "//ui/gfx", 135 "//ui/gfx",
(...skipping 11 matching lines...) Expand all
147 sources = [ 147 sources = [
148 "ozone_platform_drm.cc", 148 "ozone_platform_drm.cc",
149 "ozone_platform_drm.h", 149 "ozone_platform_drm.h",
150 ] 150 ]
151 151
152 deps = [ 152 deps = [
153 ":drm_common", 153 ":drm_common",
154 "//base", 154 "//base",
155 "//skia", 155 "//skia",
156 "//ui/base", 156 "//ui/base",
157 "//ui/ozone:ozone_base",
158 "//ui/events/ozone:events_ozone", 157 "//ui/events/ozone:events_ozone",
159 "//ui/events/ozone:events_ozone_evdev", 158 "//ui/events/ozone:events_ozone_evdev",
160 "//ui/events/ozone:events_ozone_layout", 159 "//ui/events/ozone:events_ozone_layout",
160 "//ui/ozone:ozone_base",
161 ] 161 ]
162 } 162 }
163 } 163 }
164 164
165 if (ozone_platform_dri || ozone_platform_drm || ozone_platform_gbm) { 165 if (ozone_platform_dri || ozone_platform_drm || ozone_platform_gbm) {
166 source_set("drm_unittests") { 166 source_set("drm_unittests") {
167 testonly = true 167 testonly = true
168 sources = [ 168 sources = [
169 "gpu/drm_surface_unittest.cc", 169 "gpu/drm_surface_unittest.cc",
170 "gpu/drm_window_unittest.cc", 170 "gpu/drm_window_unittest.cc",
(...skipping 30 matching lines...) Expand all
201 "gpu/gbm_buffer_base.cc", 201 "gpu/gbm_buffer_base.cc",
202 "gpu/gbm_buffer_base.h", 202 "gpu/gbm_buffer_base.h",
203 "gpu/gbm_device.cc", 203 "gpu/gbm_device.cc",
204 "gpu/gbm_device.h", 204 "gpu/gbm_device.h",
205 "gpu/gbm_surface.cc", 205 "gpu/gbm_surface.cc",
206 "gpu/gbm_surface.h", 206 "gpu/gbm_surface.h",
207 "gpu/gbm_surface_factory.cc", 207 "gpu/gbm_surface_factory.cc",
208 "gpu/gbm_surface_factory.h", 208 "gpu/gbm_surface_factory.h",
209 "gpu/gbm_surfaceless.cc", 209 "gpu/gbm_surfaceless.cc",
210 "gpu/gbm_surfaceless.h", 210 "gpu/gbm_surfaceless.h",
211 "gpu/vgem_pixmap.cc",
212 "gpu/vgem_pixmap.h",
211 "ozone_platform_gbm.cc", 213 "ozone_platform_gbm.cc",
212 "ozone_platform_gbm.h", 214 "ozone_platform_gbm.h",
213 ] 215 ]
214 216
215 deps = [ 217 deps = [
216 ":drm_common", 218 ":drm_common",
217 "//base", 219 "//base",
218 "//skia", 220 "//skia",
219 "//ui/base", 221 "//ui/base",
220 "//ui/events/ozone:events_ozone", 222 "//ui/events/ozone:events_ozone",
221 "//ui/events/ozone:events_ozone_evdev", 223 "//ui/events/ozone:events_ozone_evdev",
222 "//ui/events/ozone:events_ozone_layout", 224 "//ui/events/ozone:events_ozone_layout",
223 "//ui/gfx/geometry", 225 "//ui/gfx/geometry",
224 "//ui/ozone:ozone_base", 226 "//ui/ozone:ozone_base",
225 ] 227 ]
226 228
227 public_configs = [ 229 public_configs = [
228 ":libgbm", 230 ":libgbm",
229 "//third_party/khronos:khronos_headers", 231 "//third_party/khronos:khronos_headers",
230 ] 232 ]
231 233
232 if (use_mesa_platform_null) { 234 if (use_mesa_platform_null) {
233 defines += [ "USE_MESA_PLATFORM_NULL" ] 235 defines += [ "USE_MESA_PLATFORM_NULL" ]
234 } 236 }
235 } 237 }
236 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698