mirror of
https://github.com/bitsycore/skiko.git
synced 2026-10-06 23:17: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>
29 lines
577 B
JavaScript
29 lines
577 B
JavaScript
const { defineConfig } = require("@playwright/test");
|
|
|
|
const baseURL = "http://127.0.0.1:8080";
|
|
const command = process.env.WEB_SERVER_COMMAND;
|
|
|
|
if (!command) {
|
|
throw new Error("WEB_SERVER_COMMAND is required");
|
|
}
|
|
|
|
module.exports = defineConfig({
|
|
testMatch: "check-web-page.spec.js",
|
|
use: {
|
|
baseURL,
|
|
launchOptions: {
|
|
args: [
|
|
"--enable-webgl",
|
|
"--ignore-gpu-blocklist",
|
|
"--use-angle=swiftshader",
|
|
"--enable-unsafe-swiftshader",
|
|
],
|
|
},
|
|
},
|
|
webServer: {
|
|
command,
|
|
url: baseURL,
|
|
timeout: 180_000,
|
|
},
|
|
});
|