diff options
author | Leon Krause <lk@leonkrause.com> | 2018-03-27 09:06:19 +0200 |
---|---|---|
committer | Leon Krause <lk@leonkrause.com> | 2018-03-27 09:12:08 +0200 |
commit | 63c7fc6358343c3de6cfaa40436063646eb8b7a1 (patch) | |
tree | 2712129fdd6faf5c0ba4622cf51bfa056bcd080d /platform/javascript/detect.py | |
parent | d8d9eea72252e5b667537261ea40fec18cf1f809 (diff) | |
download | redot-engine-63c7fc6358343c3de6cfaa40436063646eb8b7a1.tar.gz |
Expose Emscripten libs to engine.js discreetly
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r-- | platform/javascript/detect.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 851f4ecb49..daa97bf2e2 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -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. |