OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//build/config/ui.gni") |
| 6 |
| 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 ] |
| 23 |
| 24 defines = [ |
| 25 "EVENTS_DEVICES_IMPLEMENTATION", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 "//base", |
| 30 "//base/third_party/dynamic_annotations", |
| 31 "//skia", |
| 32 "//ui/gfx", |
| 33 "//ui/gfx/geometry", |
| 34 ] |
| 35 |
| 36 if (use_x11) { |
| 37 configs += [ "//build/config/linux:x11" ] |
| 38 |
| 39 sources += [ |
| 40 "x11/device_data_manager_x11.cc", |
| 41 "x11/device_data_manager_x11.h", |
| 42 "x11/device_list_cache_x11.cc", |
| 43 "x11/device_list_cache_x11.h", |
| 44 "x11/touch_factory_x11.cc", |
| 45 "x11/touch_factory_x11.h", |
| 46 ] |
| 47 |
| 48 deps += [ |
| 49 "//ui/events:events_base", |
| 50 "//ui/gfx/x", |
| 51 ] |
| 52 } |
| 53 } |
OLD | NEW |