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

Unified Diff: ui/events/events.gyp

Issue 1430623004: blimp: Add support for input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index 30cdaec3bd3caf0c61ca3c7627336123e935ea37..334d7864457d45f6dbbffba935690162120ababd 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -192,6 +192,17 @@
'ozone/events_ozone.gyp:events_ozone_layout',
],
}],
+ ['OS=="android"', {
+ 'sources': [
+ 'android/motion_event_android.cc',
+ 'android/motion_event_android.h',
+ 'android/events_jni_registrar.cc',
+ 'android/events_jni_registrar.h',
+ ],
+ 'dependencies': [
+ 'motionevent_jni_headers',
+ ],
+ }],
],
},
{
@@ -474,6 +485,9 @@
],
}],
['OS == "android"', {
+ 'sources': [
+ 'android/motion_event_android_unittest.cc',
+ ],
'dependencies': [
'../../testing/android/native_test.gyp:native_test_native_code',
],
@@ -485,6 +499,15 @@
['OS == "android"', {
'targets': [
{
+ 'target_name': 'motionevent_jni_headers',
+ 'type': 'none',
+ 'variables': {
+ 'jni_gen_package': 'ui',
+ 'input_java_class': 'android/view/MotionEvent.class',
+ },
+ 'includes': [ '../../build/jar_file_jni_generator.gypi' ],
+ },
+ {
'target_name': 'events_unittests_apk',
'type': 'none',
'dependencies': [

Powered by Google App Engine
This is Rietveld 408576698