Merge pull request #730 from kripken/closure2

Closure all the things
This commit is contained in:
Surma
2020-04-16 11:11:15 +01:00
committed by GitHub
12 changed files with 252 additions and 48 deletions

View File

@ -12,11 +12,7 @@ echo "Compiling libimagequant"
echo "============================================="
(
emcc \
--bind \
${OPTIMIZE} \
-s ALLOW_MEMORY_GROWTH=1 \
-s MODULARIZE=1 \
-s 'EXPORT_NAME="imagequant"' \
-I node_modules/libimagequant \
--std=c99 \
-c \
@ -29,6 +25,7 @@ echo "============================================="
emcc \
--bind \
${OPTIMIZE} \
--closure 1 \
-s ALLOW_MEMORY_GROWTH=1 \
-s MODULARIZE=1 \
-s 'EXPORT_NAME="imagequant"' \

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -30,6 +30,7 @@ echo "============================================="
emcc \
--bind \
${OPTIMIZE} \
--closure 1 \
-s WASM=1 \
-s ALLOW_MEMORY_GROWTH=1 \
-s MODULARIZE=1 \

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -39,6 +39,7 @@ echo "============================================="
(
emcc \
${OPTIMIZE} \
--closure 1 \
--bind \
-s ALLOW_MEMORY_GROWTH=1 \
-s MODULARIZE=1 \

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -40,6 +40,7 @@ echo "============================================="
(
emcc \
${OPTIMIZE} \
--closure 1 \
--bind \
-s ALLOW_MEMORY_GROWTH=1 \
-s MODULARIZE=1 \

File diff suppressed because one or more lines are too long

Binary file not shown.