summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRafael Rondao <rafael.rondao@gmail.com>2020-11-07 21:37:28 -0300
committerRafael Rondao <rafael.rondao@gmail.com>2020-11-07 23:01:34 -0300
commit7a62fe467bebaef312cb515cbbec9e67828fe557 (patch)
tree26761293e63bf7dbf2ef8aa6154790e1656eecdd /misc
parent74f2c78db5cdffa5b2b6ba9cd041061d7694400c (diff)
downloadfork-godot-webrtc-native-7a62fe467bebaef312cb515cbbec9e67828fe557.tar.gz
fork-godot-webrtc-native-7a62fe467bebaef312cb515cbbec9e67828fe557.tar.bz2
fork-godot-webrtc-native-7a62fe467bebaef312cb515cbbec9e67828fe557.zip
Add build support for Android
To build for Android, use platform=android. ANDROID_NDK_ROOT env variable needs to be defined. By default, it builds for armv7 with Api 18. To build for arm64v8 (or x86, x86_64), use android_arch=arm64v8. 64 bits requires at least Api level 21. If needed, you can change it with android_api_level=XX. Signed-off-by: Rafael Rondao <rafael.rondao@gmail.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/gdnlib.tres4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/gdnlib.tres b/misc/gdnlib.tres
index a486a54..52a0008 100644
--- a/misc/gdnlib.tres
+++ b/misc/gdnlib.tres
@@ -9,9 +9,13 @@ entry/X11.64 = "res://{GDNATIVE_PATH}/lib/libwebrtc_native.linux.{TARGET}.64.so"
entry/X11.32 = "res://{GDNATIVE_PATH}/lib/libwebrtc_native.linux.{TARGET}.32.so"
entry/Server.64 = "res://{GDNATIVE_PATH}/lib/libwebrtc_native.linux.{TARGET}.64.so"
entry/Server.32 = "res://{GDNATIVE_PATH}/lib/libwebrtc_native.linux.{TARGET}.32.so"
+entry/Android.armeabi-v7a = "res://{GDNATIVE_PATH}/lib/libwebrtc_native.android.{TARGET}.armv7.so"
+entry/Android.arm64-v8a = "res://{GDNATIVE_PATH}/lib/libwebrtc_native.android.{TARGET}.arm64v8.so"
dependency/Windows.64 = [ ]
dependency/Windows.32 = [ ]
dependency/X11.64 = [ ]
dependency/X11.32 = [ ]
dependency/Server.64 = [ ]
dependency/Server.32 = [ ]
+dependency/Android.armeabi-v7a = [ ]
+dependency/Android.arm64-v8a = [ ]