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

Skip to content

3046: [AdvancedPrivacy] remove native libraries duplicates

Guillaume Jacquart requested to merge 3046-remove_AP_libs_duplicates into main

Native libs used by AdvancedPrivacy (tor, maplibre, ...) were copied in a specific directory during the /e/OS image construction ( https://gitlab.e.foundation/e/os/android_prebuilts_prebuiltapks_lfs/-/blob/main/AdvancedPrivacy/Android.mk?ref_type=heads ), as this method finally make AdvancedPrivacy work when embed in priva-app dir of IMG build, since /e/OS V1.0 .

But we still embed them in the APK, for 4 differents target platform, which weight around 156MB useless (uncompressed). It appeared also during work on #2990 that the expected location for native libs of priv-app is /system/lib (or /system/lib64 ) directory, allowing them to be shared between rom-embeded apps (for example the MapLibre Library, by MicroG, Advanced-Privacy, ...)

Issues

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

Edited by Guillaume Jacquart

Merge request reports

Loading