| load("//bazel:skia_app_container.bzl", "skia_app_container") |
| |
| filegroup( |
| name = "configs", |
| srcs = glob( |
| ["configs/*.json5"], |
| allow_empty = False, |
| ), |
| visibility = ["//skottie:__subpackages__"], |
| ) |
| |
| skia_app_container( |
| name = "skottie_container-base", |
| base_image = "@base-cipd//image", |
| dirs = { |
| "/usr/local/bin": [ |
| [ |
| "//skottie/go/skottie:skottie", |
| "0755", |
| ], |
| ], |
| "/usr/local/share/skottie/": [ |
| [ |
| "//skottie/modules/skottie-gif-exporter-sk:gif_js", |
| "0644", |
| ], |
| [ |
| "//skottie/modules/skottie-gif-exporter-sk:gif_worker_js", |
| "0644", |
| ], |
| [ |
| "//skottie/pages:inline-bundle", |
| "0644", |
| ], |
| [ |
| "@npm//:node_modules/@ffmpeg/core/dist/ffmpeg-core.js", |
| "0644", |
| ], |
| [ |
| "@npm//:node_modules/@ffmpeg/core/dist/ffmpeg-core.wasm", |
| "0644", |
| ], |
| [ |
| "@npm//:node_modules/@ffmpeg/core/dist/ffmpeg-core.worker.js", |
| "0644", |
| ], |
| ] + [ |
| [ |
| "//skottie/pages:production/%s.%s" % (page, ext), |
| "0644", |
| ] |
| for page in [ |
| "drive", |
| "embed", |
| "index", |
| ] |
| for ext in [ |
| "css", |
| "html", |
| "js", |
| ] |
| ], |
| "/usr/local/share/skottie/configs": [ |
| [ |
| ":configs", |
| "0644", |
| ], |
| ], |
| "/usr/local/share/skottie/img": [ |
| [ |
| "@npm//:node_modules/jsoneditor/dist/img/jsoneditor-icons.svg", |
| "0644", |
| ], |
| ], |
| }, |
| entrypoint = "/usr/local/bin/skottie", |
| repository = "skia-public/skottie-base", |
| ) |