broken_seals/build_android_templates_release.sh

21 lines
459 B
Bash
Executable File

#!/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
scons -j6 platform=android target=release android_arch=arm64v8
scons -j6 platform=android target=release android_arch=x86
cd ./platform/android/java
./gradlew generateGodotTemplates
cd ..
cd ..
cd ..
cd ..