This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompile_android_templates.sh
75 lines (70 loc) · 1.81 KB
/
compile_android_templates.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/bin/bash
set -e
set -x
function compile() {
scons -j8 platform=android target=release android_arch=$1 \
--config=force \
progress=yes \
verbose=no \
deprecated=no \
minizip=no \
xaudio2=no \
disable_3d=yes \
disable_advanced_gui=yes \
debug_symbosl=no \
module_arkit_enabled=no \
module_assimp_enabled=no \
module_bmp_enabled=no \
module_bullet_enabled=no \
module_camera_enabled=no \
module_csg_enabled=no \
module_cvtt_enabled=no \
module_dds_enabled=no \
module_etc_enabled=no \
module_gdnative_enabled=no \
module_hdr_enabled=no \
module_jpg_enabled=no \
module_jsonrpc_enabled=no \
module_mbedtls_enabled=no \
module_mobile_vr_enabled=no \
module_mono_enabled=no \
module_opensimplex_enabled=no \
module_opus_enabled=no \
module_pvr_enabled=no \
module_recast_enabled=no \
module_regex_enabled=no \
module_squish_enabled=no \
module_svg_enabled=no \
module_tga_enabled=no \
module_theora_enabled=no \
module_tinyexr_enabled=no \
module_upnp_enabled=no \
module_vhacd_enabled=no \
module_visual_script_enabled=no \
module_webm_enabled=no \
module_webp_enabled=no \
module_webrtc_enabled=no \
module_websocket_enabled=no \
module_xatlas_unwrap_enabled=no \
builtin_bullet=yes \
builtin_libtheora=no \
builtin_libvpx=no \
builtin_libwebp=no \
builtin_mbedtls=no \
builtin_miniupnpc=no \
builtin_opus=no \
builtin_pcre2=no \
builtin_pcre2_with_jit=no \
builtin_recast=no \
builtin_squish=no \
builtin_xatlas=no \
builtin_zlib=no \
builtin_zstd=yes
}
cd godot-${GODOT_VERSION}-${GODOT_RELEASE} \
compile armv7
compile armeabi
compile x86
compile x86_64
cd platform/android/java \
./gradlew generateGodotTemplates