1
0
Fork 0
 
 
 
 
 
 
Go to file
Grisha Kruglov f78b62751d Use abiFilter in product flavour definitions to filter for the supported architectures
This fixes a regression from https://github.com/mozilla-mobile/fenix/pull/294

That patch adds a dependency which loads some native libraries. Those native libs are
shipped for a variety of architectures. Specifically, there are versions of aarch64 and armv7.
What seems to happen is that since those libraries are loaded first (GV is lazily initialized
after history stuff), and since aarch64 versions of these libs is chosen by the native loader,
consequent native loads select for the same abi type. aarch64 version of libmozglue isn't there,
loader fails to find it and we crash.

Being explicit with the abiFilter in the product flavour definitions strips out aarch64 app-services
libs from the apk. When they're loaded first, armv7 versions are picked (since we don't have any other
ones), and everything works correctly afterwards.

Another way to achieve the same result would be to exclude arm64 libs via packagignOptions directive:
packagingOptions { exclude "lib/arm64-v8a/**" }

... but that's a less flexible approach in the longer term.
2019-01-29 16:37:48 -08:00
.github/ISSUE_TEMPLATE Adds issue templates 2019-01-08 13:54:26 -08:00
app Use abiFilter in product flavour definitions to filter for the supported architectures 2019-01-29 16:37:48 -08:00
automation Removes unused "--staging" option from schedule_nightly_graph 2019-01-24 09:25:24 -08:00
buildSrc Closes #266 - Integrate feature-downloads component 2019-01-29 14:42:07 -06:00
gradle/wrapper Initializes Android project 2018-12-07 15:25:38 -05:00
.gitignore For #150 - Adds wordmark, menu and private browsing buttons 2019-01-12 17:09:28 -06:00
.taskcluster.yml Uses new workers, renames some variables 2019-01-14 13:09:17 -08:00
LICENSE Fixes #163: Add LICENSE 2019-01-16 11:26:46 -06:00
build.gradle Adds missing licenses 2019-01-24 14:13:28 -08:00
gradle.properties Fix buildSrc dependencies and androidX usages 2019-01-07 16:20:22 -06:00
gradlew Initializes Android project 2018-12-07 15:25:38 -05:00
gradlew.bat Initializes Android project 2018-12-07 15:25:38 -05:00
settings.gradle Initializes Android project 2018-12-07 15:25:38 -05:00