BUILD.gn 977 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 2017 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/chromeos/ui_mode.gni")
  5. import("//build/config/ozone.gni")
  6. import("//build/config/ui.gni")
  7. assert(is_chromeos_ash)
  8. source_set("events") {
  9. output_name = "ui_chromeos_events"
  10. sources = [
  11. "event_rewriter_chromeos.cc",
  12. "event_rewriter_chromeos.h",
  13. "keyboard_layout_util.cc",
  14. "keyboard_layout_util.h",
  15. "modifier_key.h",
  16. "pref_names.cc",
  17. "pref_names.h",
  18. ]
  19. deps = [
  20. "//ash/constants",
  21. "//base",
  22. "//device/udev_linux",
  23. "//ui/base:features",
  24. "//ui/base/ime/ash",
  25. "//ui/events",
  26. "//ui/events:dom_keycode_converter",
  27. "//ui/events/devices",
  28. "//ui/events/ozone/evdev",
  29. "//ui/events/ozone/evdev:event_device_info",
  30. ]
  31. if (ozone_platform_x11) {
  32. deps += [
  33. "//ui/base/x",
  34. "//ui/events/keycodes:x11",
  35. ]
  36. }
  37. }