xref: /aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/WORKSPACE (revision a6aa18fbfbf9cb5cd47356a9d1b057768998488c)
1#
2# Copyright 2019 The Abseil Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      https://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17workspace(name = "com_google_absl")
18
19load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
20
21# GoogleTest/GoogleMock framework. Used by most unit-tests.
22http_archive(
23    name = "com_google_googletest",  # 2023-01-05T19:15:29Z
24    sha256 = "ffa17fbc5953900994e2deec164bb8949879ea09b411e07f215bfbb1f87f4632",
25    strip_prefix = "googletest-1.13.0",
26    # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
27    urls = ["https://github.com/google/googletest/archive/refs/tags/v1.13.0.zip"],
28)
29
30# RE2 (the regular expression library used by GoogleTest)
31# Note this must use a commit from the `abseil` branch of the RE2 project.
32# https://github.com/google/re2/tree/abseil
33http_archive(
34    name = "com_googlesource_code_re2",
35    sha256 = "0a890c2aa0bb05b2ce906a15efb520d0f5ad4c7d37b8db959c43772802991887",
36    strip_prefix = "re2-a427f10b9fb4622dd6d8643032600aa1b50fbd12",
37    urls = ["https://github.com/google/re2/archive/a427f10b9fb4622dd6d8643032600aa1b50fbd12.zip"],  # 2022-06-09
38)
39
40# Google benchmark.
41http_archive(
42    name = "com_github_google_benchmark",  # 2023-01-10T16:48:17Z
43    sha256 = "ede6830512f21490eeea1f238f083702eb178890820c14451c1c3d69fd375b19",
44    strip_prefix = "benchmark-a3235d7b69c84e8c9ff8722a22b8ac5e1bc716a6",
45    urls = ["https://github.com/google/benchmark/archive/a3235d7b69c84e8c9ff8722a22b8ac5e1bc716a6.zip"],
46)
47
48# Bazel Skylib.
49http_archive(
50    name = "bazel_skylib",  # 2022-11-16T18:29:32Z
51    sha256 = "a22290c26d29d3ecca286466f7f295ac6cbe32c0a9da3a91176a90e0725e3649",
52    strip_prefix = "bazel-skylib-5bfcb1a684550626ce138fe0fe8f5f702b3764c3",
53    urls = ["https://github.com/bazelbuild/bazel-skylib/archive/5bfcb1a684550626ce138fe0fe8f5f702b3764c3.zip"],
54)
55
56# Bazel platform rules.
57http_archive(
58    name = "platforms",  # 2022-11-09T19:18:22Z
59    sha256 = "b4a3b45dc4202e2b3e34e3bc49d2b5b37295fc23ea58d88fb9e01f3642ad9b55",
60    strip_prefix = "platforms-3fbc687756043fb58a407c2ea8c944bc2fe1d922",
61    urls = ["https://github.com/bazelbuild/platforms/archive/3fbc687756043fb58a407c2ea8c944bc2fe1d922.zip"],
62)
63