From 123198cf63c4b77fbeb768ccbc5f1113b1836ab9 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Tue, 10 Aug 2021 07:49:09 +0000 Subject: [PATCH] Bug 1670261 - GeckoView: Ignore the JNA module. r=agi,firefox-build-system-reviewers,nalexander Otherwise we end up with `libjnidispatch.so` for all targets in the final APK, which we don't want. Depends on D121100 Differential Revision: https://phabricator.services.mozilla.com/D122104 --- mobile/android/geckoview/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/android/geckoview/build.gradle b/mobile/android/geckoview/build.gradle index 2eea244d9613..c46811952637 100644 --- a/mobile/android/geckoview/build.gradle +++ b/mobile/android/geckoview/build.gradle @@ -231,6 +231,7 @@ configurations { // No need to include libglean_ffi.so here or for GeckoView consumers. // If those consumers use Glean, they'll get the FFI through GeckoView anyway. all*.exclude group: 'org.mozilla.telemetry', module: 'glean-native' + all*.exclude group: 'net.java.dev.jna', module: 'jna' } dependencies {