| 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) {
|
|
|