• 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",  # 2021-07-09T13:28:13Z
24    sha256 = "12ef65654dc01ab40f6f33f9d02c04f2097d2cd9fbe48dc6001b29543583b0ad",
25    strip_prefix = "googletest-8d51ffdfab10b3fba636ae69bc03da4b54f8c235",
26    # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
27    urls = ["https://github.com/google/googletest/archive/8d51ffdfab10b3fba636ae69bc03da4b54f8c235.zip"],
28)
29
30# Google benchmark.
31http_archive(
32    name = "com_github_google_benchmark",  # 2021-07-01T09:02:54Z
33    sha256 = "1cb4b97a90aa1fd9c8e412a6bc29fc13fc140162a4a0db3811af40befd8c9ea5",
34    strip_prefix = "benchmark-e451e50e9b8af453f076dec10bd6890847f1624e",
35    urls = ["https://github.com/google/benchmark/archive/e451e50e9b8af453f076dec10bd6890847f1624e.zip"],
36)
37
38# C++ rules for Bazel.
39http_archive(
40    name = "rules_cc",  # 2021-06-07T16:41:49Z
41    sha256 = "b295cad8c5899e371dde175079c0a2cdc0151f5127acc92366a8c986beb95c76",
42    strip_prefix = "rules_cc-daf6ace7cfeacd6a83e9ff2ed659f416537b6c74",
43    urls = ["https://github.com/bazelbuild/rules_cc/archive/daf6ace7cfeacd6a83e9ff2ed659f416537b6c74.zip"],
44)
45
46# Bazel platform rules.
47http_archive(
48    name = "platforms",
49    sha256 = "b601beaf841244de5c5a50d2b2eddd34839788000fa1be4260ce6603ca0d8eb7",
50    strip_prefix = "platforms-98939346da932eef0b54cf808622f5bb0928f00b",
51    urls = ["https://github.com/bazelbuild/platforms/archive/98939346da932eef0b54cf808622f5bb0928f00b.zip"],
52)
53