Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: ui/events/devices/BUILD.gn

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/device_hotplug_event_observer.h ('k') | ui/events/devices/device_data_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/BUILD.gn
diff --git a/ui/events/devices/BUILD.gn b/ui/events/devices/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..ac001ed3e122b598992efa13ea54540376edddf6
--- /dev/null
+++ b/ui/events/devices/BUILD.gn
@@ -0,0 +1,51 @@
+# Copyright 2014 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")
+
+component("devices") {
+ sources = [
+ "device_data_manager.cc",
+ "device_data_manager.h",
+ "device_hotplug_event_observer.h",
+ "device_util_linux.cc",
+ "device_util_linux.h",
+ "events_devices_export.h",
+ "input_device.cc",
+ "input_device.h",
+ "input_device_event_observer.h",
+ "keyboard_device.cc",
+ "keyboard_device.h",
+ "touchscreen_device.cc",
+ "touchscreen_device.h",
+ ]
+
+ defines = [ "EVENTS_DEVICES_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//skia",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (use_x11) {
+ configs += [ "//build/config/linux:x11" ]
+
+ sources += [
+ "x11/device_data_manager_x11.cc",
+ "x11/device_data_manager_x11.h",
+ "x11/device_list_cache_x11.cc",
+ "x11/device_list_cache_x11.h",
+ "x11/touch_factory_x11.cc",
+ "x11/touch_factory_x11.h",
+ ]
+
+ deps += [
+ "//ui/events:events_base",
+ "//ui/gfx/x",
+ ]
+ }
+}
« no previous file with comments | « ui/events/device_hotplug_event_observer.h ('k') | ui/events/devices/device_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698