| 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 20 matching lines...) Expand all Loading... |
| 31 "//ash", | 31 "//ash", |
| 32 "//ash/public/cpp", | 32 "//ash/public/cpp", |
| 33 "//base", | 33 "//base", |
| 34 "//components/exo", | 34 "//components/exo", |
| 35 "//device/gamepad", | 35 "//device/gamepad", |
| 36 "//ipc:ipc", | 36 "//ipc:ipc", |
| 37 "//skia", | 37 "//skia", |
| 38 "//third_party/wayland:wayland_server", | 38 "//third_party/wayland:wayland_server", |
| 39 "//third_party/wayland-protocols:alpha_compositing_protocol", | 39 "//third_party/wayland-protocols:alpha_compositing_protocol", |
| 40 "//third_party/wayland-protocols:gaming_input_protocol", | 40 "//third_party/wayland-protocols:gaming_input_protocol", |
| 41 "//third_party/wayland-protocols:linux_explicit_synchronization_protocol", |
| 41 "//third_party/wayland-protocols:remote_shell_protocol", | 42 "//third_party/wayland-protocols:remote_shell_protocol", |
| 42 "//third_party/wayland-protocols:secure_output_protocol", | 43 "//third_party/wayland-protocols:secure_output_protocol", |
| 43 "//third_party/wayland-protocols:stylus_protocol", | 44 "//third_party/wayland-protocols:stylus_protocol", |
| 44 "//third_party/wayland-protocols:viewporter_protocol", | 45 "//third_party/wayland-protocols:viewporter_protocol", |
| 45 "//third_party/wayland-protocols:vsync_feedback_protocol", | 46 "//third_party/wayland-protocols:vsync_feedback_protocol", |
| 46 "//third_party/wayland-protocols:xdg_shell_protocol", | 47 "//third_party/wayland-protocols:xdg_shell_protocol", |
| 47 "//ui/aura:aura", | 48 "//ui/aura:aura", |
| 48 "//ui/events:dom_keycode_converter", | 49 "//ui/events:dom_keycode_converter", |
| 49 "//ui/events:events_base", | 50 "//ui/events:events_base", |
| 50 "//ui/views", | 51 "//ui/views", |
| 51 ] | 52 ] |
| 52 | 53 |
| 53 if (use_ozone) { | 54 if (use_ozone) { |
| 54 deps += [ | 55 deps += [ |
| 55 "//third_party/mesa:wayland_drm_protocol", | 56 "//third_party/mesa:wayland_drm_protocol", |
| 56 "//third_party/wayland-protocols:linux_dmabuf_protocol", | 57 "//third_party/wayland-protocols:linux_dmabuf_protocol", |
| 57 "//third_party/wayland-protocols:linux_explicit_synchronization_protocol", | |
| 58 ] | 58 ] |
| 59 configs += [ ":libdrm" ] | 59 configs += [ ":libdrm" ] |
| 60 } | 60 } |
| 61 | 61 |
| 62 if (use_xkbcommon) { | 62 if (use_xkbcommon) { |
| 63 configs += [ ":xkbcommon" ] | 63 configs += [ ":xkbcommon" ] |
| 64 defines += [ "USE_XKBCOMMON" ] | 64 defines += [ "USE_XKBCOMMON" ] |
| 65 deps += [ "//ui/events/keycodes:xkb" ] | 65 deps += [ "//ui/events/keycodes:xkb" ] |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 | 68 |
| 69 source_set("unit_tests") { | 69 source_set("unit_tests") { |
| 70 testonly = true | 70 testonly = true |
| 71 | 71 |
| 72 sources = [ | 72 sources = [ |
| 73 "server_unittest.cc", | 73 "server_unittest.cc", |
| 74 ] | 74 ] |
| 75 | 75 |
| 76 deps = [ | 76 deps = [ |
| 77 ":wayland", | 77 ":wayland", |
| 78 "//base", | 78 "//base", |
| 79 "//components/exo", | 79 "//components/exo", |
| 80 "//testing/gtest", | 80 "//testing/gtest", |
| 81 "//third_party/wayland:wayland_client", | 81 "//third_party/wayland:wayland_client", |
| 82 ] | 82 ] |
| 83 } | 83 } |
| OLD | NEW |