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 | 7 |
8 if (use_xkbcommon) { | 8 if (use_xkbcommon) { |
9 pkg_config("xkbcommon") { | 9 pkg_config("xkbcommon") { |
10 packages = [ "xkbcommon" ] | 10 packages = [ "xkbcommon" ] |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 deps += [ | 46 deps += [ |
47 "//third_party/mesa:wayland_drm_protocol", | 47 "//third_party/mesa:wayland_drm_protocol", |
48 "//third_party/wayland-protocols:linux_dmabuf_protocol", | 48 "//third_party/wayland-protocols:linux_dmabuf_protocol", |
49 ] | 49 ] |
50 configs += [ ":libdrm" ] | 50 configs += [ ":libdrm" ] |
51 } | 51 } |
52 | 52 |
53 if (use_xkbcommon) { | 53 if (use_xkbcommon) { |
54 configs += [ ":xkbcommon" ] | 54 configs += [ ":xkbcommon" ] |
55 defines += [ "USE_XKBCOMMON" ] | 55 defines += [ "USE_XKBCOMMON" ] |
| 56 deps += [ "//ui/events/keycodes:xkb" ] |
56 } | 57 } |
57 } | 58 } |
58 | 59 |
59 source_set("unit_tests") { | 60 source_set("unit_tests") { |
60 testonly = true | 61 testonly = true |
61 | 62 |
62 sources = [ | 63 sources = [ |
63 "server_unittest.cc", | 64 "server_unittest.cc", |
64 ] | 65 ] |
65 | 66 |
66 deps = [ | 67 deps = [ |
67 ":wayland", | 68 ":wayland", |
68 "//base", | 69 "//base", |
69 "//components/exo", | 70 "//components/exo", |
70 "//testing/gtest", | 71 "//testing/gtest", |
71 "//third_party/wayland:wayland_client", | 72 "//third_party/wayland:wayland_client", |
72 ] | 73 ] |
73 } | 74 } |
OLD | NEW |