OLD | NEW |
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 Loading... |
109 "//ui/events/ozone:events_ozone_evdev", | 109 "//ui/events/ozone:events_ozone_evdev", |
110 "//ui/events/ozone:events_ozone_layout", | 110 "//ui/events/ozone:events_ozone_layout", |
111 "//ui/events/platform", | 111 "//ui/events/platform", |
112 "//ui/gfx", | 112 "//ui/gfx", |
113 "//ui/gfx/geometry", | 113 "//ui/gfx/geometry", |
114 ] | 114 ] |
115 | 115 |
116 public_configs = [ ":libdrm" ] | 116 public_configs = [ ":libdrm" ] |
117 } | 117 } |
118 | 118 |
119 if (ozone_platform_dri || ozone_platform_drm) { | 119 if (ozone_platform_drm) { |
120 source_set("drm") { | 120 source_set("drm") { |
121 sources = [ | 121 sources = [ |
122 "ozone_platform_drm.cc", | 122 "ozone_platform_drm.cc", |
123 "ozone_platform_drm.h", | 123 "ozone_platform_drm.h", |
124 ] | 124 ] |
125 | 125 |
126 deps = [ | 126 deps = [ |
127 ":drm_common", | 127 ":drm_common", |
128 "//base", | 128 "//base", |
129 "//skia", | 129 "//skia", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 public_configs = [ | 188 public_configs = [ |
189 ":libgbm", | 189 ":libgbm", |
190 "//third_party/khronos:khronos_headers", | 190 "//third_party/khronos:khronos_headers", |
191 ] | 191 ] |
192 | 192 |
193 if (use_mesa_platform_null) { | 193 if (use_mesa_platform_null) { |
194 defines += [ "USE_MESA_PLATFORM_NULL" ] | 194 defines += [ "USE_MESA_PLATFORM_NULL" ] |
195 } | 195 } |
196 } | 196 } |
197 } | 197 } |
OLD | NEW |