Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

chore:3212: Splits apk per abi, instead for separate libs.

Guillaume Jacquart requested to merge 3046-apk_per_abi into main

Description

Splits apk per abi, instead of separate libs / apk without libs.

Current solution, is an APK without native libs included, and android.bp script manually copy required libs to /system/lib directory. @althafvly suggestion: android_prebuilts_prebuiltapks_lfs!107 (comment 653627) is to instead move the library inside the APK, and having one apk per abi (keep the space gain). Some calls to System.loadLibrary("lib_name") fix the library unavailable issue.

This taks will simplify our scripts to realease AdvancedPrivacy (which helps having them working properly), and avoid any versio ncollision on these library in the system/lib directory.

Technical details

Tests

Maps and IpScrambling (to validate with https://check.torproject.org webpage)

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/3212

10 commandments of code reviews

👪 ❤️ https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Guillaume Jacquart

Merge request reports

Loading