| 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/ui.gni") |
| 5 import("//build/config/linux/pkg_config.gni") | 6 import("//build/config/linux/pkg_config.gni") |
| 6 import("//ui/ozone/ozone.gni") | 7 import("//ui/ozone/ozone.gni") |
| 7 | 8 |
| 8 declare_args() { | 9 declare_args() { |
| 9 use_mesa_platform_null = false | 10 use_mesa_platform_null = false |
| 10 use_drm_atomic = false | 11 use_drm_atomic = false |
| 11 } | 12 } |
| 12 | 13 |
| 13 pkg_config("libdrm") { | 14 pkg_config("libdrm") { |
| 14 packages = [ "libdrm" ] | 15 packages = [ "libdrm" ] |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 "//ui/events/ozone:events_ozone_layout", | 184 "//ui/events/ozone:events_ozone_layout", |
| 184 ] | 185 ] |
| 185 | 186 |
| 186 public_configs = [ ":libgbm" ] | 187 public_configs = [ ":libgbm" ] |
| 187 | 188 |
| 188 if (use_mesa_platform_null) { | 189 if (use_mesa_platform_null) { |
| 189 defines += [ "USE_MESA_PLATFORM_NULL" ] | 190 defines += [ "USE_MESA_PLATFORM_NULL" ] |
| 190 } | 191 } |
| 191 } | 192 } |
| 192 } | 193 } |
| OLD | NEW |