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

Unified Diff: services/native_viewport/BUILD.gn

Issue 1029753002: Plumbs through android supplying multipe touch points (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 5 years, 9 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: services/native_viewport/BUILD.gn
diff --git a/services/native_viewport/BUILD.gn b/services/native_viewport/BUILD.gn
index 647a88e002adb06d98fd5a5b75915a9236abc505..5caf763593d6096c9964c5c06d2553451d60f16c 100644
--- a/services/native_viewport/BUILD.gn
+++ b/services/native_viewport/BUILD.gn
@@ -13,7 +13,6 @@ if (is_android) {
deps = [
":lib",
":native_viewport_java",
- ":jni_headers",
]
}
@@ -26,6 +25,12 @@ if (is_android) {
]
}
+ generate_jar_jni("motionevent_jni_headers") {
+ classes = [ "android/view/MotionEvent.class" ]
+
+ jni_package = "mojo"
+ }
+
generate_jni("jni_headers") {
sources = [
"android/src/org/chromium/mojo/PlatformViewportAndroid.java",
@@ -93,7 +98,10 @@ source_set("lib") {
]
if (is_android) {
- deps += [ ":jni_headers" ]
+ deps += [
+ ":jni_headers",
+ ":motionevent_jni_headers",
+ ]
}
if (use_x11) {

Powered by Google App Engine
This is Rietveld 408576698