This repo is dedicated to building Skia binaries for use in Skiko.
Prebuilt binaries can be found in releases.
- Find the release commit in Skia repository (look for chrome/mXXX branch)
- Rebase
skiko
branch in Skia fork repository on this commit and force push - Update
version
in .github/workflows/build.yml.
Replace SKIA_VERSION with the version you want to build, for example m138-9e6b5bff162
.
Note: Better check build.yml for the detailed command for your machine
python3 script/checkout.py --version SKIA_VERSION
python3 script/build.py
python3 script/archive.py --version SKIA_VERSION
To build a debug build:
python3 script/checkout.py --version SKIA_VERSION
python3 script/build.py --build-type Debug
python3 script/archive.py --version SKIA_VERSION --build-type Debug
On Windows, skia-pack requires Clang-cl to be installed. Clang-cl is a part of LLVM and can be downloaded from the LLVM project's website. Please also make sure that Clang-cl.exe is available on %PATH%.