Add ICU message format support
[chromium-blink-merge.git] / ui / events / devices / BUILD.gn
blobac001ed3e122b598992efa13ea54540376edddf6
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 component("devices") {
8   sources = [
9     "device_data_manager.cc",
10     "device_data_manager.h",
11     "device_hotplug_event_observer.h",
12     "device_util_linux.cc",
13     "device_util_linux.h",
14     "events_devices_export.h",
15     "input_device.cc",
16     "input_device.h",
17     "input_device_event_observer.h",
18     "keyboard_device.cc",
19     "keyboard_device.h",
20     "touchscreen_device.cc",
21     "touchscreen_device.h",
22   ]
24   defines = [ "EVENTS_DEVICES_IMPLEMENTATION" ]
26   deps = [
27     "//base",
28     "//base/third_party/dynamic_annotations",
29     "//skia",
30     "//ui/gfx",
31     "//ui/gfx/geometry",
32   ]
34   if (use_x11) {
35     configs += [ "//build/config/linux:x11" ]
37     sources += [
38       "x11/device_data_manager_x11.cc",
39       "x11/device_data_manager_x11.h",
40       "x11/device_list_cache_x11.cc",
41       "x11/device_list_cache_x11.h",
42       "x11/touch_factory_x11.cc",
43       "x11/touch_factory_x11.h",
44     ]
46     deps += [
47       "//ui/events:events_base",
48       "//ui/gfx/x",
49     ]
50   }