• 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")
18load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
19
20# GoogleTest/GoogleMock framework. Used by most unit-tests.
21http_archive(
22    name = "com_google_googletest",
23    # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
24    urls = ["https://github.com/google/googletest/archive/5bcd8e3bb929714e031a542d303f818e5a5af45d.zip"],  # 2021-06-08T22:36:38Z
25    strip_prefix = "googletest-5bcd8e3bb929714e031a542d303f818e5a5af45d",
26    sha256 = "3adecb6686ac7367452561dca518fad5a990fb09c5a961bfa1836f15eb774348",
27)
28
29# Google benchmark.
30http_archive(
31    name = "com_github_google_benchmark",
32    urls = ["https://github.com/google/benchmark/archive/7d0d9061d83b663ce05d9de5da3d5865a3845b79.zip"],  # 2021-05-11T11:56:00Z
33    strip_prefix = "benchmark-7d0d9061d83b663ce05d9de5da3d5865a3845b79",
34    sha256 = "a07789754963e3ea3a1e13fed3a4d48fac0c5f7f749c5065f6c30cd2c1529661",
35)
36
37# C++ rules for Bazel.
38http_archive(
39    name = "rules_cc",
40    urls = ["https://github.com/bazelbuild/rules_cc/archive/ab5395627c80e025e824bd005d41f96b20618b9d.zip"],  # 2021-05-10T15:35:04Z
41    strip_prefix = "rules_cc-ab5395627c80e025e824bd005d41f96b20618b9d",
42    sha256 = "f3908cb40a6577ab0d1ef9e00052739bf69b4313fa7d20b4d61d4521ea67abf3",
43)
44