blob: 0b533562fd4379184eec7ca400fab28a41aa3f12 [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")
Ed Baunton1b783d92018-07-03 19:40:09 -040018load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
19
mistergc2e75482017-09-19 16:54:40 -040020# GoogleTest/GoogleMock framework. Used by most unit-tests.
21http_archive(
Abseil Team2069dc72020-05-28 12:55:24 -070022 name = "com_google_googletest",
Abseil Team55c04eb2020-07-13 12:10:09 -070023 urls = ["https://github.com/google/googletest/archive/8567b09290fe402cf01923e2131c5635b8ed851b.zip"], # 2020-06-12T22:24:28Z
24 strip_prefix = "googletest-8567b09290fe402cf01923e2131c5635b8ed851b",
25 sha256 = "9a8a166eb6a56c7b3d7b19dc2c946fe4778fd6f21c7a12368ad3b836d8f1be48",
mistergc2e75482017-09-19 16:54:40 -040026)
27
Abseil Team26b789f2018-05-04 09:58:56 -070028# Google benchmark.
29http_archive(
30 name = "com_github_google_benchmark",
Abseil Team7aacab82018-05-31 12:26:35 -070031 urls = ["https://github.com/google/benchmark/archive/16703ff83c1ae6d53e5155df3bb3ab0bc96083be.zip"],
32 strip_prefix = "benchmark-16703ff83c1ae6d53e5155df3bb3ab0bc96083be",
Abseil Teamf44e1ee2018-06-15 06:46:22 -070033 sha256 = "59f918c8ccd4d74b6ac43484467b500f1d64b40cc1010daa055375b322a43ba3",
Abseil Team26b789f2018-05-04 09:58:56 -070034)
Yannic36910d32019-08-16 14:38:13 +000035
36# C++ rules for Bazel.
37http_archive(
38 name = "rules_cc",
Abseil Team82079072019-10-30 08:00:44 -070039 sha256 = "9a446e9dd9c1bb180c86977a8dc1e9e659550ae732ae58bd2e8fd51e15b2c91d",
40 strip_prefix = "rules_cc-262ebec3c2296296526740db4aefce68c80de7fa",
Yannic36910d32019-08-16 14:38:13 +000041 urls = [
Abseil Team82079072019-10-30 08:00:44 -070042 "https://github.com/bazelbuild/rules_cc/archive/262ebec3c2296296526740db4aefce68c80de7fa.zip",
Yannic36910d32019-08-16 14:38:13 +000043 ],
44)