blob: c9aa8cafa02da66bc31b009b909c4d427457ae6f [file] [log] [blame]
Abseil Team0e7afdc2019-08-19 10:27:18 -07001#
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
mistergc2e75482017-09-19 16:54:40 -040017workspace(name = "com_google_absl")
Abseil Teamd61843e2021-07-19 17:41:36 -070018
Ed Baunton1b783d92018-07-03 19:40:09 -040019load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
20
mistergc2e75482017-09-19 16:54:40 -040021# GoogleTest/GoogleMock framework. Used by most unit-tests.
22http_archive(
Abseil Teamd61843e2021-07-19 17:41:36 -070023 name = "com_google_googletest", # 2021-07-09T13:28:13Z
24 sha256 = "12ef65654dc01ab40f6f33f9d02c04f2097d2cd9fbe48dc6001b29543583b0ad",
25 strip_prefix = "googletest-8d51ffdfab10b3fba636ae69bc03da4b54f8c235",
Abseil Teameb317a72020-10-21 00:01:29 -070026 # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
Abseil Teamd61843e2021-07-19 17:41:36 -070027 urls = ["https://github.com/google/googletest/archive/8d51ffdfab10b3fba636ae69bc03da4b54f8c235.zip"],
mistergc2e75482017-09-19 16:54:40 -040028)
29
Abseil Team26b789f2018-05-04 09:58:56 -070030# Google benchmark.
31http_archive(
Abseil Team4a995b12021-10-08 07:49:05 -070032 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"],
Abseil Team26b789f2018-05-04 09:58:56 -070036)
Yannic36910d32019-08-16 14:38:13 +000037
Abseil Team89102972021-08-13 10:38:41 -070038# Bazel platform rules.
39http_archive(
40 name = "platforms",
41 sha256 = "b601beaf841244de5c5a50d2b2eddd34839788000fa1be4260ce6603ca0d8eb7",
42 strip_prefix = "platforms-98939346da932eef0b54cf808622f5bb0928f00b",
43 urls = ["https://github.com/bazelbuild/platforms/archive/98939346da932eef0b54cf808622f5bb0928f00b.zip"],
44)