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

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: Created 6 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 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 "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
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 23 matching lines...) Expand all
211 deps = [ 210 deps = [
212 ":events_base", 211 ":events_base",
213 "//base", 212 "//base",
214 "//ui/gfx", 213 "//ui/gfx",
215 "//ui/gfx/geometry", 214 "//ui/gfx/geometry",
216 ] 215 ]
217 216
218 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 217 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
219 218
220 if (is_android) { 219 if (is_android) {
221 sources += [ "gesture_detection/gesture_config_helper_android.cc" ] 220 sources += [ "gesture_detection/gesture_configuration_android.cc" ]
222 } else if (use_aura) { 221 } else if (use_aura) {
223 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] 222 sources += [ "gesture_detection/gesture_configuration_aura.cc" ]
224 } else { 223 } else {
225 sources += [ "gesture_detection/gesture_config_helper.cc" ] 224 sources += [ "gesture_detection/gesture_configuration_default.cc" ]
226 } 225 }
227 } 226 }
228 227
229 source_set("test_support") { 228 source_set("test_support") {
230 sources = [ 229 sources = [
231 "test/cocoa_test_event_utils.h", 230 "test/cocoa_test_event_utils.h",
232 "test/cocoa_test_event_utils.mm", 231 "test/cocoa_test_event_utils.mm",
233 "test/event_generator.cc", 232 "test/event_generator.cc",
234 "test/event_generator.h", 233 "test/event_generator.h",
235 "test/events_test_utils.cc", 234 "test/events_test_utils.cc",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 "ozone/evdev/touch_event_converter_evdev_unittest.cc", 324 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
326 ] 325 ]
327 } 326 }
328 327
329 if (use_aura) { 328 if (use_aura) {
330 sources += [ 329 sources += [
331 "gestures/gesture_provider_aura_unittest.cc", 330 "gestures/gesture_provider_aura_unittest.cc",
332 ] 331 ]
333 } 332 }
334 } 333 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698