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

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

Issue 957253005: [Ozone] Update GYP and GN to include a DRM platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split-host-gpu
Patch Set: fix media Created 5 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
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 } 10 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 "//ui/events/ozone:events_ozone_evdev", 93 "//ui/events/ozone:events_ozone_evdev",
94 "//ui/events/ozone:events_ozone_layout", 94 "//ui/events/ozone:events_ozone_layout",
95 "//ui/events/platform", 95 "//ui/events/platform",
96 "//ui/gfx", 96 "//ui/gfx",
97 "//ui/gfx/geometry", 97 "//ui/gfx/geometry",
98 ] 98 ]
99 99
100 public_configs = [ ":libdrm" ] 100 public_configs = [ ":libdrm" ]
101 } 101 }
102 102
103 if (ozone_platform_dri) { 103 if (ozone_platform_dri || ozone_platform_drm) {
104 source_set("drm") { 104 source_set("drm") {
105 sources = [ 105 sources = [
106 "ozone_platform_drm.cc", 106 "ozone_platform_drm.cc",
107 "ozone_platform_drm.h", 107 "ozone_platform_drm.h",
108 ] 108 ]
109 109
110 deps = [ 110 deps = [
111 ":drm_common", 111 ":drm_common",
112 "//base", 112 "//base",
113 "//skia", 113 "//skia",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "//ui/events/ozone:events_ozone_layout", 169 "//ui/events/ozone:events_ozone_layout",
170 ] 170 ]
171 171
172 public_configs = [ ":libgbm" ] 172 public_configs = [ ":libgbm" ]
173 173
174 if (use_mesa_platform_null) { 174 if (use_mesa_platform_null) {
175 defines += [ "USE_MESA_PLATFORM_NULL" ] 175 defines += [ "USE_MESA_PLATFORM_NULL" ]
176 } 176 }
177 } 177 }
178 } 178 }
OLDNEW
« ui/ozone/BUILD.gn ('K') | « ui/ozone/ozone.gyp ('k') | ui/ozone/platform/drm/drm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698