| 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 import("//ui/ozone/ozone.gni") | 7 import("//ui/ozone/ozone.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 "gestures/motion_event_aura.h", | 180 "gestures/motion_event_aura.h", |
| 181 ] | 181 ] |
| 182 } | 182 } |
| 183 | 183 |
| 184 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { | 184 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { |
| 185 sources -= [ "events_stub.cc" ] | 185 sources -= [ "events_stub.cc" ] |
| 186 } | 186 } |
| 187 | 187 |
| 188 if (is_android) { | 188 if (is_android) { |
| 189 sources += [ | 189 sources += [ |
| 190 "android/events_jni_registrar.cc", | |
| 191 "android/events_jni_registrar.h", | |
| 192 "android/key_event_utils.cc", | 190 "android/key_event_utils.cc", |
| 193 "android/key_event_utils.h", | 191 "android/key_event_utils.h", |
| 194 "android/motion_event_android.cc", | 192 "android/motion_event_android.cc", |
| 195 "android/motion_event_android.h", | 193 "android/motion_event_android.h", |
| 196 ] | 194 ] |
| 197 deps += [ | 195 deps += [ |
| 198 ":keyevent_jni_headers", | 196 ":keyevent_jni_headers", |
| 199 ":motionevent_jni_headers", | 197 ":motionevent_jni_headers", |
| 200 ] | 198 ] |
| 201 } | 199 } |
| (...skipping 268 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 |