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

Unified Diff: ui/events/events.gyp

Issue 28513004: Move evdev events support into EventFactoryDelegateEvdev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/_evdev//, add event_factory_delegate_ozone.cc, move GetRequestedDelegate() Created 7 years, 2 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
Index: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index 445c41aa63103098e993d40a7ea5b23ef6a7aca4..2b56ce0d9c902dba85d44b42df56845e5e9c0a38 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -65,12 +65,15 @@
'keycodes/keyboard_codes.h',
'latency_info.cc',
'latency_info.h',
- 'ozone/evdev/key_event_converter_ozone.cc',
- 'ozone/evdev/key_event_converter_ozone.h',
- 'ozone/evdev/touch_event_converter_ozone.cc',
- 'ozone/evdev/touch_event_converter_ozone.h',
+ 'ozone/evdev/event_factory_delegate.cc',
+ 'ozone/evdev/event_factory_delegate.h',
+ 'ozone/evdev/key_event_converter.cc',
+ 'ozone/evdev/key_event_converter.h',
+ 'ozone/evdev/touch_event_converter.cc',
+ 'ozone/evdev/touch_event_converter.h',
'ozone/event_converter_ozone.cc',
'ozone/event_converter_ozone.h',
+ 'ozone/event_factory_delegate_ozone.cc',
'ozone/event_factory_delegate_ozone.h',
'ozone/event_factory_ozone.cc',
'ozone/event_factory_ozone.h',
@@ -115,6 +118,14 @@
'<(DEPTH)/build/linux/system.gyp:x11',
],
}],
+ ['use_ozone_evdev==1', {
+ 'defines': ['USE_OZONE_EVDEV=1'],
+ }],
+ ['use_ozone_evdev==0', {
+ 'sources/': [
+ ['exclude', '^ozone/evdev/*'],
sadrul 2013/10/21 20:22:54 Move this rule into build/filename_rules.gypi (for
spang 2013/10/21 20:32:04 Done.
+ ]
+ }],
],
}
],

Powered by Google App Engine
This is Rietveld 408576698