Home | History | Annotate | only in /external/skia/modules/pathkit
Up to higher level directory
NameDateSize
chaining.js22-Oct-20206.1K
CHANGELOG.md22-Oct-2020766
compile.sh22-Oct-20204.1K
externs.js22-Oct-20204.5K
helper.js22-Oct-20203.7K
karma.bench.conf.js22-Oct-20202.5K
karma.conf.js22-Oct-20202.6K
Makefile22-Oct-20205.6K
npm-asmjs/22-Oct-2020
npm-wasm/22-Oct-2020
package.json22-Oct-2020524
pathkit_wasm_bindings.cpp22-Oct-202023.6K
perf/22-Oct-2020
README.md22-Oct-2020847
ready.js22-Oct-2020486
serve.py22-Oct-2020508
tests/22-Oct-2020

README.md

      1 PathKit WASM API
      2 ================
      3 
      4 This library lets you use Skia's feature-rich PathOps API in the browser.
      5 
      6 
      7 Compiling the source
      8 --------------------
      9 
     10 Download the [Enscriptem SDK](https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html).
     11 
     12 Set the EMSDK environment variable to the directory you installed it to.
     13 
     14 Run `./compile.sh` to compile a production, WASM build to `$SKIA_HOME/out/pathkit`.
     15 Add "--help" for more options.
     16 
     17 
     18 Deploying to npm
     19 ----------------
     20 
     21     # Build all 3 versions (release, test, debug) for both asmjs and WASM
     22     # These binaries will be placed in the proper places of npm-*/bin
     23     # This takes 5-10 minutes.
     24     make npm
     25 
     26     # Update the package.json files of both npm-asmjs and npm-wasm
     27     make update-patch  # or update-minor or update-major
     28 
     29     # Publish both repos
     30     make publish
     31