A web application for viewing lottie files as rendered by Skia, and going forward, other renderers. It uses CanvasKit to display these.
When running tests (
bazel test ...) or a local instance (
make run-local-instance), the rules are set up to get the latest built version of CanvasKit by looking at
gcr.io/skia-public/skia-wasm-release:prod. See ./wasm_libs/BUILD.bazel for more.
To run skottie locally with a custom build of CanvasKit, copy the files to //skottie/wasm_libs/local_build and run:
Do not check in those files you copied.
Skottie is made up of the web application, contained within this folder, and CanvasKit which comes from the Skia repository. The
//skottie/skottie_container-base build target creates a “base” Docker image which contains everything except CanvasKit. This is uploaded to
gcr.io/skia-public/skottie-base. The “final” build is in the Skia repository. That build pulls down the base image, layers CanvasKit on top, and uploads the final Docker image to
Both the base and final builds are done in Louhi, and there should be no need to manually build or upload either Docker image. If this is deemed necessary then a new base image may be built and uploaded by:
$ make release