From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../test/webgl-conf/checkout/deqp/run-closure.sh | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 dom/canvas/test/webgl-conf/checkout/deqp/run-closure.sh (limited to 'dom/canvas/test/webgl-conf/checkout/deqp/run-closure.sh') diff --git a/dom/canvas/test/webgl-conf/checkout/deqp/run-closure.sh b/dom/canvas/test/webgl-conf/checkout/deqp/run-closure.sh new file mode 100755 index 0000000000..7dcc44c12c --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/deqp/run-closure.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +# Helper script for properly invoking the closure compiler in order to +# type check the ported dEQP tests. +# +# Assumes the Closure compiler: +# https://github.com/google/closure-compiler +# is installed side-by-side with the WebGL repository, for example: +# +# WebGL/ +# doc/ +# extensions/ +# sdk/ +# ... +# closure/ +# compiler.jar +# +# The externs.zip file inside the closure compiler needs to be modified +# to support WebGL2. +# and that the shell is cd'd into the directory containing this +# script. +# + +: ${JAVA:=java} + +$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 -- cgit v1.2.3