• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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",  # 2022-01-28T15:27:11Z
24    sha256 = "eb70a6d4520f940956a6b3e37d205d92736bb104c6a1b2b9f82bfc41bd7a2b34",
25    strip_prefix = "googletest-28e1da21d8d677bc98f12ccc7fc159ff19e8e817",
26    # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
27    urls = ["https://github.com/google/googletest/archive/28e1da21d8d677bc98f12ccc7fc159ff19e8e817.zip"],
28)
29
30# Google benchmark.
31http_archive(
32    name = "com_github_google_benchmark",  # 2021-09-20T09:19:51Z
33    sha256 = "62e2f2e6d8a744d67e4bbc212fcfd06647080de4253c97ad5c6749e09faf2cb0",
34    strip_prefix = "benchmark-0baacde3618ca617da95375e0af13ce1baadea47",
35    urls = ["https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.zip"],
36)
37
38# Bazel Skylib.
39http_archive(
40    name = "bazel_skylib",
41    urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz"],
42    sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728",
43)
44
45# Bazel platform rules.
46http_archive(
47    name = "platforms",
48    sha256 = "b601beaf841244de5c5a50d2b2eddd34839788000fa1be4260ce6603ca0d8eb7",
49    strip_prefix = "platforms-98939346da932eef0b54cf808622f5bb0928f00b",
50    urls = ["https://github.com/bazelbuild/platforms/archive/98939346da932eef0b54cf808622f5bb0928f00b.zip"],
51)
52