Files
vendor_partner_gms/apps/FDroid/Android.bp
T
oxmc 68030a2d02 partner_gms: migrate Android.mk to Android.bp, fix vendorsetup.sh paths
Replace all Android.mk prebuilt rules with Android.bp android_app_import
modules. presigned: true in Soong guarantees APK signatures are untouched
(no signapk run, alignment-safe zipalign only), which is required so
microG/FDroid retain their own certs rather than being re-signed with the
platform key.

Fix vendorsetup.sh download paths to match the reorganised directory
structure: GmsCore and GsfProxy moved under apps/GMS/, FDroidPrivilegedExtension
moved under apps/FDroid/FDroidPrivilegedExtension/. The download_apk helper
now accepts an explicit destination path instead of deriving it from the
component name.

Also stage the directory renames and removal of the unused products/ stubs.
2026-06-15 02:26:02 -07:00

32 lines
654 B
Plaintext

prebuilt_etc {
name: "additional_repos.xml",
src: "additional_repos.xml",
sub_dir: "org.fdroid.fdroid",
product_specific: true,
}
prebuilt_etc {
name: "additional_repos.json",
src: "additional_repos.json",
sub_dir: "org.fdroid.fdroid",
product_specific: true,
}
android_app_import {
name: "FDroid",
apk: "FDroid.apk",
presigned: true,
dex_preopt: {
enabled: false,
},
product_specific: true,
optional_uses_libs: [
"androidx.window.extensions",
"androidx.window.sidecar",
],
required: [
"additional_repos.xml",
"additional_repos.json",
],
}