chromium/ui/events/devices/x11/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/ozone.gni")
import("//build/config/ui.gni")

assert(ozone_platform_x11)

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",
    "//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",
  ]
}