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

Side by Side Diff: ui/events/BUILD.gn

Issue 508303002: Move touchscreen device caching to DeviceDataManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PlatformEventObserver Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 static_library("dom4_keycode_converter") { 7 static_library("dom4_keycode_converter") {
8 sources = [ 8 sources = [
9 "keycodes/dom4/keycode_converter.cc", 9 "keycodes/dom4/keycode_converter.cc",
10 "keycodes/dom4/keycode_converter.h", 10 "keycodes/dom4/keycode_converter.h",
11 "keycodes/dom4/keycode_converter_data.h", 11 "keycodes/dom4/keycode_converter_data.h",
12 ] 12 ]
13 13
14 deps = [ "//base" ] 14 deps = [ "//base" ]
15 } 15 }
16 16
17 component("events_base") { 17 component("events_base") {
18 sources = [ 18 sources = [
19 "device_data_manager.cc", 19 "device_data_manager.cc",
20 "device_data_manager.h", 20 "device_data_manager.h",
21 "event_constants.h", 21 "event_constants.h",
22 "event_switches.cc", 22 "event_switches.cc",
23 "event_switches.h", 23 "event_switches.h",
24 "events_base_export.h", 24 "events_base_export.h",
25 "gesture_event_details.cc", 25 "gesture_event_details.cc",
26 "gesture_event_details.h", 26 "gesture_event_details.h",
27 "gestures/gesture_configuration.cc", 27 "gestures/gesture_configuration.cc",
28 "gestures/gesture_configuration.h", 28 "gestures/gesture_configuration.h",
29 "device_hotplug_event_observer.h",
Daniel Erat 2014/09/10 16:51:24 fix alphabetization
dnicoara 2014/09/10 18:05:36 Done.
29 "keycodes/keyboard_code_conversion.cc", 30 "keycodes/keyboard_code_conversion.cc",
30 "keycodes/keyboard_code_conversion.h", 31 "keycodes/keyboard_code_conversion.h",
31 "keycodes/keyboard_code_conversion_android.cc", 32 "keycodes/keyboard_code_conversion_android.cc",
32 "keycodes/keyboard_code_conversion_android.h", 33 "keycodes/keyboard_code_conversion_android.h",
33 "keycodes/keyboard_code_conversion_mac.h", 34 "keycodes/keyboard_code_conversion_mac.h",
34 "keycodes/keyboard_code_conversion_mac.mm", 35 "keycodes/keyboard_code_conversion_mac.mm",
35 "keycodes/keyboard_code_conversion_win.cc", 36 "keycodes/keyboard_code_conversion_win.cc",
36 "keycodes/keyboard_code_conversion_win.h", 37 "keycodes/keyboard_code_conversion_win.h",
37 "keycodes/keyboard_codes.h", 38 "keycodes/keyboard_codes.h",
38 "latency_info.cc", 39 "latency_info.cc",
39 "latency_info.h", 40 "latency_info.h",
41 "touchscreen_device.cc",
42 "touchscreen_device.h",
40 ] 43 ]
41 44
42 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] 45 defines = [ "EVENTS_BASE_IMPLEMENTATION" ]
43 46
44 deps = [ 47 deps = [
45 ":dom4_keycode_converter", 48 ":dom4_keycode_converter",
46 "//base", 49 "//base",
47 "//base/third_party/dynamic_annotations", 50 "//base/third_party/dynamic_annotations",
48 "//skia", 51 "//skia",
49 "//ui/events/platform", 52 "//ui/events/platform",
50 "//ui/gfx", 53 "//ui/gfx",
51 "//ui/gfx/geometry", 54 "//ui/gfx/geometry",
52 ] 55 ]
53 56
54 forward_dependent_configs_from = [ "//ui/gfx" ] 57 forward_dependent_configs_from = [ "//ui/gfx" ]
55 58
56 if (use_x11) { 59 if (use_x11) {
57 configs += [ "//build/config/linux:x11" ] 60 configs += [ "//build/config/linux:x11" ]
58 61
59 sources += [ 62 sources += [
60 "keycodes/keyboard_code_conversion_x.cc", 63 "keycodes/keyboard_code_conversion_x.cc",
61 "keycodes/keyboard_code_conversion_x.h", 64 "keycodes/keyboard_code_conversion_x.h",
62 "x/device_data_manager_x11.cc", 65 "x/device_data_manager_x11.cc",
63 "x/device_data_manager_x11.h", 66 "x/device_data_manager_x11.h",
64 "x/device_list_cache_x.cc", 67 "x/device_list_cache_x.cc",
65 "x/device_list_cache_x.h", 68 "x/device_list_cache_x.h",
69 "x/hotplug_event_handler_x11.cc",
70 "x/hotplug_event_handler_x11.h",
66 "x/keysym_to_unicode.cc", 71 "x/keysym_to_unicode.cc",
67 "x/keysym_to_unicode.h", 72 "x/keysym_to_unicode.h",
68 "x/touch_factory_x11.cc", 73 "x/touch_factory_x11.cc",
69 "x/touch_factory_x11.h", 74 "x/touch_factory_x11.h",
70 ] 75 ]
71 } 76 }
72 } 77 }
73 78
74 component("events") { 79 component("events") {
75 sources = [ 80 sources = [
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 "ozone/evdev/touch_event_converter_evdev_unittest.cc", 313 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
309 ] 314 ]
310 } 315 }
311 316
312 if (use_aura) { 317 if (use_aura) {
313 sources += [ 318 sources += [
314 "gestures/gesture_provider_aura_unittest.cc", 319 "gestures/gesture_provider_aura_unittest.cc",
315 ] 320 ]
316 } 321 }
317 } 322 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698