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