virtualx-engine/platform/javascript
Fabio Alessandrelli 0c19674621 Better detect Emscripten toolchain.
Emscripten is apparently changing the variables in its config file,
causing potential breakage of our build system.

Binaries of the latest/latest-upstream releases are located in a
subfolder of BINARYEN_ROOT called emscripten.
Binaries of the other releases (e.g. sdk-1.38.31-64bit) are instead
placed under the EMSCRIPTEN_ROOT folder.

This PR checks if BINARYEN_ROOT has a subfolder called emscripten, if
that does not exists, it falls back to checking the EMSCRIPTEN_ROOT.

This way we give precedence to the new releases, given that activating
multiple releases sequentially might result in having mismatching
BINARYEN_ROOT and EMSCRIPTEN_ROOT.
2019-07-09 19:17:27 +02:00
..
api Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
export Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
audio_driver_javascript.cpp Fix compilation warnings in JS and Windows builds 2019-06-15 14:40:45 +02:00
audio_driver_javascript.h Deal with Google's HTML5 autoplay policy 2019-01-20 14:25:15 +01:00
detect.py Better detect Emscripten toolchain. 2019-07-09 19:17:27 +02:00
dom_keys.inc Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
engine.js Fix file preloading warning in HTML5 platform 2019-02-23 20:06:22 +01:00
http_client.h.inc Add script to fix style issues and copyright headers 2019-06-17 13:35:47 +02:00
http_client_javascript.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
http_request.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
http_request.js Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
id_handler.js Move IDHandler JS module to platform from Websock 2019-04-12 12:41:49 +02:00
javascript_eval.cpp Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
javascript_main.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_javascript.cpp Merge pull request #10643 from BastiaanOlij/camera_server 2019-06-16 10:22:26 +02:00
os_javascript.h Adding a new Camera Server implementation to Godot. 2019-06-15 21:30:32 +10:00
platform_config.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pre.js Add comments to javascript wrapper parts. 2018-10-15 08:56:44 -07:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Move IDHandler JS module to platform from Websock 2019-04-12 12:41:49 +02:00