| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 "//ui/aura:aura", | 47 "//ui/aura:aura", |
| 48 "//ui/events:dom_keycode_converter", | 48 "//ui/events:dom_keycode_converter", |
| 49 "//ui/events:events_base", | 49 "//ui/events:events_base", |
| 50 "//ui/views", | 50 "//ui/views", |
| 51 ] | 51 ] |
| 52 | 52 |
| 53 if (use_ozone) { | 53 if (use_ozone) { |
| 54 deps += [ | 54 deps += [ |
| 55 "//third_party/mesa:wayland_drm_protocol", | 55 "//third_party/mesa:wayland_drm_protocol", |
| 56 "//third_party/wayland-protocols:linux_dmabuf_protocol", | 56 "//third_party/wayland-protocols:linux_dmabuf_protocol", |
| 57 "//third_party/wayland-protocols:linux_explicit_synchronization_protocol", |
| 57 ] | 58 ] |
| 58 configs += [ ":libdrm" ] | 59 configs += [ ":libdrm" ] |
| 59 } | 60 } |
| 60 | 61 |
| 61 if (use_xkbcommon) { | 62 if (use_xkbcommon) { |
| 62 configs += [ ":xkbcommon" ] | 63 configs += [ ":xkbcommon" ] |
| 63 defines += [ "USE_XKBCOMMON" ] | 64 defines += [ "USE_XKBCOMMON" ] |
| 64 deps += [ "//ui/events/keycodes:xkb" ] | 65 deps += [ "//ui/events/keycodes:xkb" ] |
| 65 } | 66 } |
| 66 } | 67 } |
| 67 | 68 |
| 68 source_set("unit_tests") { | 69 source_set("unit_tests") { |
| 69 testonly = true | 70 testonly = true |
| 70 | 71 |
| 71 sources = [ | 72 sources = [ |
| 72 "server_unittest.cc", | 73 "server_unittest.cc", |
| 73 ] | 74 ] |
| 74 | 75 |
| 75 deps = [ | 76 deps = [ |
| 76 ":wayland", | 77 ":wayland", |
| 77 "//base", | 78 "//base", |
| 78 "//components/exo", | 79 "//components/exo", |
| 79 "//testing/gtest", | 80 "//testing/gtest", |
| 80 "//third_party/wayland:wayland_client", | 81 "//third_party/wayland:wayland_client", |
| 81 ] | 82 ] |
| 82 } | 83 } |
| OLD | NEW |