1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Merge pull request #215 from obfusk/patch-1

disable ELF build-id for github flavor
This commit is contained in:
Marcel Bokhorst 2024-08-19 07:34:20 +02:00 committed by GitHub
commit 5fbac07599
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,6 +205,15 @@ android {
dimension "all"
manifestPlaceholders.largeHeap = false
manifestPlaceholders.build_uuid = UUID.nameUUIDFromBytes(("github" + getVersionCode() + getRevision()).getBytes()).toString();
externalNativeBuild {
cmake {
arguments "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--build-id=none" // -z,max-page-size=16384
// https://gitlab.com/IzzyOnDroid/repo/-/wikis/Reproducible-Builds
// The build ID is a 160-bit SHA1 string computed over the elf header bits and section contents in the file.
// It is bundled in the elf file as an entry in the notes section.
// readelf -n ./app/build/intermediates/stripped_native_libs/xxxRelease/out/lib/armeabi-v7a/libfairemail.so
}
}
buildConfigField "boolean", "TEST_RELEASE", "false"
buildConfigField "boolean", "BETA_RELEASE", "true"
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"