mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +00:00
1. Updated block header, proofs now contain more data Notice, that old proofs may become invalid in the future 2. Fixed message routing 3. Fixed block creator id in block header 4. Support for full proofs in tonlib 5. Support for partial state download 6. Some other bugfixes
44 lines
888 B
Bash
Executable file
44 lines
888 B
Bash
Executable file
#!/bin/bash
|
|
pushd .
|
|
# ANDROID_TOOLCHAIN
|
|
# ANDROID_ABI
|
|
# ANDROID_PLATFORM
|
|
# ANDROID_STL
|
|
# ANDROID_PIE
|
|
# ANDROID_CPP_FEATURES
|
|
# ANDROID_ALLOW_UNDEFINED_SYMBOLS
|
|
# ANDROID_ARM_MODE
|
|
# ANDROID_ARM_NEON
|
|
# ANDROID_DISABLE_FORMAT_STRING_CHECKS
|
|
# ANDROID_CCACHE
|
|
|
|
if [ $ARCH == "arm" ]
|
|
then
|
|
ABI="armeabi-v7a"
|
|
elif [ $ARCH == "x86" ]
|
|
then
|
|
ABI=$ARCH
|
|
elif [ $ARCH == "x86_64" ]
|
|
then
|
|
ABI=$ARCH
|
|
elif [ $ARCH == "arm64" ]
|
|
then
|
|
ABI="arm64-v8a"
|
|
fi
|
|
|
|
ARCH=$ABI
|
|
echo $ABI
|
|
|
|
mkdir -p build-$ARCH
|
|
cd build-$ARCH
|
|
|
|
|
|
cmake .. \
|
|
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DANDROID_ABI=${ABI} -DOPENSSL_ROOT_DIR=/Users/arseny30/Code/td_android/libtd/src/main/jni/third_party/crypto/${ARCH} -DTON_ARCH="" -DTON_USE_ABSEIL=OFF || exit 1
|
|
ninja native-lib || exit 1
|
|
popd
|
|
|
|
mkdir -p libs/$ARCH/
|
|
cp build-$ARCH/libnative-lib.so* libs/$ARCH/
|
|
|
|
|