aboutsummaryrefslogtreecommitdiff
path: root/tools/settings_template_readonly.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/settings_template_readonly.py')
-rw-r--r--tools/settings_template_readonly.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/tools/settings_template_readonly.py b/tools/settings_template_readonly.py
index 970a8f8c..7ab89b48 100644
--- a/tools/settings_template_readonly.py
+++ b/tools/settings_template_readonly.py
@@ -5,17 +5,16 @@
import os
# this helps projects using emscripten find it
-EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_ROOT }}}')
-LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '{{{ LLVM_ROOT }}}')
-PYTHON = os.path.expanduser(os.getenv('PYTHON') or '{{{ PYTHON }}}')
+EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_ROOT }}}') # directory
+LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '{{{ LLVM_ROOT }}}') # directory
+PYTHON = os.path.expanduser(os.getenv('PYTHON') or '{{{ PYTHON }}}') # executable
# See below for notes on which JS engine(s) you need
-NODE_JS = os.path.expanduser(os.getenv('NODE') or '{{{ NODE }}}')
-SPIDERMONKEY_ENGINE = [
- os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js'), '-m', '-n']
-V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8')
+NODE_JS = os.path.expanduser(os.getenv('NODE') or '{{{ NODE }}}') # executable
+SPIDERMONKEY_ENGINE = [os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js')] # executable
+V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8') # executable
-JAVA = 'java'
+JAVA = 'java' # executable
TEMP_DIR = '/tmp' # You will need to modify this on Windows