xref: /aosp_15_r20/external/angle/third_party/abseil-cpp/WORKSPACE (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker#
2*8975f5c5SAndroid Build Coastguard Worker# Copyright 2019 The Abseil Authors.
3*8975f5c5SAndroid Build Coastguard Worker#
4*8975f5c5SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
5*8975f5c5SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
6*8975f5c5SAndroid Build Coastguard Worker# You may obtain a copy of the License at
7*8975f5c5SAndroid Build Coastguard Worker#
8*8975f5c5SAndroid Build Coastguard Worker#      https://www.apache.org/licenses/LICENSE-2.0
9*8975f5c5SAndroid Build Coastguard Worker#
10*8975f5c5SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
11*8975f5c5SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
12*8975f5c5SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*8975f5c5SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
14*8975f5c5SAndroid Build Coastguard Worker# limitations under the License.
15*8975f5c5SAndroid Build Coastguard Worker#
16*8975f5c5SAndroid Build Coastguard Worker
17*8975f5c5SAndroid Build Coastguard Workerworkspace(name = "com_google_absl")
18*8975f5c5SAndroid Build Coastguard Worker
19*8975f5c5SAndroid Build Coastguard Workerload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
20*8975f5c5SAndroid Build Coastguard Worker
21*8975f5c5SAndroid Build Coastguard Worker# GoogleTest/GoogleMock framework. Used by most unit-tests.
22*8975f5c5SAndroid Build Coastguard Workerhttp_archive(
23*8975f5c5SAndroid Build Coastguard Worker    name = "com_google_googletest",
24*8975f5c5SAndroid Build Coastguard Worker    sha256 = "7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926",
25*8975f5c5SAndroid Build Coastguard Worker    strip_prefix = "googletest-1.15.2",
26*8975f5c5SAndroid Build Coastguard Worker    # Keep this URL in sync with the version in ci/cmake_common.sh and
27*8975f5c5SAndroid Build Coastguard Worker    # ci/windows_msvc_cmake.bat.
28*8975f5c5SAndroid Build Coastguard Worker    urls = ["https://github.com/google/googletest/releases/download/v1.15.2/googletest-1.15.2.tar.gz"],
29*8975f5c5SAndroid Build Coastguard Worker)
30*8975f5c5SAndroid Build Coastguard Worker
31*8975f5c5SAndroid Build Coastguard Worker# RE2 (the regular expression library used by GoogleTest)
32*8975f5c5SAndroid Build Coastguard Workerhttp_archive(
33*8975f5c5SAndroid Build Coastguard Worker    name = "com_googlesource_code_re2",
34*8975f5c5SAndroid Build Coastguard Worker    sha256 = "eb2df807c781601c14a260a507a5bb4509be1ee626024cb45acbd57cb9d4032b",
35*8975f5c5SAndroid Build Coastguard Worker    strip_prefix = "re2-2024-07-02",
36*8975f5c5SAndroid Build Coastguard Worker    urls = ["https://github.com/google/re2/releases/download/2024-07-02/re2-2024-07-02.tar.gz"],
37*8975f5c5SAndroid Build Coastguard Worker    repo_mapping = {"@abseil-cpp": "@com_google_absl"},
38*8975f5c5SAndroid Build Coastguard Worker)
39*8975f5c5SAndroid Build Coastguard Worker
40*8975f5c5SAndroid Build Coastguard Worker# Google benchmark.
41*8975f5c5SAndroid Build Coastguard Workerhttp_archive(
42*8975f5c5SAndroid Build Coastguard Worker    name = "com_github_google_benchmark",
43*8975f5c5SAndroid Build Coastguard Worker    sha256 = "6bc180a57d23d4d9515519f92b0c83d61b05b5bab188961f36ac7b06b0d9e9ce",
44*8975f5c5SAndroid Build Coastguard Worker    strip_prefix = "benchmark-1.8.3",
45*8975f5c5SAndroid Build Coastguard Worker    urls = ["https://github.com/google/benchmark/archive/refs/tags/v1.8.3.tar.gz"],
46*8975f5c5SAndroid Build Coastguard Worker)
47*8975f5c5SAndroid Build Coastguard Worker
48*8975f5c5SAndroid Build Coastguard Worker# Bazel Skylib.
49*8975f5c5SAndroid Build Coastguard Workerhttp_archive(
50*8975f5c5SAndroid Build Coastguard Worker    name = "bazel_skylib",
51*8975f5c5SAndroid Build Coastguard Worker    sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
52*8975f5c5SAndroid Build Coastguard Worker    urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz"],
53*8975f5c5SAndroid Build Coastguard Worker)
54*8975f5c5SAndroid Build Coastguard Worker
55*8975f5c5SAndroid Build Coastguard Worker# Bazel platform rules.
56*8975f5c5SAndroid Build Coastguard Workerhttp_archive(
57*8975f5c5SAndroid Build Coastguard Worker    name = "platforms",
58*8975f5c5SAndroid Build Coastguard Worker    urls = [
59*8975f5c5SAndroid Build Coastguard Worker        "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
60*8975f5c5SAndroid Build Coastguard Worker        "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
61*8975f5c5SAndroid Build Coastguard Worker    ],
62*8975f5c5SAndroid Build Coastguard Worker    sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee",
63*8975f5c5SAndroid Build Coastguard Worker)
64