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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 static_library("dom_keycode_converter") { | 8 static_library("dom_keycode_converter") { |
9 sources = [ | 9 sources = [ |
10 "keycodes/dom/dom_code.h", | 10 "keycodes/dom/dom_code.h", |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 if (use_aura) { | 160 if (use_aura) { |
161 sources += [ | 161 sources += [ |
162 "gestures/gesture_provider_aura.cc", | 162 "gestures/gesture_provider_aura.cc", |
163 "gestures/gesture_provider_aura.h", | 163 "gestures/gesture_provider_aura.h", |
164 "gestures/gesture_recognizer.h", | 164 "gestures/gesture_recognizer.h", |
165 "gestures/gesture_recognizer_impl.cc", | 165 "gestures/gesture_recognizer_impl.cc", |
166 "gestures/gesture_recognizer_impl.h", | 166 "gestures/gesture_recognizer_impl.h", |
167 "gestures/motion_event_aura.cc", | 167 "gestures/motion_event_aura.cc", |
168 "gestures/motion_event_aura.h", | 168 "gestures/motion_event_aura.h", |
169 ] | 169 ] |
| 170 if (is_android) { |
| 171 sources += [ "ozone/events_ozone.cc" ] |
| 172 } |
170 } | 173 } |
171 | 174 |
172 if (is_win || is_mac || use_x11 || use_ozone) { | 175 if (is_win || is_mac || use_x11 || use_ozone || is_android) { |
173 sources -= [ "events_stub.cc" ] | 176 sources -= [ "events_stub.cc" ] |
174 } | 177 } |
175 } | 178 } |
176 | 179 |
177 component("gesture_detection") { | 180 component("gesture_detection") { |
178 sources = [ | 181 sources = [ |
179 "gesture_detection/bitset_32.h", | 182 "gesture_detection/bitset_32.h", |
180 "gesture_detection/filtered_gesture_provider.cc", | 183 "gesture_detection/filtered_gesture_provider.cc", |
181 "gesture_detection/filtered_gesture_provider.h", | 184 "gesture_detection/filtered_gesture_provider.h", |
182 "gesture_detection/gesture_configuration.cc", | 185 "gesture_detection/gesture_configuration.cc", |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 "//ui/events/ozone:events_ozone", | 388 "//ui/events/ozone:events_ozone", |
386 "//ui/events/ozone:events_ozone_evdev", | 389 "//ui/events/ozone:events_ozone_evdev", |
387 "//ui/events/ozone:events_ozone_layout", | 390 "//ui/events/ozone:events_ozone_layout", |
388 ] | 391 ] |
389 } | 392 } |
390 | 393 |
391 if (use_aura) { | 394 if (use_aura) { |
392 sources += [ "gestures/gesture_provider_aura_unittest.cc" ] | 395 sources += [ "gestures/gesture_provider_aura_unittest.cc" ] |
393 } | 396 } |
394 } | 397 } |
OLD | NEW |