| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//ui/ozone/ozone.gni") |
| 7 | 8 |
| 8 if (use_xkbcommon) { | 9 if (use_xkbcommon) { |
| 9 pkg_config("xkbcommon") { | 10 pkg_config("xkbcommon") { |
| 10 packages = [ "xkbcommon" ] | 11 packages = [ "xkbcommon" ] |
| 11 } | 12 } |
| 12 } | 13 } |
| 13 | 14 |
| 14 if (use_ozone) { | 15 if (use_ozone) { |
| 15 pkg_config("libdrm") { | 16 pkg_config("libdrm") { |
| 16 packages = [ "libdrm" ] | 17 packages = [ "libdrm" ] |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 84 |
| 84 executable("wayland_motion_events") { | 85 executable("wayland_motion_events") { |
| 85 sources = [ | 86 sources = [ |
| 86 "clients/motion_events.cc", | 87 "clients/motion_events.cc", |
| 87 ] | 88 ] |
| 88 | 89 |
| 89 deps = [ | 90 deps = [ |
| 90 "//base", | 91 "//base", |
| 91 "//skia", | 92 "//skia", |
| 92 "//third_party/wayland:wayland_client", | 93 "//third_party/wayland:wayland_client", |
| 94 "//third_party/wayland-protocols:linux_dmabuf_protocol", |
| 95 "//ui/gfx/geometry", |
| 96 "//ui/gl", |
| 97 "//ui/gl/init", |
| 93 ] | 98 ] |
| 99 |
| 100 if (ozone_platform_gbm) { |
| 101 configs += [ |
| 102 ":libdrm", |
| 103 "//ui/gl:gl_config", |
| 104 ] |
| 105 defines = [ "OZONE_PLATFORM_GBM" ] |
| 106 deps += [ "//third_party/minigbm" ] |
| 107 } |
| 94 } | 108 } |
| OLD | NEW |