feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from misc.utility.scons_hints import *
|
||||
|
||||
from methods import print_error
|
||||
|
||||
|
|
@ -21,20 +22,26 @@ if "serve" in COMMAND_LINE_TARGETS or "run" in COMMAND_LINE_TARGETS:
|
|||
|
||||
web_files = [
|
||||
"audio_driver_web.cpp",
|
||||
"webmidi_driver.cpp",
|
||||
"display_server_web.cpp",
|
||||
"http_client_web.cpp",
|
||||
"javascript_bridge_singleton.cpp",
|
||||
"web_main.cpp",
|
||||
"ip_web.cpp",
|
||||
"net_socket_web.cpp",
|
||||
"os_web.cpp",
|
||||
"api/web_tools_editor_plugin.cpp",
|
||||
]
|
||||
|
||||
if env["target"] == "editor":
|
||||
env.add_source_files(web_files, "editor/*.cpp")
|
||||
|
||||
sys_env = env.Clone()
|
||||
sys_env.AddJSLibraries(
|
||||
[
|
||||
"js/libs/library_godot_audio.js",
|
||||
"js/libs/library_godot_display.js",
|
||||
"js/libs/library_godot_fetch.js",
|
||||
"js/libs/library_godot_webmidi.js",
|
||||
"js/libs/library_godot_os.js",
|
||||
"js/libs/library_godot_runtime.js",
|
||||
"js/libs/library_godot_input.js",
|
||||
|
|
@ -58,7 +65,7 @@ for ext in sys_env["JS_EXTERNS"]:
|
|||
sys_env["ENV"]["EMCC_CLOSURE_ARGS"] += " --externs " + ext.abspath
|
||||
|
||||
build = []
|
||||
build_targets = ["#bin/godot${PROGSUFFIX}.js", "#bin/godot${PROGSUFFIX}.wasm", "#bin/godot${PROGSUFFIX}.worker.js"]
|
||||
build_targets = ["#bin/godot${PROGSUFFIX}.js", "#bin/godot${PROGSUFFIX}.wasm"]
|
||||
if env["dlink_enabled"]:
|
||||
# Reset libraries. The main runtime will only link emscripten libraries, not godot ones.
|
||||
sys_env["LIBS"] = []
|
||||
|
|
@ -107,6 +114,5 @@ js_wrapped = env.Textfile("#bin/godot", [env.File(f) for f in wrap_list], TEXTFI
|
|||
|
||||
# 0 - unwrapped js file (use wrapped one instead)
|
||||
# 1 - wasm file
|
||||
# 2 - worker file
|
||||
# 3 - wasm side (when dlink is enabled).
|
||||
env.CreateTemplateZip(js_wrapped, build[1], build[2], build[3] if len(build) > 3 else None)
|
||||
# 2 - wasm side (when dlink is enabled).
|
||||
env.CreateTemplateZip(js_wrapped, build[1], build[2] if len(build) > 2 else None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue