xref: /aosp_15_r20/external/skia/infra/skottie/BUILD.bazel (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1load("//bazel:skia_app_container.bzl", "skia_app_container")
2
3# Layer the CanvasKit component on top of the skottie-base Docker
4# Image to create the final Docker image.
5skia_app_container(
6    name = "skottie_container",
7    base_image = "@skottie-base//image",
8    dirs = {
9        "/usr/local/share/skottie/": [
10            [
11                # This brings in all the CanvasKit build files.
12                "//modules/canvaskit:canvaskit",
13                "0644",
14            ],
15            [
16                "//modules/canvaskit:version.js",
17                "0644",
18            ],
19        ],
20    },
21    entrypoint = "/usr/local/bin/skottie",
22    repository = "skia-public/skottie-final",
23)
24