mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
Update android build scripts.
This commit is contained in:
parent
2a0556720c
commit
9d7e465211
10 changed files with 148 additions and 102 deletions
13
scripts/android/config.sh
Normal file
13
scripts/android/config.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
export API=21
|
||||
export WORKDIR=/opt/android
|
||||
export ANDROID_NDK_ZIP=${WORKDIR}/android-ndk-r20b.zip
|
||||
export ANDROID_NDK_ROOT=${WORKDIR}/android-ndk-r20b
|
||||
export ANDROID_NDK_HOME=$ANDROID_NDK_ROOT
|
||||
export TOOLCHAIN_DIR="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64"
|
||||
|
||||
case :${PATH:=${TOOLCHAIN_DIR}/bin}: in
|
||||
(*:"${TOOLCHAIN_DIR}/bin":*) ;; (*)
|
||||
export PATH=${TOOLCHAIN_DIR}/bin:$PATH
|
||||
esac;
|
Loading…
Add table
Add a link
Reference in a new issue