mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-06 12:27:41 +00:00
19 lines
833 B
Bash
Executable file
19 lines
833 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mkdir build
|
|
. ./config.sh
|
|
TOOLCHAIN_DIR=${WORKDIR}/toolchain
|
|
ANDROID_NDK_SHA256="8381c440fe61fcbb01e209211ac01b519cd6adf51ab1c2281d5daad6ca4c8c8c"
|
|
|
|
if [ ! -e "$ANDROID_NDK_ZIP" ]; then
|
|
curl https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip -o ${ANDROID_NDK_ZIP}
|
|
fi
|
|
echo $ANDROID_NDK_SHA256 $ANDROID_NDK_ZIP | sha256sum -c || exit 1
|
|
|
|
mkdir ../../crypto_plugins/flutter_libmonero/scripts/android/build
|
|
mkdir ../../crypto_plugins/flutter_liblelantus/scripts/android/build
|
|
mkdir ../../crypto_plugins/flutter_libepiccash/scripts/android/build
|
|
|
|
cp ${ANDROID_NDK_ZIP} ../../crypto_plugins/flutter_libmonero/scripts/android/build/
|
|
cp ${ANDROID_NDK_ZIP} ../../crypto_plugins/flutter_liblelantus/scripts/android/build/
|
|
cp ${ANDROID_NDK_ZIP} ../../crypto_plugins/flutter_libepiccash/scripts/android/build/
|