summaryrefslogtreecommitdiff
path: root/chromium/ui/events/x/BUILD.gn
blob: 2abef26141a791684bc0bfb7e046a2011c31885b (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
# 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/ui.gni")

# X11-specific utility code which does not depend on //ui/events:events is kept
# in this separate component, so that //ui/events:events can depend directly on
# it without causing circular dep issues.
component("x") {
  output_name = "events_x"
  sources = [
    "events_x_export.h",
    "events_x_utils.cc",
    "events_x_utils.h",
    "x11_window_event_manager.cc",
    "x11_window_event_manager.h",
  ]
  defines = [ "EVENTS_X_IMPLEMENTATION" ]
  deps = [
    "//base",
    "//skia",
    "//ui/base:features",
    "//ui/display",
    "//ui/events:events_base",
    "//ui/events/devices",
    "//ui/events/devices/x11",
    "//ui/events/keycodes:x11",
    "//ui/gfx/x",
  ]
}