Bug 1932347 - Adjust positioning of tab preview for vertical tabs r=tabbrowser-review...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / deqp / run-closure.sh
blob7dcc44c12c4a1b4a9ff07eeb80f2924b483a7cbf
1 #!/bin/sh
3 # Helper script for properly invoking the closure compiler in order to
4 # type check the ported dEQP tests.
6 # Assumes the Closure compiler:
7 # https://github.com/google/closure-compiler
8 # is installed side-by-side with the WebGL repository, for example:
10 # WebGL/
11 # doc/
12 # extensions/
13 # sdk/
14 # ...
15 # closure/
16 # compiler.jar
18 # The externs.zip file inside the closure compiler needs to be modified
19 # to support WebGL2.
20 # and that the shell is cd'd into the directory containing this
21 # script.
24 : ${JAVA:=java}
26 $JAVA -jar ../../../../closure/compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs compiler_additional_extern.js --js functional/**.js framework/**.js modules/**.js --js_output_file /dev/null --js ../closure-library/closure/**.js