Lines Matching full:skia
1 # Dockerfile for building the WASM libraries used by jsfiddle.skia.org and debugger.skia.org
2 FROM gcr.io/skia-public/emsdk-base:prod as builder
13 # Checkout Skia using fetch from depot_tools
14 RUN mkdir -p /tmp/skia \
15 && cd /tmp/skia \
16 && fetch skia
19 # https://skia-review.googlesource.com/c/buildbot/+/286537/5/docker/Dockerfile#46
20 RUN cd /tmp/skia/skia \
21 && git config user.email "skia@skia.org" \
22 && git config user.name "Skia"
28 RUN cd /tmp/skia/skia \
34 RUN if [ ! -z "${PATCH_REF}" ] ; then cd /tmp/skia/skia \
35 && git fetch https://skia.googlesource.com/skia ${PATCH_REF} \
39 RUN cd /tmp/skia/skia \
43 # PathKit should be in /tmp/skia/skia/out/pathkit/
44 RUN /tmp/skia/skia/modules/pathkit/compile.sh
46 # CanvasKit should be in /tmp/skia/skia/out/canvaskit_wasm
47 RUN /tmp/skia/skia/modules/canvaskit/compile.sh
49 # Debugger should be in /tmp/skia/skia/out/debugger_wasm
50 RUN /tmp/skia/skia/experimental/wasm-skp-debugger/compile.sh
52 RUN cd /tmp/skia/skia && git rev-parse HEAD > /tmp/VERSION
68 COPY --from=builder /tmp/skia/skia/out/pathkit/pathkit* /tmp/pathkit/
70 COPY --from=builder /tmp/skia/skia/out/canvaskit_wasm/canvaskit* /tmp/canvaskit/
72 COPY --from=builder /tmp/skia/skia/modules/canvaskit/npm_build/types/index.d.ts /tmp/canvaskit/canv…
74 COPY --from=builder /tmp/skia/skia/out/debugger_wasm/debugger* /tmp/debugger/