broken_seals_roguelike/build_android_templates_release.sh

21 lines
504 B
Bash
Raw Normal View History

2019-12-20 12:38:16 +01:00
#!/bin/bash
export ANDROID_NDK_ROOT=~/SDKs/Android/NDK/android-ndk-r20b
export ANDROID_NDK_HOME=~/SDKs/Android/NDK/android-ndk-r20b
export ANDROID_HOME=~/SDKs/Android/SDK
cd ./engine
scons -j6 platform=android target=release android_arch=armv7 entities_2d=yes
scons -j6 platform=android target=release android_arch=arm64v8 entities_2d=yes
scons -j6 platform=android target=release android_arch=x86 entities_2d=yes
cd ./platform/android/java
./gradlew generateGodotTemplates
cd ..
cd ..
cd ..
cd ..