From 613c1f5a61f9afaf92088dd01276758437fd4fb7 Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Mon, 30 Jan 2023 10:21:04 -0500 Subject: [PATCH] Fetch and use ninja when building Skia Release Docker image ninja is no longer in the depot_tools repo Change-Id: If4bcc46000c3b751ae813c2e9df63efa0f2e1c72 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/635498 Reviewed-by: Joe Gregorio --- docker/skia-release/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/skia-release/Dockerfile b/docker/skia-release/Dockerfile index 173fd391bcc0..63573c88d18e 100644 --- a/docker/skia-release/Dockerfile +++ b/docker/skia-release/Dockerfile @@ -32,7 +32,8 @@ RUN if [ ! -z "${PATCH_REF}" ] ; then cd /tmp/skia/skia \ RUN cd /tmp/skia/skia \ && gclient sync \ - && ./bin/fetch-gn + && ./bin/fetch-gn \ + && ./bin/fetch-ninja # Write args.gn. RUN mkdir -p /tmp/skia/skia/out/Static @@ -57,7 +58,7 @@ extra_ldflags = [ \n\ RUN cd /tmp/skia/skia \ && ./bin/gn gen out/Static \ && git rev-parse HEAD > VERSION \ - && /tmp/depot_tools/ninja -C out/Static \ + && ./bin/ninja -C out/Static \ && chown -R skia:skia . \ # obj is readable only by the skia user. It needs additional # permissions to be accessible for CI (see https://review.skia.org/487217).