29104528cc
These scripts are useful when testing WebAssembly locally because the mimetype impacts how the binaries are loaded. The porting was achieved by doing the following: python -m lib2to3 -w -n serve.py Change-Id: I09673fa881339a9b157c5fc993e190766efcd85e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443884 Reviewed-by: Erik Rose <erikrose@google.com> |
||
---|---|---|
.. | ||
debugger | ||
fonts | ||
tests | ||
.gitignore | ||
compile.sh | ||
cpu.js | ||
debugger_bindings.cpp | ||
externs.js | ||
gpu.js | ||
helper.js | ||
karma.conf.js | ||
Makefile | ||
package.json | ||
README.md | ||
serve.py |
WASM SKP Debugger
The wasm skp debugger is a wasm binary that uses DebugCanvas to show SKP and MSKP files. It is embedded in the javascript code in debugger-assets from the infra buildbot repository.
The live version is available at debugger.skia.org
Build
make debug
make move-assets
note that make move-assets just copies the two output files over to the infra repo where they can be served locally. This requires SKIA_INFRA_ROOT to be set to the root of your checkout of that repo.
For more information on running the debugger locally, see infra/debugger-assets/README.md in the buildbot repo.
Test
tests are run with
make test-continuous
tests are defined by files in tests/*.spec.js