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

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

Issue 2202033002: ui: Remove unneeded RegisterNatives() call on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: rebase, unused headers 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
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/events/android/events_jni_registrar.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
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 }
OLDNEW
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/events/android/events_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698