This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
skia2
Watch
1
Star
0
Fork
0
You've already forked skia2
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
7bce89d89d
skia2
/
infra
/
wasm-common
/
docker
/
emsdk-base
/
Dockerfile
6 lines
93 B
Docker
Raw
Normal View
History
Unescape
Escape
[canvaskit] Update emsdk to 2.0.6 Of note, I had to explicitly export _malloc and _free, since we use those directly in the binding layer. Code size change: -20k on JS (-1k compressed) -21k on WASM (-15k compressed) Bug: skia:10419, skia:10794 Change-Id: Id7670b6fcbf1524ad3155a863db51eb49aa24811 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323979 Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-10-08 15:39:56 +00:00
FROM
emscripten/emsdk:2.0.6
Add job for building PathKit to WASM using Docker This creates a new named cache docker for this and future docker-based jobs to use, to avoid permission snafus with the normal "work" named cache. Remove old WASM build, which was using the janky CIPD emsdk asset and wasn't really exercising what we needed. Bug: skia:8216 Change-Id: I993bba38b4978ca5eebb97e5b5b21729d55a072d Reviewed-on: https://skia-review.googlesource.com/145140 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com>
2018-08-03 14:26:00 +00:00
[canvaskit,pathkit] Update to emsdk 2.0 There was a break that was solved by adding -lGL to our link steps. I discovered a few extra flags to aid in debugging builds and I've left those in (they aren't too noisy IMO). This changes the base dockerfile to use the official emscripten one. Code size delta for full build is +5 kb For future reference, emsdk decides which "library JS" files to pull in using https://github.com/emscripten-core/emscripten/blob/a83ba99d60a0bedaa5cfaecf22e2ce8c750e0147/tools/building.py#L1553 Those JS files live in src (e.g. https://github.com/emscripten-core/emscripten/blob/a83ba99d60a0bedaa5cfaecf22e2ce8c750e0147/src/library_html5_webgl.js#L222) and define functions that the C++ code can call. I'd like to follow-up on what -lEGL is doing. Also, since the new image no longer has depot_tools, we need to make docker/skia-wasm-release/Dockerfile install it. Change-Id: I5a38e61e5080e9c4cb1e0a7e031509bcb107ff86 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/311726 Reviewed-by: Nathaniel Nifong <nifong@google.com>
2020-08-20 14:47:34 +00:00
RUN
apt update
&&
apt install -y python
Add job for building PathKit to WASM using Docker This creates a new named cache docker for this and future docker-based jobs to use, to avoid permission snafus with the normal "work" named cache. Remove old WASM build, which was using the janky CIPD emsdk asset and wasn't really exercising what we needed. Bug: skia:8216 Change-Id: I993bba38b4978ca5eebb97e5b5b21729d55a072d Reviewed-on: https://skia-review.googlesource.com/145140 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com>
2018-08-03 14:26:00 +00:00
Update emsdk-release image Bug: skia: Change-Id: I780912e1c481765d2d17d2ce66a27470ee8b4912 Reviewed-on: https://skia-review.googlesource.com/c/168483 Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-11-06 12:49:40 +00:00
RUN
mkdir -p /OUT /SRC
Reference in New Issue
Copy Permalink