chromium/ui/events/x/BUILD.gn

# Copyright 2016 The Chromium Authors
# 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",
  ]
  defines = [ "EVENTS_X_IMPLEMENTATION" ]
  deps = [
    "//base",
    "//build:chromeos_buildflags",
    "//skia",
    "//ui/base:features",
    "//ui/display",
    "//ui/events:events_base",
    "//ui/events/devices",
    "//ui/events/devices/x11",
    "//ui/events/keycodes:x11",
    "//ui/gfx/x",
  ]
}