12345678910111213141516171819202122232425262728293031323334353637383940 |
- # Copyright 2017 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
- import("//build/config/chromeos/ui_mode.gni")
- import("//build/config/ozone.gni")
- import("//build/config/ui.gni")
- assert(is_chromeos_ash)
- source_set("events") {
- output_name = "ui_chromeos_events"
- sources = [
- "event_rewriter_chromeos.cc",
- "event_rewriter_chromeos.h",
- "keyboard_layout_util.cc",
- "keyboard_layout_util.h",
- "modifier_key.h",
- "pref_names.cc",
- "pref_names.h",
- ]
- deps = [
- "//ash/constants",
- "//base",
- "//device/udev_linux",
- "//ui/base:features",
- "//ui/base/ime/ash",
- "//ui/events",
- "//ui/events:dom_keycode_converter",
- "//ui/events/devices",
- "//ui/events/ozone/evdev",
- "//ui/events/ozone/evdev:event_device_info",
- ]
- if (ozone_platform_x11) {
- deps += [
- "//ui/base/x",
- "//ui/events/keycodes:x11",
- ]
- }
- }
|