Files
Hubert BłaszczykandIvan Matkov 74684d4edc Extract skottie into separate module (#1213)
This PR includes:

- Skottie extension module for each target
- Exposing some internal parts of skiko so that they can be used in
extension modules

Required external changes :

- Compile Skia static libraries with `visibility=default` instead of
`hidden`. I found it difficult to make symbols tagged as `hidden`
visible again. Going from `visible` to `hidden` was much more
straightforward
- Each static library that Skia produces is self-contained and thus,
might have Skia core object files inside. This means we have to remove
such files from Skottie during the Skia build

Closes [SKIKO-1146](https://youtrack.jetbrains.com/issue/SKIKO-1146)

---------

Co-authored-by: Ivan Matkov <matkov.ivan@gmail.com>
2026-07-14 14:01:48 +02:00

16 lines
475 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/../../.." && pwd)"
SAMPLE_DIR="$ROOT_DIR/samples/SkikoExtensionsSample"
PLAYWRIGHT_BIN="${PLAYWRIGHT_BIN:-playwright}"
run_web_sample() {
local task="$1"
WEB_SERVER_COMMAND="$ROOT_DIR/gradlew -p $SAMPLE_DIR --no-daemon --stacktrace $task" \
"$PLAYWRIGHT_BIN" test --config "$SAMPLE_DIR/scripts/playwright.config.js"
}
run_web_sample :jsBrowserDevelopmentRun
run_web_sample :wasmJsBrowserDevelopmentRun