From d4e7f08e0b284ead378719dc468340a566523475 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 17 Nov 2020 21:16:31 +0000 Subject: [PATCH] Use hermetic XCode on Dawn standalone builders. Bug: Change-Id: I25fc33c01e2148ed2626ff6d1999d414c8c8f04b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/33100 Commit-Queue: Stephen White Auto-Submit: Corentin Wallez Reviewed-by: Austin Eng Reviewed-by: Stephen White --- DEPS | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DEPS b/DEPS index 1581d45422..d93de16abe 100644 --- a/DEPS +++ b/DEPS @@ -135,6 +135,14 @@ hooks = [ 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', '--arch=x64'], }, + { + # Update the Mac toolchain if possible, this makes builders use "hermetic XCode" which is + # is more consistent (only changes when rolling build/) and is cached. + 'name': 'mac_toolchain', + 'pattern': '.', + 'condition': 'checkout_mac', + 'action': ['python', 'build/mac_toolchain.py'], + }, { # Update the Windows toolchain if necessary. Must run before 'clang' below. 'name': 'win_toolchain',