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

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: separate VGEM part to another CL Created 5 years, 5 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 } 155 }
156 156
157 if (ozone_platform_gbm) { 157 if (ozone_platform_gbm) {
158 pkg_config("libgbm") { 158 pkg_config("libgbm") {
159 packages = [ "gbm" ] 159 packages = [ "gbm" ]
160 } 160 }
161 161
162 source_set("gbm") { 162 source_set("gbm") {
163 sources = [ 163 sources = [
164 "common/native_pixmap_manager_gbm.cc",
165 "common/native_pixmap_manager_gbm.h",
164 "gpu/gbm_buffer.cc", 166 "gpu/gbm_buffer.cc",
165 "gpu/gbm_buffer.h", 167 "gpu/gbm_buffer.h",
166 "gpu/gbm_buffer_base.cc", 168 "gpu/gbm_buffer_base.cc",
167 "gpu/gbm_buffer_base.h", 169 "gpu/gbm_buffer_base.h",
168 "gpu/gbm_device.cc", 170 "gpu/gbm_device.cc",
169 "gpu/gbm_device.h", 171 "gpu/gbm_device.h",
170 "gpu/gbm_surface.cc", 172 "gpu/gbm_surface.cc",
171 "gpu/gbm_surface.h", 173 "gpu/gbm_surface.h",
172 "gpu/gbm_surface_factory.cc", 174 "gpu/gbm_surface_factory.cc",
173 "gpu/gbm_surface_factory.h", 175 "gpu/gbm_surface_factory.h",
(...skipping 14 matching lines...) Expand all
188 public_configs = [ 190 public_configs = [
189 ":libgbm", 191 ":libgbm",
190 "//third_party/khronos:khronos_headers", 192 "//third_party/khronos:khronos_headers",
191 ] 193 ]
192 194
193 if (use_mesa_platform_null) { 195 if (use_mesa_platform_null) {
194 defines += [ "USE_MESA_PLATFORM_NULL" ] 196 defines += [ "USE_MESA_PLATFORM_NULL" ]
195 } 197 }
196 } 198 }
197 } 199 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698