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

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

Issue 613373004: Adopt ui::GestureConfiguration on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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",
(...skipping 12 matching lines...) Expand all
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 "input_device.cc", 33 "input_device.cc",
36 "input_device.h", 34 "input_device.h",
37 "keyboard_device.cc", 35 "keyboard_device.cc",
38 "keyboard_device.h", 36 "keyboard_device.h",
39 "keycodes/keyboard_code_conversion.cc", 37 "keycodes/keyboard_code_conversion.cc",
40 "keycodes/keyboard_code_conversion.h", 38 "keycodes/keyboard_code_conversion.h",
41 "keycodes/keyboard_code_conversion_android.cc", 39 "keycodes/keyboard_code_conversion_android.cc",
42 "keycodes/keyboard_code_conversion_android.h", 40 "keycodes/keyboard_code_conversion_android.h",
43 "keycodes/keyboard_code_conversion_mac.h", 41 "keycodes/keyboard_code_conversion_mac.h",
44 "keycodes/keyboard_code_conversion_mac.mm", 42 "keycodes/keyboard_code_conversion_mac.mm",
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 if (is_win || is_mac || use_x11 || use_ozone) { 169 if (is_win || is_mac || use_x11 || use_ozone) {
172 sources -= [ "events_stub.cc" ] 170 sources -= [ "events_stub.cc" ]
173 } 171 }
174 } 172 }
175 173
176 component("gesture_detection") { 174 component("gesture_detection") {
177 sources = [ 175 sources = [
178 "gesture_detection/bitset_32.h", 176 "gesture_detection/bitset_32.h",
179 "gesture_detection/filtered_gesture_provider.cc", 177 "gesture_detection/filtered_gesture_provider.cc",
180 "gesture_detection/filtered_gesture_provider.h", 178 "gesture_detection/filtered_gesture_provider.h",
181 "gesture_detection/gesture_config_helper.h", 179 "gesture_detection/gesture_configuration.cc",
180 "gesture_detection/gesture_configuration.h",
182 "gesture_detection/gesture_detection_export.h", 181 "gesture_detection/gesture_detection_export.h",
183 "gesture_detection/gesture_detector.cc", 182 "gesture_detection/gesture_detector.cc",
184 "gesture_detection/gesture_detector.h", 183 "gesture_detection/gesture_detector.h",
185 "gesture_detection/gesture_event_data.cc", 184 "gesture_detection/gesture_event_data.cc",
186 "gesture_detection/gesture_event_data.h", 185 "gesture_detection/gesture_event_data.h",
187 "gesture_detection/gesture_event_data_packet.cc", 186 "gesture_detection/gesture_event_data_packet.cc",
188 "gesture_detection/gesture_event_data_packet.h", 187 "gesture_detection/gesture_event_data_packet.h",
189 "gesture_detection/gesture_listeners.cc", 188 "gesture_detection/gesture_listeners.cc",
190 "gesture_detection/gesture_listeners.h", 189 "gesture_detection/gesture_listeners.h",
191 "gesture_detection/gesture_provider.cc", 190 "gesture_detection/gesture_provider.cc",
(...skipping 16 matching lines...) Expand all
208 "gesture_detection/touch_disposition_gesture_filter.h", 207 "gesture_detection/touch_disposition_gesture_filter.h",
209 "gesture_detection/velocity_tracker_state.cc", 208 "gesture_detection/velocity_tracker_state.cc",
210 "gesture_detection/velocity_tracker_state.h", 209 "gesture_detection/velocity_tracker_state.h",
211 "gesture_detection/velocity_tracker.cc", 210 "gesture_detection/velocity_tracker.cc",
212 "gesture_detection/velocity_tracker.h", 211 "gesture_detection/velocity_tracker.h",
213 ] 212 ]
214 213
215 deps = [ 214 deps = [
216 ":events_base", 215 ":events_base",
217 "//base", 216 "//base",
217 "//base/third_party/dynamic_annotations",
218 "//ui/gfx", 218 "//ui/gfx",
219 "//ui/gfx/geometry", 219 "//ui/gfx/geometry",
220 ] 220 ]
221 221
222 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 222 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
223 223
224 if (is_android) { 224 if (is_android) {
225 sources += [ "gesture_detection/gesture_config_helper_android.cc" ] 225 sources += [ "gesture_detection/gesture_configuration_android.cc" ]
226 } else if (use_aura) { 226 } else if (use_aura) {
227 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] 227 sources += [ "gesture_detection/gesture_configuration_aura.cc" ]
228 } else { 228 } else {
229 sources += [ "gesture_detection/gesture_config_helper.cc" ] 229 sources += [ "gesture_detection/gesture_configuration_default.cc" ]
230 } 230 }
231 } 231 }
232 232
233 source_set("test_support") { 233 source_set("test_support") {
234 sources = [ 234 sources = [
235 "test/cocoa_test_event_utils.h", 235 "test/cocoa_test_event_utils.h",
236 "test/cocoa_test_event_utils.mm", 236 "test/cocoa_test_event_utils.mm",
237 "test/event_generator.cc", 237 "test/event_generator.cc",
238 "test/event_generator.h", 238 "test/event_generator.h",
239 "test/events_test_utils.cc", 239 "test/events_test_utils.cc",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 "ozone/evdev/touch_event_converter_evdev_unittest.cc", 331 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
332 ] 332 ]
333 } 333 }
334 334
335 if (use_aura) { 335 if (use_aura) {
336 sources += [ 336 sources += [
337 "gestures/gesture_provider_aura_unittest.cc", 337 "gestures/gesture_provider_aura_unittest.cc",
338 ] 338 ]
339 } 339 }
340 } 340 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698