Update the wasm build to use skia-experimental Build from our private skia repo.
diff --git a/skia/dependencies/get_skia.sh b/skia/dependencies/get_skia.sh index 47a0b4c..6da4fb1 100755 --- a/skia/dependencies/get_skia.sh +++ b/skia/dependencies/get_skia.sh
@@ -32,6 +32,11 @@ cd .. } -getSkia https://github.com/rive-app/skia rive skia_rive_optimized - -getSkia https://github.com/google/skia chrome/m99 skia \ No newline at end of file +if [ $# -eq 0 ]; then + # No arguments supplied; checkout the default skia repos. + getSkia https://github.com/rive-app/skia rive skia_rive_optimized + getSkia https://github.com/google/skia chrome/m99 skia +else + # The caller specified which skia repo to checkout. + getSkia $@ +fi
diff --git a/skia/dependencies/make_skia_wasm.sh b/skia/dependencies/make_skia_wasm.sh index 308adea..29576ba 100755 --- a/skia/dependencies/make_skia_wasm.sh +++ b/skia/dependencies/make_skia_wasm.sh
@@ -8,9 +8,9 @@ # https://skia.org/user/build # GLFW requires CMake -./get_skia.sh +./get_skia.sh git@github.com:rive-app/skia-experimental.git main skia-experimental -cd skia_rive_optimized +cd skia-experimental # build static for host bin/gn gen out/wasm --type=static_library --args=" \ @@ -53,9 +53,8 @@ skia_enable_skottie = false \ skia_enable_tools = false \ skia_enable_skgpu_v1 = true \ - skia_enable_skgpu_v2 = false \ " -ninja -C out/wasm +ninja -C out/wasm libskia.a du -hs out/wasm/libskia.a -cd .. \ No newline at end of file +cd ..