skia2/infra/wasm-common/docker/Makefile
Kevin Lubick 9eaca48f46 [canvaskit] Update emsdk to 2.0.6
Of note, I had to explicitly export _malloc and _free, since
we use those directly in the binding layer.

Code size change:
 -20k on JS (-1k compressed)
 -21k on WASM (-15k compressed)

Bug: skia:10419, skia:10794
Change-Id: Id7670b6fcbf1524ad3155a863db51eb49aa24811
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323979
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-10-08 16:38:10 +00:00

19 lines
725 B
Makefile

EMSDK_VERSION=2.0.6_v1
# Can check CHROME_VERSION with
# docker run karma-chrome-tests /usr/bin/google-chrome-stable --version
CHROME_VERSION=77.0.3865.120_v1
publish_emsdk_base:
docker build --no-cache -t emsdk-base ./emsdk-base/
docker tag emsdk-base gcr.io/skia-public/emsdk-base:${EMSDK_VERSION}
docker push gcr.io/skia-public/emsdk-base:${EMSDK_VERSION}
docker tag emsdk-base gcr.io/skia-public/emsdk-base:prod
docker push gcr.io/skia-public/emsdk-base:prod
publish_karma_chrome_tests:
docker build --no-cache -t karma-chrome-tests ./karma-chrome-tests/
docker tag karma-chrome-tests gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION}
docker push gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION}