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

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

Issue 1262043002: Implement DRM Native Pixmap using prime buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-master
Patch Set: ToT rebase 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
11 } 11 }
12 12
13 pkg_config("libdrm") { 13 pkg_config("libdrm") {
14 packages = [ "libdrm" ] 14 packages = [ "libdrm" ]
15 } 15 }
16 16
17 config("drm_atomic") { 17 config("drm_atomic") {
18 if (use_drm_atomic) { 18 if (use_drm_atomic) {
19 defines = [ "USE_DRM_ATOMIC" ] 19 defines = [ "USE_DRM_ATOMIC" ]
20 } 20 }
21 } 21 }
22 22
23 source_set("gbm") { 23 source_set("gbm") {
24 sources = [ 24 sources = [
25 "client_native_pixmap_factory_gbm.cc", 25 "client_native_pixmap_factory_gbm.cc",
26 "client_native_pixmap_factory_gbm.h", 26 "client_native_pixmap_factory_gbm.h",
27 "common/client_native_pixmap_dmabuf.cc",
28 "common/client_native_pixmap_dmabuf.h",
27 "common/drm_util.cc", 29 "common/drm_util.cc",
28 "common/drm_util.h", 30 "common/drm_util.h",
29 "common/scoped_drm_types.cc", 31 "common/scoped_drm_types.cc",
30 "common/scoped_drm_types.h", 32 "common/scoped_drm_types.h",
31 "gpu/crtc_controller.cc", 33 "gpu/crtc_controller.cc",
32 "gpu/crtc_controller.h", 34 "gpu/crtc_controller.h",
33 "gpu/drm_buffer.cc", 35 "gpu/drm_buffer.cc",
34 "gpu/drm_buffer.h", 36 "gpu/drm_buffer.h",
35 "gpu/drm_console_buffer.cc", 37 "gpu/drm_console_buffer.cc",
36 "gpu/drm_console_buffer.h", 38 "gpu/drm_console_buffer.h",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 deps = [ 187 deps = [
186 ":gbm", 188 ":gbm",
187 "//skia", 189 "//skia",
188 "//testing/gtest", 190 "//testing/gtest",
189 "//ui/gfx", 191 "//ui/gfx",
190 "//ui/ozone", 192 "//ui/ozone",
191 ] 193 ]
192 194
193 public_configs = [ ":libdrm" ] 195 public_configs = [ ":libdrm" ]
194 } 196 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698