mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-28 14:29:22 +00:00
21 lines
837 B
Bash
Executable file
21 lines
837 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mkdir -p build
|
|
. ./config.sh
|
|
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
|
|
|
|
|
|
PLUGINS_DIR=../../crypto_plugins
|
|
|
|
mkdir -p "${PLUGINS_DIR}"/flutter_libmonero/scripts/android/build
|
|
mkdir -p "${PLUGINS_DIR}"/flutter_liblelantus/scripts/android/build
|
|
mkdir -p "${PLUGINS_DIR}"/flutter_libepiccash/scripts/android/build
|
|
|
|
cp "${ANDROID_NDK_ZIP}" "${PLUGINS_DIR}"/flutter_libmonero/scripts/android/build/
|
|
cp "${ANDROID_NDK_ZIP}" "${PLUGINS_DIR}"/flutter_liblelantus/scripts/android/build/
|
|
cp "${ANDROID_NDK_ZIP}" "${PLUGINS_DIR}"/flutter_libepiccash/scripts/android/build/
|