2021-01-16 16:25:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source "bin/init/env.sh"
|
2021-02-28 13:11:13 +00:00
|
|
|
|
2021-02-28 14:37:30 +00:00
|
|
|
./gradlew TMessagesProj:stripFullFossDebugSymbols || exit 1
|
2021-01-16 16:25:30 +00:00
|
|
|
|
2021-02-27 10:26:11 +00:00
|
|
|
OUT=TMessagesProj/build/intermediates/stripped_native_libs/fullFossRelease/out/lib
|
2021-01-16 16:25:30 +00:00
|
|
|
DIR=TMessagesProj/src/main/libs
|
|
|
|
rm -rf $DIR/armeabi-v7a
|
|
|
|
mkdir -p $DIR/armeabi-v7a
|
|
|
|
cp $OUT/armeabi-v7a/libtmessages*.so $DIR/armeabi-v7a
|
|
|
|
rm -rf $DIR/arm64-v8a
|
|
|
|
mkdir -p $DIR/arm64-v8a
|
|
|
|
cp $OUT/arm64-v8a/libtmessages*.so $DIR/arm64-v8a
|
|
|
|
rm -rf $DIR/x86
|
|
|
|
mkdir -p $DIR/x86
|
|
|
|
cp $OUT/x86/libtmessages*.so $DIR/x86
|
|
|
|
rm -rf $DIR/x86_64
|
|
|
|
mkdir -p $DIR/x86_64
|
|
|
|
cp $OUT/x86_64/libtmessages*.so $DIR/x86_64
|