diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-10-24 16:02:09 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-12-05 00:52:43 +0100 |
commit | ca34b5e57a79d843bb5a57f13fb2f674e1d801e7 (patch) | |
tree | fa79e016fa767abfdf568c10205a7293bb858c13 /modules/gdnative | |
parent | 1167ab96e9be2a86b1315693b843820eef978685 (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.cpp | 10 |
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"; |