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

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",
11 "keycodes/dom4/keycode_converter_data.h", 11 "keycodes/dom4/keycode_converter_data.h",
12 ] 12 ]
13 13
14 deps = [ "//base" ] 14 deps = [ "//base" ]
15 } 15 }
16 16
17 component("events_base") { 17 component("events_base") {
18 sources = [ 18 sources = [
19 "device_data_manager.cc", 19 "device_data_manager.cc",
20 "device_data_manager.h", 20 "device_data_manager.h",
21 "device_hotplug_event_observer.h", 21 "device_hotplug_event_observer.h",
22 "event_constants.h", 22 "event_constants.h",
23 "event_switches.cc", 23 "event_switches.cc",
24 "event_switches.h", 24 "event_switches.h",
25 "events_base_export.h", 25 "events_base_export.h",
26 "gesture_event_details.cc", 26 "gesture_event_details.cc",
27 "gesture_event_details.h", 27 "gesture_event_details.h",
28 "gestures/fling_curve.cc", 28 "gestures/fling_curve.cc",
29 "gestures/fling_curve.h", 29 "gestures/fling_curve.h",
30 "gestures/gesture_configuration.cc",
31 "gestures/gesture_configuration.h",
32 "keycodes/keyboard_code_conversion.cc", 30 "keycodes/keyboard_code_conversion.cc",
33 "keycodes/keyboard_code_conversion.h", 31 "keycodes/keyboard_code_conversion.h",
34 "keycodes/keyboard_code_conversion_android.cc", 32 "keycodes/keyboard_code_conversion_android.cc",
35 "keycodes/keyboard_code_conversion_android.h", 33 "keycodes/keyboard_code_conversion_android.h",
36 "keycodes/keyboard_code_conversion_mac.h", 34 "keycodes/keyboard_code_conversion_mac.h",
37 "keycodes/keyboard_code_conversion_mac.mm", 35 "keycodes/keyboard_code_conversion_mac.mm",
38 "keycodes/keyboard_code_conversion_win.cc", 36 "keycodes/keyboard_code_conversion_win.cc",
39 "keycodes/keyboard_code_conversion_win.h", 37 "keycodes/keyboard_code_conversion_win.h",
40 "keycodes/keyboard_codes.h", 38 "keycodes/keyboard_codes.h",
41 "latency_info.cc", 39 "latency_info.cc",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 if (is_win || is_mac || use_x11 || use_ozone) { 162 if (is_win || is_mac || use_x11 || use_ozone) {
165 sources -= [ "events_stub.cc" ] 163 sources -= [ "events_stub.cc" ]
166 } 164 }
167 } 165 }
168 166
169 component("gesture_detection") { 167 component("gesture_detection") {
170 sources = [ 168 sources = [
171 "gesture_detection/bitset_32.h", 169 "gesture_detection/bitset_32.h",
172 "gesture_detection/filtered_gesture_provider.cc", 170 "gesture_detection/filtered_gesture_provider.cc",
173 "gesture_detection/filtered_gesture_provider.h", 171 "gesture_detection/filtered_gesture_provider.h",
174 "gesture_detection/gesture_config_helper.h", 172 "gesture_detection/gesture_configuration.cc",
173 "gesture_detection/gesture_configuration.h",
175 "gesture_detection/gesture_detection_export.h", 174 "gesture_detection/gesture_detection_export.h",
176 "gesture_detection/gesture_detector.cc", 175 "gesture_detection/gesture_detector.cc",
177 "gesture_detection/gesture_detector.h", 176 "gesture_detection/gesture_detector.h",
178 "gesture_detection/gesture_event_data.cc", 177 "gesture_detection/gesture_event_data.cc",
179 "gesture_detection/gesture_event_data.h", 178 "gesture_detection/gesture_event_data.h",
180 "gesture_detection/gesture_event_data_packet.cc", 179 "gesture_detection/gesture_event_data_packet.cc",
181 "gesture_detection/gesture_event_data_packet.h", 180 "gesture_detection/gesture_event_data_packet.h",
182 "gesture_detection/gesture_listeners.cc", 181 "gesture_detection/gesture_listeners.cc",
183 "gesture_detection/gesture_listeners.h", 182 "gesture_detection/gesture_listeners.h",
184 "gesture_detection/gesture_provider.cc", 183 "gesture_detection/gesture_provider.cc",
(...skipping 23 matching lines...) Expand all
208 deps = [ 207 deps = [
209 ":events_base", 208 ":events_base",
210 "//base", 209 "//base",
211 "//ui/gfx", 210 "//ui/gfx",
212 "//ui/gfx/geometry", 211 "//ui/gfx/geometry",
213 ] 212 ]
214 213
215 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 214 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
216 215
217 if (is_android) { 216 if (is_android) {
218 sources += [ "gesture_detection/gesture_config_helper_android.cc" ] 217 sources += [ "gesture_detection/gesture_configuration_android.cc" ]
219 } else if (use_aura) { 218 } else if (use_aura) {
220 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] 219 sources += [ "gesture_detection/gesture_configuration_aura.cc" ]
221 } else { 220 } else {
222 sources += [ "gesture_detection/gesture_config_helper.cc" ] 221 sources += [ "gesture_detection/gesture_configuration_default.cc" ]
223 } 222 }
224 } 223 }
225 224
226 source_set("test_support") { 225 source_set("test_support") {
227 sources = [ 226 sources = [
228 "test/cocoa_test_event_utils.h", 227 "test/cocoa_test_event_utils.h",
229 "test/cocoa_test_event_utils.mm", 228 "test/cocoa_test_event_utils.mm",
230 "test/event_generator.cc", 229 "test/event_generator.cc",
231 "test/event_generator.h", 230 "test/event_generator.h",
232 "test/events_test_utils.cc", 231 "test/events_test_utils.cc",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 "ozone/evdev/touch_event_converter_evdev_unittest.cc", 320 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
322 ] 321 ]
323 } 322 }
324 323
325 if (use_aura) { 324 if (use_aura) {
326 sources += [ 325 sources += [
327 "gestures/gesture_provider_aura_unittest.cc", 326 "gestures/gesture_provider_aura_unittest.cc",
328 ] 327 ]
329 } 328 }
330 } 329 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698