Lines Matching +full:skia +full:- +full:public
1 # Dockerfile for building Skia in release mode, using 3rd party libs from DEPS, with SwiftShader.
2 FROM gcr.io/skia-public/skia-build-tools:latest
7 # Checkout Skia.
8 RUN mkdir -p /tmp/skia \
9 && cd /tmp/skia \
10 && fetch skia
13 # https://skia-review.googlesource.com/c/buildbot/+/286537/5/docker/Dockerfile#46
14 RUN cd /tmp/skia/skia \
15 && git config user.email "skia@skia.org" \
16 && git config user.name "Skia"
20 RUN if [ -z "${HASH}" ] ; then echo "HASH must be specified as a --build-arg"; exit 1; fi
22 RUN cd /tmp/skia/skia \
24 && git reset --hard ${HASH}
28 RUN if [ ! -z "${PATCH_REF}" ] ; then cd /tmp/skia/skia \
29 && git fetch https://skia.googlesource.com/skia ${PATCH_REF} \
33 RUN cd /tmp/skia/skia \
35 && ./bin/fetch-gn
38 RUN mkdir -p /tmp/skia/skia/out/Static
46 "-I/tmp/swiftshader/include", \n\
47 "-DGR_EGL_TRY_GLES3_THEN_GLES2", \n\
48 "-g0", \n\
51 "-L/usr/local/lib", \n\
52 "-Wl,-rpath", \n\
53 "-Wl,/usr/local/lib" \n\
54 ] ' > /tmp/skia/skia/out/Static/args.gn
56 # Build Skia.
57 RUN cd /tmp/skia/skia \
59 && git rev-parse HEAD > VERSION \
60 && /tmp/depot_tools/ninja -C out/Static \
61 && chown -R skia:skia .