broken_seals/build_android_templates.sh

23 lines
715 B
Bash
Raw Normal View History

2019-11-20 13:38:23 +01:00
#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
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_debug android_arch=armv7 entities_2d=no
scons -j6 platform=android target=release_debug android_arch=arm64v8 entities_2d=no
scons -j6 platform=android target=release_debug android_arch=x86 entities_2d=no
cd ./platform/android/java
./gradlew generateGodotTemplates
cd ..
cd ..
cd ..
cd ..