9eaca48f46
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>
19 lines
725 B
Makefile
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}
|
|
|