[riscv64] Add qemu-static CIPD dependency for RISC-V checkouts

Bug: 342657857
Test: Validated pulling & using
Change-Id: I5b6dda58b21cf237e66064a7da2fdc8003fa047b
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/70273
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/.gitignore b/.gitignore
index 1565352..0826131 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@
 /util/bot/nasm-win32.exe
 /util/bot/ninja
 /util/bot/perl-win32
+/util/bot/qemu-static
 /util/bot/sde-linux64
 /util/bot/sde-linux64.tar.xz
 /util/bot/sde-win32
diff --git a/util/bot/DEPS b/util/bot/DEPS
index 36d05a0..cb4bc0b 100644
--- a/util/bot/DEPS
+++ b/util/bot/DEPS
@@ -20,6 +20,7 @@
   'checkout_sde': False,
   'checkout_nasm': False,
   'checkout_libcxx': False,
+  'checkout_riscv64': False,
   'vs_version': '2019',
 
   # Run the following command to see the latest builds in CIPD:
@@ -43,6 +44,7 @@
   # The Android NDK cannot be updated until https://crbug.com/boringssl/454 is fixed.
   # We rely on an older NDK to test building without NEON instructions as the baseline.
   'android_ndk_revision': 'U0e8L6l52ySjBrUBB82Vdyhsg60vVMqH0ItTW3TRHAQC',
+  'qemu_static_version': 'gYNEUqCr-Tu1C_vBu68YFtN31hjjLe61dnI2AtuyEsYC',
 }
 
 deps = {
@@ -80,15 +82,6 @@
     'dep_type': 'cipd',
   },
 
-  'boringssl/util/bot/perl-win32': {
-    'packages': [{
-      'package': 'infra/3pp/tools/perl/${{platform}}',
-      'version': Var('perl_version'),
-    }],
-    'condition': 'host_os == "win"',
-    'dep_type': 'cipd',
-  },
-
   'boringssl/util/bot/libFuzzer': {
     'url': Var('chromium_git') + '/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git' +'@' + Var('libfuzzer_revision'),
     'condition': 'checkout_fuzzer',
@@ -109,6 +102,24 @@
       'version': Var('ninja_version'),
     }],
     'dep_type': 'cipd',
+  },
+
+  'boringssl/util/bot/perl-win32': {
+    'packages': [{
+      'package': 'infra/3pp/tools/perl/${{platform}}',
+      'version': Var('perl_version'),
+    }],
+    'condition': 'host_os == "win"',
+    'dep_type': 'cipd',
+  },
+
+  'boringssl/util/bot/qemu-static': {
+      'packages': [{
+          'package': 'infra/3pp/tools/qemu_static/linux-amd64',
+          'version': Var('qemu_static_version')
+      }],
+      'condition': 'checkout_riscv64',
+      'dep_type': 'cipd',
   }
 }