mirror of
https://github.com/bitsycore/skiko.git
synced 2026-10-07 15:37:27 +00:00
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>
16 lines
475 B
Bash
Executable File
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
|