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

Unified Diff: ui/events/events.gyp

Issue 1417173008: Move MotionEventAndroid to ui/events/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Copyright date fix. Created 5 years, 1 month 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
« no previous file with comments | « ui/events/android/motion_event_android_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index c9e3edc3a3d20c9ffc8fd6ca36c7ddf4affd4eda..8a15401e556020bfe99b895095cc0f9434890b19 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -197,6 +197,17 @@
'ozone/events_ozone.gyp:events_ozone_layout',
],
}],
+ ['OS=="android"', {
+ 'sources': [
+ 'android/events_jni_registrar.cc',
+ 'android/events_jni_registrar.h',
+ 'android/motion_event_android.cc',
+ 'android/motion_event_android.h',
+ ],
+ 'dependencies': [
+ 'motionevent_jni_headers',
+ ],
+ }],
],
},
{
@@ -479,6 +490,9 @@
],
}],
['OS == "android"', {
+ 'sources': [
+ 'android/motion_event_android_unittest.cc',
+ ],
'dependencies': [
'../../testing/android/native_test.gyp:native_test_native_code',
],
@@ -490,6 +504,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': [
« no previous file with comments | « ui/events/android/motion_event_android_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698