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

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: rebase Created 4 years, 9 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/gfx/native_pixmap_handle_ozone.h ('k') | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
189 } 189 }
190 } 190 }
191 191
192 if (ozone_platform_gbm) { 192 if (ozone_platform_gbm) {
193 pkg_config("libgbm") { 193 pkg_config("libgbm") {
194 packages = [ "gbm" ] 194 packages = [ "gbm" ]
195 } 195 }
196 196
197 source_set("gbm") { 197 source_set("gbm") {
198 sources = [ 198 sources = [
199 "gpu/drm_dmabuf_pixmap.cc",
200 "gpu/drm_dmabuf_pixmap.h",
199 "gpu/gbm_buffer.cc", 201 "gpu/gbm_buffer.cc",
200 "gpu/gbm_buffer.h", 202 "gpu/gbm_buffer.h",
201 "gpu/gbm_buffer_base.cc", 203 "gpu/gbm_buffer_base.cc",
202 "gpu/gbm_buffer_base.h", 204 "gpu/gbm_buffer_base.h",
203 "gpu/gbm_device.cc", 205 "gpu/gbm_device.cc",
204 "gpu/gbm_device.h", 206 "gpu/gbm_device.h",
205 "gpu/gbm_surface.cc", 207 "gpu/gbm_surface.cc",
206 "gpu/gbm_surface.h", 208 "gpu/gbm_surface.h",
207 "gpu/gbm_surface_factory.cc", 209 "gpu/gbm_surface_factory.cc",
208 "gpu/gbm_surface_factory.h", 210 "gpu/gbm_surface_factory.h",
(...skipping 18 matching lines...) Expand all
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
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698