From 238f6841c1d9d548e1b825979199b916d4740e7e Mon Sep 17 00:00:00 2001 From: Dan Field Date: Wed, 20 Jan 2021 15:49:58 -0800 Subject: [PATCH] Split platforms for clang in DEPS to prepare for autoroller (flutter/engine#23810) * Split platforms for clang in DEPS to prepare for autoroller https://bugs.chromium.org/p/skia/issues/detail?id=11197#c3 * Update DEPS --- DEPS | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/DEPS b/DEPS index b5d14ccec8..7928ce977a 100644 --- a/DEPS +++ b/DEPS @@ -498,14 +498,27 @@ deps = { 'dep_type': 'cipd', }, - 'src/buildtools/{host_os}-x64/clang': { + # Clang on mac and linux are expected to typically be the same revision. + # They are separated out so that the autoroller can more easily manage them. + 'src/buildtools/mac-x64/clang': { 'packages': [ { - 'package': 'fuchsia/third_party/clang/${{platform}}', + 'package': 'fuchsia/third_party/clang/mac-amd64', 'version': 'git_revision:7d48eff8ba172216fca3649a3c452de4c7c16c00' } ], - 'condition': 'host_os == "mac" or host_os == "linux"', + 'condition': 'host_os == "mac"', + 'dep_type': 'cipd', + }, + + 'src/buildtools/linux-x64/clang': { + 'packages': [ + { + 'package': 'fuchsia/third_party/clang/linux-amd64', + 'version': 'git_revision:7d48eff8ba172216fca3649a3c452de4c7c16c00' + } + ], + 'condition': 'host_os == "linux"', 'dep_type': 'cipd', },