Update buildscript

This commit is contained in:
zontreck 2024-03-14 17:06:02 -07:00
parent d18dea2273
commit cfc56cc829

View file

@ -4,5 +4,19 @@ export PATH="$PATH:$(pwd)/depot_tools"
pushd skia
python tools/git-sync-deps
gn gen out/Release-x64 --args="is_debug=false is_official_build=true skia_use_system_expat=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_sfntly=false skia_use_freetype=true skia_use_harfbuzz=true skia_pdf_subset_harfbuzz=true skia_use_system_freetype2=false skia_use_system_harfbuzz=false"
ninja -C out/Release-x64 skia modules
popd
pushd aseprite
mkdir build
pushd build
cmake -G Ninja -DLAF_BACKEND=skia -DSKIA_DIR=../../skia -DSKIA_LIBRARY_DIR=../../skia/out/Release-x64 -DSKIA_LIBRARY=../../skia/out/Release-x64/libskia.a ..
ninja aseprite
popd
popd