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

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

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix extensions_unittests Created 5 years, 4 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
11 } 11 }
12 12
13 pkg_config("libdrm") { 13 pkg_config("libdrm") {
14 packages = [ "libdrm" ] 14 packages = [ "libdrm" ]
15 } 15 }
16 16
17 source_set("drm_common") { 17 source_set("drm_common") {
18 sources = [ 18 sources = [
19 "common/client_native_pixmap_factory_drm.cc",
20 "common/client_native_pixmap_factory_drm.h",
19 "common/drm_util.cc", 21 "common/drm_util.cc",
20 "common/drm_util.h", 22 "common/drm_util.h",
21 "common/scoped_drm_types.cc", 23 "common/scoped_drm_types.cc",
22 "common/scoped_drm_types.h", 24 "common/scoped_drm_types.h",
23 "gpu/crtc_controller.cc", 25 "gpu/crtc_controller.cc",
24 "gpu/crtc_controller.h", 26 "gpu/crtc_controller.h",
25 "gpu/display_change_observer.h", 27 "gpu/display_change_observer.h",
26 "gpu/drm_buffer.cc", 28 "gpu/drm_buffer.cc",
27 "gpu/drm_buffer.h", 29 "gpu/drm_buffer.h",
28 "gpu/drm_console_buffer.cc", 30 "gpu/drm_console_buffer.cc",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 156 }
155 } 157 }
156 158
157 if (ozone_platform_gbm) { 159 if (ozone_platform_gbm) {
158 pkg_config("libgbm") { 160 pkg_config("libgbm") {
159 packages = [ "gbm" ] 161 packages = [ "gbm" ]
160 } 162 }
161 163
162 source_set("gbm") { 164 source_set("gbm") {
163 sources = [ 165 sources = [
166 "common/client_native_pixmap_factory_gbm.cc",
167 "common/client_native_pixmap_factory_gbm.h",
164 "gpu/gbm_buffer.cc", 168 "gpu/gbm_buffer.cc",
165 "gpu/gbm_buffer.h", 169 "gpu/gbm_buffer.h",
166 "gpu/gbm_buffer_base.cc", 170 "gpu/gbm_buffer_base.cc",
167 "gpu/gbm_buffer_base.h", 171 "gpu/gbm_buffer_base.h",
168 "gpu/gbm_device.cc", 172 "gpu/gbm_device.cc",
169 "gpu/gbm_device.h", 173 "gpu/gbm_device.h",
170 "gpu/gbm_surface.cc", 174 "gpu/gbm_surface.cc",
171 "gpu/gbm_surface.h", 175 "gpu/gbm_surface.h",
172 "gpu/gbm_surface_factory.cc", 176 "gpu/gbm_surface_factory.cc",
173 "gpu/gbm_surface_factory.h", 177 "gpu/gbm_surface_factory.h",
(...skipping 14 matching lines...) Expand all
188 public_configs = [ 192 public_configs = [
189 ":libgbm", 193 ":libgbm",
190 "//third_party/khronos:khronos_headers", 194 "//third_party/khronos:khronos_headers",
191 ] 195 ]
192 196
193 if (use_mesa_platform_null) { 197 if (use_mesa_platform_null) {
194 defines += [ "USE_MESA_PLATFORM_NULL" ] 198 defines += [ "USE_MESA_PLATFORM_NULL" ]
195 } 199 }
196 } 200 }
197 } 201 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698