68030a2d02
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.
33 lines
813 B
Plaintext
33 lines
813 B
Plaintext
prebuilt_etc {
|
|
name: "privapp-permissions-com.android.vending.xml",
|
|
src: "privapp-permissions-com.android.vending.xml",
|
|
sub_dir: "permissions",
|
|
product_specific: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "default-permissions-com.android.vending.xml",
|
|
src: "default-permissions-com.android.vending.xml",
|
|
sub_dir: "default-permissions",
|
|
product_specific: true,
|
|
}
|
|
|
|
android_app_import {
|
|
name: "FakeStore",
|
|
apk: "FakeStore.apk",
|
|
presigned: true,
|
|
privileged: true,
|
|
dex_preopt: {
|
|
enabled: false,
|
|
},
|
|
product_specific: true,
|
|
optional_uses_libs: [
|
|
"androidx.window.extensions",
|
|
"androidx.window.sidecar",
|
|
],
|
|
required: [
|
|
"privapp-permissions-com.android.vending.xml",
|
|
"default-permissions-com.android.vending.xml",
|
|
],
|
|
}
|