mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Expose Emscripten libs to engine.js discreetly
This commit is contained in:
parent
d8d9eea722
commit
63c7fc6358
3 changed files with 6 additions and 10 deletions
|
|
@ -129,13 +129,6 @@ def configure(env):
|
|||
# This setting just makes WebGL 2 APIs available, it does NOT disable WebGL 1.
|
||||
env.Append(LINKFLAGS=['-s', 'USE_WEBGL2=1'])
|
||||
|
||||
# engine.js uses FS but is not currently evaluated by Emscripten, so export FS.
|
||||
# TODO: Getting rid of this export is desirable.
|
||||
extra_exports = [
|
||||
'FS',
|
||||
]
|
||||
env.Append(LINKFLAGS=['-s', 'EXTRA_EXPORTED_RUNTIME_METHODS="%s"' % repr(extra_exports)])
|
||||
|
||||
env.Append(LINKFLAGS=['-s', 'INVOKE_RUN=0'])
|
||||
|
||||
# TODO: Reevaluate usage of this setting now that engine.js manages engine runtime.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue