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