summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-10-24 16:02:09 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-05 00:52:43 +0100
commitca34b5e57a79d843bb5a57f13fb2f674e1d801e7 (patch)
treefa79e016fa767abfdf568c10205a7293bb858c13 /modules/gdnative
parent1167ab96e9be2a86b1315693b843820eef978685 (diff)
[HTML5] GDNative support via SIDE_MODULE.
Working with emscripten >= 2.0.10
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/gdnative_library_editor_plugin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gdnative/gdnative_library_editor_plugin.cpp b/modules/gdnative/gdnative_library_editor_plugin.cpp
index f0f095ddf5..9a3b73077f 100644
--- a/modules/gdnative/gdnative_library_editor_plugin.cpp
+++ b/modules/gdnative/gdnative_library_editor_plugin.cpp
@@ -308,11 +308,11 @@ GDNativeLibraryEditor::GDNativeLibraryEditor() {
platform_android.library_extension = "*.so";
platforms["Android"] = platform_android;
- // TODO: Javascript platform is not supported yet
- // NativePlatformConfig platform_html5;
- // platform_html5.name = "HTML5";
- // platform_html5.library_extension = "*.wasm";
- // platforms["Javascript"] = platform_html5;
+ NativePlatformConfig platform_html5;
+ platform_html5.name = "HTML5";
+ platform_html5.entries.push_back("web");
+ platform_html5.library_extension = "*.wasm";
+ platforms["HTML5"] = platform_html5;
NativePlatformConfig platform_ios;
platform_ios.name = "iOS";