| 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 } | 10 } |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 "gbm_buffer.cc", | 137 "gbm_buffer.cc", |
| 138 "gbm_buffer.h", | 138 "gbm_buffer.h", |
| 139 "gbm_buffer_base.cc", | 139 "gbm_buffer_base.cc", |
| 140 "gbm_buffer_base.h", | 140 "gbm_buffer_base.h", |
| 141 "gbm_surface.cc", | 141 "gbm_surface.cc", |
| 142 "gbm_surface.h", | 142 "gbm_surface.h", |
| 143 "gbm_surfaceless.cc", | 143 "gbm_surfaceless.cc", |
| 144 "gbm_surfaceless.h", | 144 "gbm_surfaceless.h", |
| 145 "gbm_surface_factory.cc", | 145 "gbm_surface_factory.cc", |
| 146 "gbm_surface_factory.h", | 146 "gbm_surface_factory.h", |
| 147 "gbm_wrapper.cc", |
| 148 "gbm_wrapper.h", |
| 147 "ozone_platform_gbm.cc", | 149 "ozone_platform_gbm.cc", |
| 148 "ozone_platform_gbm.h", | 150 "ozone_platform_gbm.h", |
| 149 ] | 151 ] |
| 150 | 152 |
| 151 deps = [ | 153 deps = [ |
| 152 ":dri_common", | 154 ":dri_common", |
| 153 "//base", | 155 "//base", |
| 154 "//skia", | 156 "//skia", |
| 155 "//ui/events/ozone:events_ozone_evdev", | 157 "//ui/events/ozone:events_ozone_evdev", |
| 156 "//ui/events/ozone:events_ozone_layout", | 158 "//ui/events/ozone:events_ozone_layout", |
| 157 ] | 159 ] |
| 158 | 160 |
| 159 public_configs = [ ":libgbm" ] | 161 public_configs = [ ":libgbm" ] |
| 160 | 162 |
| 161 if (use_mesa_platform_null) { | 163 if (use_mesa_platform_null) { |
| 162 defines += [ "USE_MESA_PLATFORM_NULL" ] | 164 defines += [ "USE_MESA_PLATFORM_NULL" ] |
| 163 } | 165 } |
| 164 } | 166 } |
| 165 } | 167 } |
| OLD | NEW |