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

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: Copyright 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
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
192 "gesture_detection/gesture_provider.h", 191 "gesture_detection/gesture_provider.h",
192 "gesture_detection/gesture_provider_config_helper.cc",
193 "gesture_detection/gesture_provider_config_helper.h",
193 "gesture_detection/gesture_touch_uma_histogram.cc", 194 "gesture_detection/gesture_touch_uma_histogram.cc",
194 "gesture_detection/gesture_touch_uma_histogram.h", 195 "gesture_detection/gesture_touch_uma_histogram.h",
195 "gesture_detection/motion_event.cc", 196 "gesture_detection/motion_event.cc",
196 "gesture_detection/motion_event.h", 197 "gesture_detection/motion_event.h",
197 "gesture_detection/motion_event_buffer.cc", 198 "gesture_detection/motion_event_buffer.cc",
198 "gesture_detection/motion_event_buffer.h", 199 "gesture_detection/motion_event_buffer.h",
199 "gesture_detection/motion_event_generic.cc", 200 "gesture_detection/motion_event_generic.cc",
200 "gesture_detection/motion_event_generic.h", 201 "gesture_detection/motion_event_generic.h",
201 "gesture_detection/scale_gesture_detector.cc", 202 "gesture_detection/scale_gesture_detector.cc",
202 "gesture_detection/scale_gesture_detector.h", 203 "gesture_detection/scale_gesture_detector.h",
203 "gesture_detection/scale_gesture_listeners.cc", 204 "gesture_detection/scale_gesture_listeners.cc",
204 "gesture_detection/scale_gesture_listeners.h", 205 "gesture_detection/scale_gesture_listeners.h",
205 "gesture_detection/snap_scroll_controller.cc", 206 "gesture_detection/snap_scroll_controller.cc",
206 "gesture_detection/snap_scroll_controller.h", 207 "gesture_detection/snap_scroll_controller.h",
207 "gesture_detection/touch_disposition_gesture_filter.cc", 208 "gesture_detection/touch_disposition_gesture_filter.cc",
208 "gesture_detection/touch_disposition_gesture_filter.h", 209 "gesture_detection/touch_disposition_gesture_filter.h",
209 "gesture_detection/velocity_tracker_state.cc", 210 "gesture_detection/velocity_tracker_state.cc",
210 "gesture_detection/velocity_tracker_state.h", 211 "gesture_detection/velocity_tracker_state.h",
211 "gesture_detection/velocity_tracker.cc", 212 "gesture_detection/velocity_tracker.cc",
212 "gesture_detection/velocity_tracker.h", 213 "gesture_detection/velocity_tracker.h",
213 ] 214 ]
214 215
215 deps = [ 216 deps = [
216 ":events_base", 217 ":events_base",
217 "//base", 218 "//base",
219 "//base/third_party/dynamic_annotations",
218 "//ui/gfx", 220 "//ui/gfx",
219 "//ui/gfx/geometry", 221 "//ui/gfx/geometry",
220 ] 222 ]
221 223
222 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 224 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
223 225
224 if (is_android) { 226 if (is_android) {
225 sources += [ "gesture_detection/gesture_config_helper_android.cc" ] 227 sources += [ "gesture_detection/gesture_configuration_android.cc" ]
226 } else if (use_aura) { 228 } else if (use_aura) {
227 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] 229 sources += [ "gesture_detection/gesture_configuration_aura.cc" ]
228 } else { 230 } else {
229 sources += [ "gesture_detection/gesture_config_helper.cc" ] 231 sources += [ "gesture_detection/gesture_configuration_default.cc" ]
230 } 232 }
231 } 233 }
232 234
233 source_set("test_support") { 235 source_set("test_support") {
234 sources = [ 236 sources = [
235 "test/cocoa_test_event_utils.h", 237 "test/cocoa_test_event_utils.h",
236 "test/cocoa_test_event_utils.mm", 238 "test/cocoa_test_event_utils.mm",
237 "test/event_generator.cc", 239 "test/event_generator.cc",
238 "test/event_generator.h", 240 "test/event_generator.h",
239 "test/events_test_utils.cc", 241 "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", 333 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
332 ] 334 ]
333 } 335 }
334 336
335 if (use_aura) { 337 if (use_aura) {
336 sources += [ 338 sources += [
337 "gestures/gesture_provider_aura_unittest.cc", 339 "gestures/gesture_provider_aura_unittest.cc",
338 ] 340 ]
339 } 341 }
340 } 342 }
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698