| 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/ozone/ozone.gni") | 8 import("//ui/ozone/ozone.gni") |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "gestures/motion_event_aura.h", | 182 "gestures/motion_event_aura.h", |
| 183 ] | 183 ] |
| 184 } | 184 } |
| 185 | 185 |
| 186 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { | 186 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { |
| 187 sources -= [ "events_stub.cc" ] | 187 sources -= [ "events_stub.cc" ] |
| 188 } | 188 } |
| 189 | 189 |
| 190 if (is_android) { | 190 if (is_android) { |
| 191 sources += [ | 191 sources += [ |
| 192 "android/events_jni_registrar.cc", | |
| 193 "android/events_jni_registrar.h", | |
| 194 "android/key_event_utils.cc", | 192 "android/key_event_utils.cc", |
| 195 "android/key_event_utils.h", | 193 "android/key_event_utils.h", |
| 196 "android/motion_event_android.cc", | 194 "android/motion_event_android.cc", |
| 197 "android/motion_event_android.h", | 195 "android/motion_event_android.h", |
| 198 ] | 196 ] |
| 199 deps += [ | 197 deps += [ |
| 200 ":keyevent_jni_headers", | 198 ":keyevent_jni_headers", |
| 201 ":motionevent_jni_headers", | 199 ":motionevent_jni_headers", |
| 202 ] | 200 ] |
| 203 } | 201 } |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 generate_jar_jni("motionevent_jni_headers") { | 468 generate_jar_jni("motionevent_jni_headers") { |
| 471 jni_package = "ui" | 469 jni_package = "ui" |
| 472 classes = [ "android/view/MotionEvent.class" ] | 470 classes = [ "android/view/MotionEvent.class" ] |
| 473 } | 471 } |
| 474 | 472 |
| 475 generate_jar_jni("keyevent_jni_headers") { | 473 generate_jar_jni("keyevent_jni_headers") { |
| 476 jni_package = "ui" | 474 jni_package = "ui" |
| 477 classes = [ "android/view/KeyEvent.class" ] | 475 classes = [ "android/view/KeyEvent.class" ] |
| 478 } | 476 } |
| 479 } | 477 } |
| OLD | NEW |