| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 "gpu/gbm_buffer_base.cc", | 168 "gpu/gbm_buffer_base.cc", |
| 169 "gpu/gbm_buffer_base.h", | 169 "gpu/gbm_buffer_base.h", |
| 170 "gpu/gbm_device.cc", | 170 "gpu/gbm_device.cc", |
| 171 "gpu/gbm_device.h", | 171 "gpu/gbm_device.h", |
| 172 "gpu/gbm_surface.cc", | 172 "gpu/gbm_surface.cc", |
| 173 "gpu/gbm_surface.h", | 173 "gpu/gbm_surface.h", |
| 174 "gpu/gbm_surface_factory.cc", | 174 "gpu/gbm_surface_factory.cc", |
| 175 "gpu/gbm_surface_factory.h", | 175 "gpu/gbm_surface_factory.h", |
| 176 "gpu/gbm_surfaceless.cc", | 176 "gpu/gbm_surfaceless.cc", |
| 177 "gpu/gbm_surfaceless.h", | 177 "gpu/gbm_surfaceless.h", |
| 178 "gpu/vgem_pixmap.cc", |
| 179 "gpu/vgem_pixmap.h", |
| 178 "ozone_platform_gbm.cc", | 180 "ozone_platform_gbm.cc", |
| 179 "ozone_platform_gbm.h", | 181 "ozone_platform_gbm.h", |
| 180 ] | 182 ] |
| 181 | 183 |
| 182 deps = [ | 184 deps = [ |
| 183 ":drm_common", | 185 ":drm_common", |
| 184 "//base", | 186 "//base", |
| 185 "//skia", | 187 "//skia", |
| 186 "//ui/events/ozone:events_ozone_evdev", | 188 "//ui/events/ozone:events_ozone_evdev", |
| 187 "//ui/events/ozone:events_ozone_layout", | 189 "//ui/events/ozone:events_ozone_layout", |
| 188 ] | 190 ] |
| 189 | 191 |
| 190 public_configs = [ | 192 public_configs = [ |
| 191 ":libgbm", | 193 ":libgbm", |
| 192 "//third_party/khronos:khronos_headers", | 194 "//third_party/khronos:khronos_headers", |
| 193 ] | 195 ] |
| 194 | 196 |
| 195 if (use_mesa_platform_null) { | 197 if (use_mesa_platform_null) { |
| 196 defines += [ "USE_MESA_PLATFORM_NULL" ] | 198 defines += [ "USE_MESA_PLATFORM_NULL" ] |
| 197 } | 199 } |
| 198 } | 200 } |
| 199 } | 201 } |
| OLD | NEW |