summaryrefslogtreecommitdiff
path: root/chromium/ui/events/devices/x11/BUILD.gn
blob: 0a9f0f2b807a6de60466a5f929fd9ab27b505381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2016 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/jumbo.gni")
import("//build/config/ozone.gni")
import("//build/config/ui.gni")

assert(use_x11 || ozone_platform_x11)

jumbo_component("x11") {
  output_name = "events_devices_x11"

  sources = [
    "device_data_manager_x11.cc",
    "device_data_manager_x11.h",
    "device_list_cache_x11.cc",
    "device_list_cache_x11.h",
    "events_devices_x11_export.h",
    "touch_factory_x11.cc",
    "touch_factory_x11.h",
    "xinput_util.h",
  ]

  defines = [ "EVENTS_DEVICES_X11_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//base/third_party/dynamic_annotations",
    "//build:chromeos_buildflags",
    "//skia",
    "//ui/display",
    "//ui/events:events_base",
    "//ui/events/devices",
    "//ui/events/keycodes:x11",
    "//ui/gfx",
    "//ui/gfx/geometry",
    "//ui/gfx/x",
  ]
}