godot/platform/web
Rémi Verschelde c2c659db32 SCons: Refactor LTO options with `lto=<none|thin|full>`
Adds support for LTO on macOS and Android. We don't have much experience
with LTO on these platforms so for now we keep it disabled by default
even when `production=yes` is set.

Similarly for iOS where we ship object files for the user to link in
Xcode so LTO makes builds extremely slow to link.

`production=yes` defaults to full LTO.
ThinLTO is much faster for LLVM-based compilers but seems to produce
bigger binaries (at least for the Web platform).
2022-09-08 10:00:02 +02:00
..
api Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
export Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more 2022-09-08 09:20:19 +02:00
js
.eslintrc.engine.js
.eslintrc.js
.eslintrc.libs.js
README.md
SCsub Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
audio_driver_web.cpp
audio_driver_web.h
detect.py SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
display_server_web.cpp
display_server_web.h
dom_keys.inc
emscripten_helpers.py [Web] Require threads, rtti, allow optimize=speed. 2022-08-30 20:01:19 +02:00
godot_audio.h
godot_js.h
godot_webgl2.h
http_client_web.cpp [Net] Rename "ssl" references to "tls" in methods and members. 2022-09-08 03:24:23 +02:00
http_client_web.h [Net] Rename "ssl" references to "tls" in methods and members. 2022-09-08 03:24:23 +02:00
javascript_bridge_singleton.cpp Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
logo.png
os_web.cpp Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
os_web.h
package-lock.json
package.json
platform_config.h
run_icon.png
serve.json
web_main.cpp
web_runtime.cpp

README.md

Web platform port

This folder contains the C++ and JavaScript code for the Web platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for additional files used by this platform such as the html shell (web page).

Documentation

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.