0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 19:42:19 +02:00

Revert "android: Don't strip debug info out of the AAR"

This commit is contained in:
Alex Konradi 2024-07-19 11:25:58 -04:00 committed by GitHub
parent d33ce0bea5
commit 4c0bb6d87f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -54,8 +54,6 @@ android {
pickFirst 'lib/*/libsignal_jni.so'
pickFirst 'lib/*/libsignal_jni_testing.so'
}
// Defer stripping to the Android app project.
doNotStrip '**/*.so'
}
publishing {

View File

@ -9,9 +9,6 @@ fn main() {
if env::var("CARGO_CFG_TARGET_ARCH").expect("set by Cargo") == "aarch64"
&& env::var("CARGO_CFG_TARGET_OS").expect("set by Cargo") == "android"
{
// --build-id ensures that Android Studio's LLDB can map stripped binaries back to their debug info
println!("cargo:rustc-cdylib-link-arg=-Wl,--build-id");
// HACK: Force libdl to be linked.
// Something about the Docker-based build results in it getting skipped;
// if we figure out what, we can remove this.