Skip to content

Commit 1d2b075

Browse files
committed
[wasm-gms] Enable filesystem by default.
Some of the SVG libraries, there appear to be some SYScalls (getStreamFromFD) that are no longer included in an emsdk 2.0.10 build. Change-Id: Ib6ac4c20186e79316cd5b2566ed2deb2d3e3d0af Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344076 Reviewed-by: Kevin Lubick <kjlubick@google.com>
1 parent e28f509 commit 1d2b075

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/canvaskit/compile_gm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ TESTS_TO_BUILD="tests/*.cpp"
148148
# When developing locally, it can be faster to focus only on the gms or tests you care about
149149
# (since they all have to be recompiled/relinked) every time. To do so, mark the following as true
150150
if false; then
151-
GMS_TO_BUILD="gm/bleed.cpp gm/gm.cpp"
151+
GMS_TO_BUILD="gm/coloremoji.cpp gm/gm.cpp"
152152
TESTS_TO_BUILD="tests/OctoBoundsTest.cpp tests/Test.cpp"
153153
fi
154154

@@ -208,8 +208,8 @@ EMCC_DEBUG=1 ${EMCXX} \
208208
-s ALLOW_MEMORY_GROWTH=1 \
209209
-s EXPORT_NAME="InitWasmGMTests" \
210210
-s EXPORTED_FUNCTIONS=['_malloc','_free'] \
211-
-s FORCE_FILESYSTEM=0 \
212-
-s FILESYSTEM=0 \
211+
-s FORCE_FILESYSTEM=1 \
212+
-s FILESYSTEM=1 \
213213
-s MODULARIZE=1 \
214214
-s NO_EXIT_RUNTIME=1 \
215215
-s INITIAL_MEMORY=256MB \

0 commit comments

Comments
 (0)