Fix mac_arm64 builder.

We were fetching the mac-amd64 package even on mac-arm64.

Change-Id: Iad842ebd46d467c0def9bdbd14c77698a03f58d3
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/51045
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/util/bot/DEPS b/util/bot/DEPS
index ee6f920..e3c95f3 100644
--- a/util/bot/DEPS
+++ b/util/bot/DEPS
@@ -53,9 +53,13 @@
     'dep_type': 'cipd',
   },
 
+  # TODO(davidben): Merge cmake-linux64 and cmake-mac. Now that we use CIPD,
+  # which supports a ${{platform}} marker, there is nothing platform-specific
+  # about this anymore. However, the recipe still expects CMake to be found at
+  # these directories, so this needs to be coordinated with a change there.
   'boringssl/util/bot/cmake-linux64': {
     'packages': [{
-      'package': 'infra/3pp/tools/cmake/linux-amd64',
+      'package': 'infra/3pp/tools/cmake/${{platform}}',
       'version': Var('cmake_version'),
     }],
     'condition': 'host_os == "linux"',
@@ -64,7 +68,7 @@
 
   'boringssl/util/bot/cmake-mac': {
     'packages': [{
-      'package': 'infra/3pp/tools/cmake/mac-amd64',
+      'package': 'infra/3pp/tools/cmake/${{platform}}',
       'version': Var('cmake_version'),
     }],
     'condition': 'host_os == "mac"',