commit | dc5ec2b09c9f9cb61e1a753b6c3837c279259bc4 | [log] [tgz] |
---|---|---|
author | Son Luong Ngoc <sluongng@gmail.com> | Wed Apr 17 10:22:32 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 17 10:24:10 2024 -0700 |
tree | d755c95c95ff52328b113b149cb41d6be77cb756 | |
parent | 32def7092155a0fcdb138cfd80c51608a7326bcb [diff] [blame] |
RepositoryCache: add blake3 key type Support storing repository cache with blake3 hash function. Closes #21998. PiperOrigin-RevId: 625727463 Change-Id: I2198adac617c5d6301e56694fe416f3130c61033
diff --git a/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java b/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java index 09ee8d6..43ae402 100644 --- a/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java +++ b/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java
@@ -187,6 +187,9 @@ /** The cpp toolchain type. */ public static final String CPP_TOOLCHAIN_TYPE = "@@bazel_tools//tools/cpp:toolchain_type"; + /** Whether blake3 can be used through JNI */ + public static final boolean BLAKE3_AVAILABLE = true; + /** A choice of test execution mode, only varies internally. */ public enum InternalTestExecutionMode { NORMAL