mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
Revert "android: Don't strip debug info out of the AAR"
This commit is contained in:
parent
d33ce0bea5
commit
4c0bb6d87f
@ -54,8 +54,6 @@ android {
|
|||||||
pickFirst 'lib/*/libsignal_jni.so'
|
pickFirst 'lib/*/libsignal_jni.so'
|
||||||
pickFirst 'lib/*/libsignal_jni_testing.so'
|
pickFirst 'lib/*/libsignal_jni_testing.so'
|
||||||
}
|
}
|
||||||
// Defer stripping to the Android app project.
|
|
||||||
doNotStrip '**/*.so'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
@ -9,9 +9,6 @@ fn main() {
|
|||||||
if env::var("CARGO_CFG_TARGET_ARCH").expect("set by Cargo") == "aarch64"
|
if env::var("CARGO_CFG_TARGET_ARCH").expect("set by Cargo") == "aarch64"
|
||||||
&& env::var("CARGO_CFG_TARGET_OS").expect("set by Cargo") == "android"
|
&& 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.
|
// HACK: Force libdl to be linked.
|
||||||
// Something about the Docker-based build results in it getting skipped;
|
// Something about the Docker-based build results in it getting skipped;
|
||||||
// if we figure out what, we can remove this.
|
// if we figure out what, we can remove this.
|
||||||
|
Loading…
Reference in New Issue
Block a user