diff options
author | fhuya <fhuya@google.com> | 2019-09-22 22:23:59 -0700 |
---|---|---|
committer | fhuya <fhuya@google.com> | 2019-09-24 06:18:21 -0700 |
commit | ef143447adc31eae038940efc8bc8dffbec5a18b (patch) | |
tree | 32808077c2508c80e3daf3c15f4de3fe1828dfda /modules/csg | |
parent | 2e065d8ad07bb20fede0d0c0b2d33d6628033024 (diff) |
Updates the Godot gradle tasks to enable manual runs of the `scons` command.
Example: To generate for the `release` build target and for the `armv7`, `arm64v8` and `x86` architectures, run the commands:
```
cd godot
scons -j4 platform=android target=release android_arch=armv7
scons -j4 platform=android target=release android_arch=arm64v8
scons -j4 platform=android target=release android_arch=x86
cd platform/android/java
./gradlew generateGodotTemplates
```
Notes:
- The generated build templates will be located in the `godot/bin` directory (i.e: `android_debug.apk`, `android_release.apk`, `android_source.zip`).
- The gradle command will only generate templates for the target(s) with available native shared libraries. For example, running the commands above will only generate the `android_release.apk` and `android_source.zip` files.
To delete the generated artifacts, the following commands can be used:
```
cd platform/android/java
./gradlew cleanGodotTemplates
```
Diffstat (limited to 'modules/csg')
0 files changed, 0 insertions, 0 deletions