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

Unified Diff: ui/events/events.gyp

Issue 278183002: Revert of Unified Gesture Recognizer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/event_switches.cc ('k') | ui/events/gesture_detection/gesture_config_helper_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index 7b810b70845c321ef42c0efc5181fa03f1b15ed3..faf21eeb65c65a96e6b30a9b2d8b711172dda992 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -39,8 +39,6 @@
'events_base_export.h',
'gesture_event_details.cc',
'gesture_event_details.h',
- 'gestures/gesture_configuration.cc',
- 'gestures/gesture_configuration.h',
'keycodes/keyboard_code_conversion.cc',
'keycodes/keyboard_code_conversion.h',
'keycodes/keyboard_code_conversion_android.cc',
@@ -80,7 +78,6 @@
'../gfx/gfx.gyp:gfx',
'../gfx/gfx.gyp:gfx_geometry',
'events_base',
- 'gesture_detection',
],
'defines': [
'EVENTS_IMPLEMENTATION',
@@ -109,18 +106,16 @@
'event_utils.h',
'events_export.h',
'events_stub.cc',
+ 'gestures/gesture_configuration.cc',
+ 'gestures/gesture_configuration.h',
'gestures/gesture_point.cc',
'gestures/gesture_point.h',
- 'gestures/gesture_provider_aura.cc',
- 'gestures/gesture_provider_aura.h',
'gestures/gesture_recognizer.h',
'gestures/gesture_recognizer_impl.cc',
'gestures/gesture_recognizer_impl.h',
'gestures/gesture_sequence.cc',
'gestures/gesture_sequence.h',
'gestures/gesture_types.h',
- 'gestures/motion_event_aura.cc',
- 'gestures/motion_event_aura.h',
'gestures/velocity_calculator.cc',
'gestures/velocity_calculator.h',
'ozone/device/device_event.cc',
@@ -176,24 +171,6 @@
'linux/text_edit_key_bindings_delegate_auralinux.h',
],
'conditions': [
- ['use_aura==0', {
- 'sources!': [
- 'gestures/gesture_point.cc',
- 'gestures/gesture_point.h',
- 'gestures/gesture_provider_aura.cc',
- 'gestures/gesture_provider_aura.h',
- 'gestures/gesture_recognizer.h',
- 'gestures/gesture_recognizer_impl.cc',
- 'gestures/gesture_recognizer_impl.h',
- 'gestures/gesture_sequence.cc',
- 'gestures/gesture_sequence.h',
- 'gestures/gesture_types.h',
- 'gestures/motion_event_aura.cc',
- 'gestures/motion_event_aura.h',
- 'gestures/velocity_calculator.cc',
- 'gestures/velocity_calculator.h',
- ],
- }],
# We explicitly enumerate the platforms we _do_ provide native cracking
# for here.
['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', {
@@ -276,9 +253,6 @@
'gesture_detection/bitset_32.h',
'gesture_detection/filtered_gesture_provider.cc',
'gesture_detection/filtered_gesture_provider.h',
- 'gesture_detection/gesture_config_helper.h',
- 'gesture_detection/gesture_config_helper_android.cc',
- 'gesture_detection/gesture_config_helper_aura.cc',
'gesture_detection/gesture_detection_export.h',
'gesture_detection/gesture_detector.cc',
'gesture_detection/gesture_detector.h',
@@ -286,6 +260,9 @@
'gesture_detection/gesture_event_data.h',
'gesture_detection/gesture_event_data_packet.cc',
'gesture_detection/gesture_event_data_packet.h',
+ 'gesture_detection/gesture_config_helper.h',
+ 'gesture_detection/gesture_config_helper_aura.cc',
+ 'gesture_detection/gesture_config_helper_android.cc',
'gesture_detection/gesture_provider.cc',
'gesture_detection/gesture_provider.h',
'gesture_detection/motion_event.h',
@@ -301,6 +278,11 @@
'gesture_detection/velocity_tracker.h',
],
'conditions': [
+ ['use_aura==1', {
+ 'dependencies': [
+ 'events'
+ ],
+ }],
['use_aura!=1 and OS!="android"', {
'sources': [
'gesture_detection/gesture_config_helper.cc',
@@ -358,7 +340,7 @@
'events',
'events_base',
'events_test_support',
- 'gesture_detection',
+ 'gesture_detection'
],
'sources': [
'cocoa/events_mac_unittest.mm',
@@ -366,7 +348,6 @@
'event_processor_unittest.cc',
'event_rewriter_unittest.cc',
'event_unittest.cc',
- 'gestures/motion_event_aura_unittest.cc',
'gestures/velocity_calculator_unittest.cc',
'gesture_detection/bitset_32_unittest.cc',
'gesture_detection/gesture_provider_unittest.cc',
@@ -382,12 +363,6 @@
'x/events_x_unittest.cc',
],
'conditions': [
- ['use_aura==0', {
- 'sources!': [
- 'gestures/motion_event_aura_unittest.cc',
- 'gestures/velocity_calculator_unittest.cc',
- ],
- }],
['OS=="linux" and use_allocator!="none"', {
'dependencies': [
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
« no previous file with comments | « ui/events/event_switches.cc ('k') | ui/events/gesture_detection/gesture_config_helper_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698