if [[ $@ == *debug* ]]; then
echo "Building a Debug build"
EXTRA_CFLAGS="\"-DSK_DEBUG\","
RELEASE_CONF="-O0 --js-opts 0 -s DEMANGLE_SUPPORT=1 -s ASSERTIONS=1 -s GL_ASSERTIONS=1 -g3 \
--source-map-base /node_modules/canvaskit/bin/ -DSK_DEBUG --pre-js $BASE_DIR/debug.js"
BUILD_DIR=${BUILD_DIR:="out/canvaskit_wasm_debug"}
I need to debug something in webassembly, so I need to rebuild skia with DWARF debug support. How do I launch the compile shell script with parameters that would build a debug version that includes dwarf?
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/96509e43-b765-48cb-933b-958562c8bec7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/36c19fc7-fd4c-4047-9b79-64df38e1ae1an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/5963ff38-39ad-4230-aa44-68603b17ab16n%40googlegroups.com.