| OLD | NEW |
| 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", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "device_hotplug_event_observer.h", | 23 "device_hotplug_event_observer.h", |
| 24 "event_constants.h", | 24 "event_constants.h", |
| 25 "event_switches.cc", | 25 "event_switches.cc", |
| 26 "event_switches.h", | 26 "event_switches.h", |
| 27 "events_base_export.h", | 27 "events_base_export.h", |
| 28 "gesture_curve.h", | 28 "gesture_curve.h", |
| 29 "gesture_event_details.cc", | 29 "gesture_event_details.cc", |
| 30 "gesture_event_details.h", | 30 "gesture_event_details.h", |
| 31 "gestures/fling_curve.cc", | 31 "gestures/fling_curve.cc", |
| 32 "gestures/fling_curve.h", | 32 "gestures/fling_curve.h", |
| 33 "gestures/gesture_configuration.cc", | |
| 34 "gestures/gesture_configuration.h", | |
| 35 "keycodes/keyboard_code_conversion.cc", | 33 "keycodes/keyboard_code_conversion.cc", |
| 36 "keycodes/keyboard_code_conversion.h", | 34 "keycodes/keyboard_code_conversion.h", |
| 37 "keycodes/keyboard_code_conversion_android.cc", | 35 "keycodes/keyboard_code_conversion_android.cc", |
| 38 "keycodes/keyboard_code_conversion_android.h", | 36 "keycodes/keyboard_code_conversion_android.h", |
| 39 "keycodes/keyboard_code_conversion_mac.h", | 37 "keycodes/keyboard_code_conversion_mac.h", |
| 40 "keycodes/keyboard_code_conversion_mac.mm", | 38 "keycodes/keyboard_code_conversion_mac.mm", |
| 41 "keycodes/keyboard_code_conversion_win.cc", | 39 "keycodes/keyboard_code_conversion_win.cc", |
| 42 "keycodes/keyboard_code_conversion_win.h", | 40 "keycodes/keyboard_code_conversion_win.h", |
| 43 "keycodes/keyboard_codes.h", | 41 "keycodes/keyboard_codes.h", |
| 44 "latency_info.cc", | 42 "latency_info.cc", |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 if (is_win || is_mac || use_x11 || use_ozone) { | 165 if (is_win || is_mac || use_x11 || use_ozone) { |
| 168 sources -= [ "events_stub.cc" ] | 166 sources -= [ "events_stub.cc" ] |
| 169 } | 167 } |
| 170 } | 168 } |
| 171 | 169 |
| 172 component("gesture_detection") { | 170 component("gesture_detection") { |
| 173 sources = [ | 171 sources = [ |
| 174 "gesture_detection/bitset_32.h", | 172 "gesture_detection/bitset_32.h", |
| 175 "gesture_detection/filtered_gesture_provider.cc", | 173 "gesture_detection/filtered_gesture_provider.cc", |
| 176 "gesture_detection/filtered_gesture_provider.h", | 174 "gesture_detection/filtered_gesture_provider.h", |
| 177 "gesture_detection/gesture_config_helper.h", | 175 "gesture_detection/gesture_configuration.cc", |
| 176 "gesture_detection/gesture_configuration.h", |
| 178 "gesture_detection/gesture_detection_export.h", | 177 "gesture_detection/gesture_detection_export.h", |
| 179 "gesture_detection/gesture_detector.cc", | 178 "gesture_detection/gesture_detector.cc", |
| 180 "gesture_detection/gesture_detector.h", | 179 "gesture_detection/gesture_detector.h", |
| 181 "gesture_detection/gesture_event_data.cc", | 180 "gesture_detection/gesture_event_data.cc", |
| 182 "gesture_detection/gesture_event_data.h", | 181 "gesture_detection/gesture_event_data.h", |
| 183 "gesture_detection/gesture_event_data_packet.cc", | 182 "gesture_detection/gesture_event_data_packet.cc", |
| 184 "gesture_detection/gesture_event_data_packet.h", | 183 "gesture_detection/gesture_event_data_packet.h", |
| 185 "gesture_detection/gesture_listeners.cc", | 184 "gesture_detection/gesture_listeners.cc", |
| 186 "gesture_detection/gesture_listeners.h", | 185 "gesture_detection/gesture_listeners.h", |
| 187 "gesture_detection/gesture_provider.cc", | 186 "gesture_detection/gesture_provider.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 204 "gesture_detection/touch_disposition_gesture_filter.h", | 203 "gesture_detection/touch_disposition_gesture_filter.h", |
| 205 "gesture_detection/velocity_tracker_state.cc", | 204 "gesture_detection/velocity_tracker_state.cc", |
| 206 "gesture_detection/velocity_tracker_state.h", | 205 "gesture_detection/velocity_tracker_state.h", |
| 207 "gesture_detection/velocity_tracker.cc", | 206 "gesture_detection/velocity_tracker.cc", |
| 208 "gesture_detection/velocity_tracker.h", | 207 "gesture_detection/velocity_tracker.h", |
| 209 ] | 208 ] |
| 210 | 209 |
| 211 deps = [ | 210 deps = [ |
| 212 ":events_base", | 211 ":events_base", |
| 213 "//base", | 212 "//base", |
| 213 "//base/third_party/dynamic_annotations", |
| 214 "//ui/gfx", | 214 "//ui/gfx", |
| 215 "//ui/gfx/geometry", | 215 "//ui/gfx/geometry", |
| 216 ] | 216 ] |
| 217 | 217 |
| 218 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] | 218 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] |
| 219 | 219 |
| 220 if (is_android) { | 220 if (is_android) { |
| 221 sources += [ "gesture_detection/gesture_config_helper_android.cc" ] | 221 sources += [ "gesture_detection/gesture_configuration_android.cc" ] |
| 222 } else if (use_aura) { | 222 } else if (use_aura) { |
| 223 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] | 223 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] |
| 224 } else { | 224 } else { |
| 225 sources += [ "gesture_detection/gesture_config_helper.cc" ] | 225 sources += [ "gesture_detection/gesture_configuration_default.cc" ] |
| 226 } | 226 } |
| 227 } | 227 } |
| 228 | 228 |
| 229 source_set("test_support") { | 229 source_set("test_support") { |
| 230 sources = [ | 230 sources = [ |
| 231 "test/cocoa_test_event_utils.h", | 231 "test/cocoa_test_event_utils.h", |
| 232 "test/cocoa_test_event_utils.mm", | 232 "test/cocoa_test_event_utils.mm", |
| 233 "test/event_generator.cc", | 233 "test/event_generator.cc", |
| 234 "test/event_generator.h", | 234 "test/event_generator.h", |
| 235 "test/events_test_utils.cc", | 235 "test/events_test_utils.cc", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 "ozone/evdev/touch_event_converter_evdev_unittest.cc", | 325 "ozone/evdev/touch_event_converter_evdev_unittest.cc", |
| 326 ] | 326 ] |
| 327 } | 327 } |
| 328 | 328 |
| 329 if (use_aura) { | 329 if (use_aura) { |
| 330 sources += [ | 330 sources += [ |
| 331 "gestures/gesture_provider_aura_unittest.cc", | 331 "gestures/gesture_provider_aura_unittest.cc", |
| 332 ] | 332 ] |
| 333 } | 333 } |
| 334 } | 334 } |
| OLD | NEW |