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