mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
Java: don't eagerly strip libsignal_client.so; let gradle do it for us
This is a step towards saving the debug info somewhere for the builds we actually ship.
This commit is contained in:
parent
72ba4e6959
commit
eab0e57640
@ -15,7 +15,6 @@ cd "${SCRIPT_DIR}"/..
|
||||
ANDROID_LIB_DIR=java/android/src/main/jniLibs
|
||||
DESKTOP_LIB_DIR=java/java/src/main/resources
|
||||
|
||||
export RUSTFLAGS="-C link-args=-s"
|
||||
export CARGO_PROFILE_RELEASE_DEBUG=1 # enable line tables
|
||||
# On Linux, cdylibs don't include public symbols from their dependencies,
|
||||
# even if those symbols have been re-exported in the Rust source.
|
||||
|
@ -20,7 +20,8 @@ def warn(message):
|
||||
our_abs_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
lib_size = os.path.getsize(os.path.join(
|
||||
our_abs_dir, 'android', 'src', 'main', 'jniLibs', 'arm64-v8a', 'libsignal_jni.so'))
|
||||
our_abs_dir, 'android', 'build', 'intermediates', 'stripped_native_libs', 'release', 'out',
|
||||
'lib', 'arm64-v8a', 'libsignal_jni.so'))
|
||||
|
||||
with open(os.path.join(our_abs_dir, 'code_size.json')) as old_sizes_file:
|
||||
old_sizes = json.load(old_sizes_file)
|
||||
|
Loading…
Reference in New Issue
Block a user