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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//ui/base/ui_features.gni") | 8 import("//ui/base/ui_features.gni") |
9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
10 | 10 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 "gestures/motion_event_aura.h", | 193 "gestures/motion_event_aura.h", |
194 ] | 194 ] |
195 } | 195 } |
196 | 196 |
197 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { | 197 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { |
198 sources -= [ "events_stub.cc" ] | 198 sources -= [ "events_stub.cc" ] |
199 } | 199 } |
200 | 200 |
201 if (is_android) { | 201 if (is_android) { |
202 sources += [ | 202 sources += [ |
| 203 "android/drag_event_android.cc", |
| 204 "android/drag_event_android.h", |
203 "android/key_event_utils.cc", | 205 "android/key_event_utils.cc", |
204 "android/key_event_utils.h", | 206 "android/key_event_utils.h", |
205 "android/motion_event_android.cc", | 207 "android/motion_event_android.cc", |
206 "android/motion_event_android.h", | 208 "android/motion_event_android.h", |
207 ] | 209 ] |
208 deps += [ | 210 deps += [ |
209 ":keyevent_jni_headers", | 211 ":keyevent_jni_headers", |
210 ":motionevent_jni_headers", | 212 ":motionevent_jni_headers", |
211 ] | 213 ] |
212 } | 214 } |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 generate_jar_jni("motionevent_jni_headers") { | 501 generate_jar_jni("motionevent_jni_headers") { |
500 jni_package = "ui" | 502 jni_package = "ui" |
501 classes = [ "android/view/MotionEvent.class" ] | 503 classes = [ "android/view/MotionEvent.class" ] |
502 } | 504 } |
503 | 505 |
504 generate_jar_jni("keyevent_jni_headers") { | 506 generate_jar_jni("keyevent_jni_headers") { |
505 jni_package = "ui" | 507 jni_package = "ui" |
506 classes = [ "android/view/KeyEvent.class" ] | 508 classes = [ "android/view/KeyEvent.class" ] |
507 } | 509 } |
508 } | 510 } |
OLD | NEW |