~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tools/settings_template_readonly.py

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file will be edited (the {{{ }}} things), and then ~/.emscripten created with the result, if ~/.emscripten doesn't exist.
 
2
 
 
3
# Note: If you put paths relative to the home directory, do not forget os.path.expanduser
 
4
 
 
5
import os
 
6
 
 
7
# this helps projects using emscripten find it
 
8
EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_ROOT }}}') # directory
 
9
LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '{{{ LLVM_ROOT }}}') # directory
 
10
PYTHON = os.path.expanduser(os.getenv('PYTHON') or '{{{ PYTHON }}}') # executable
 
11
 
 
12
# See below for notes on which JS engine(s) you need
 
13
NODE_JS = os.path.expanduser(os.getenv('NODE') or '{{{ NODE }}}') # executable
 
14
SPIDERMONKEY_ENGINE = [os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js')] # executable
 
15
V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8') # executable
 
16
 
 
17
JAVA = 'java' # executable
 
18
 
 
19
TEMP_DIR = '/tmp' # You will need to modify this on Windows
 
20
 
 
21
#CLOSURE_COMPILER = '..' # define this to not use the bundled version
 
22
 
 
23
########################################################################################################
 
24
 
 
25
 
 
26
# Pick the JS engine to use for running the compiler. This engine must exist, or
 
27
# nothing can be compiled.
 
28
#
 
29
# Recommendation: If you already have node installed, use that. Otherwise, build v8 or
 
30
#                 spidermonkey from source. Any of these three is fine, as long as it's
 
31
#                 a recent version (especially for v8 and spidermonkey).
 
32
 
 
33
COMPILER_ENGINE = NODE_JS
 
34
#COMPILER_ENGINE = V8_ENGINE
 
35
#COMPILER_ENGINE = SPIDERMONKEY_ENGINE
 
36
 
 
37
 
 
38
# All JS engines to use when running the automatic tests. Not all the engines in this list
 
39
# must exist (if they don't, they will be skipped in the test runner).
 
40
#
 
41
# Recommendation: If you already have node installed, use that. If you can, also build
 
42
#                 spidermonkey from source as well to get more test coverage (node can't
 
43
#                 run all the tests due to node issue 1669). v8 is currently not recommended
 
44
#                 here because of v8 issue 1822.
 
45
 
 
46
JS_ENGINES = [NODE_JS] # add this if you have spidermonkey installed too, SPIDERMONKEY_ENGINE]
 
47