build: force ninja binary to the right arch after src cache restore (#36401)

This commit is contained in:
Samuel Attard 2022-11-18 23:45:22 -08:00 committed by GitHub
parent 9c48992e21
commit 3a94634ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -495,6 +495,11 @@ step-fix-sync: &step-fix-sync
# Remove extra output from calling gclient getdep which always calls update_depot_tools
sed -i '' "s/Updating depot_tools... //g" esbuild_ensure_file
cipd ensure --root src/third_party/devtools-frontend/src/third_party/esbuild -ensure-file esbuild_ensure_file
# Fix ninja (wrong binary)
echo 'infra/3pp/tools/ninja/${platform}' `gclient getdep --deps-file=src/DEPS -r 'src/third_party/ninja:infra/3pp/tools/ninja/${platform}'` > ninja_ensure_file
sed -i '' "s/Updating depot_tools... //g" ninja_ensure_file
cipd ensure --root src/third_party/ninja -ensure-file ninja_ensure_file
fi
cd src/third_party/angle