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

Side by Side Diff: ui/events/BUILD.gn

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, more fixes Created 4 years, 4 months 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
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 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
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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 generate_jar_jni("motionevent_jni_headers") { 466 generate_jar_jni("motionevent_jni_headers") {
469 jni_package = "ui" 467 jni_package = "ui"
470 classes = [ "android/view/MotionEvent.class" ] 468 classes = [ "android/view/MotionEvent.class" ]
471 } 469 }
472 470
473 generate_jar_jni("keyevent_jni_headers") { 471 generate_jar_jni("keyevent_jni_headers") {
474 jni_package = "ui" 472 jni_package = "ui"
475 classes = [ "android/view/KeyEvent.class" ] 473 classes = [ "android/view/KeyEvent.class" ]
476 } 474 }
477 } 475 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698