From cfc56cc829361ad685f15c3d0d127eae159894fa Mon Sep 17 00:00:00 2001 From: zontreck Date: Thu, 14 Mar 2024 17:06:02 -0700 Subject: [PATCH] Update buildscript --- Aseprite/setup_aseprite_env.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Aseprite/setup_aseprite_env.sh b/Aseprite/setup_aseprite_env.sh index 21b192b..ca23f58 100755 --- a/Aseprite/setup_aseprite_env.sh +++ b/Aseprite/setup_aseprite_env.sh @@ -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