| 1 |
# Copyright 2022 Google LLC |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
# you may not use this file except in compliance with the License. |
| 5 |
# You may obtain a copy of the License at |
| 6 |
# |
| 7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
# See the License for the specific language governing permissions and |
| 13 |
# limitations under the License. |
| 14 |
|
| 15 |
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 16 |
|
| 17 |
# GoogleTest/GoogleMock framework. Used by most unit-tests. |
| 18 |
http_archive( |
| 19 |
name = "com_google_googletest", # 2021-07-09T13:28:13Z |
| 20 |
sha256 = "12ef65654dc01ab40f6f33f9d02c04f2097d2cd9fbe48dc6001b29543583b0ad", |
| 21 |
strip_prefix = "googletest-8d51ffdfab10b3fba636ae69bc03da4b54f8c235", |
| 22 |
urls = ["https://github.com/google/googletest/archive/8d51ffdfab10b3fba636ae69bc03da4b54f8c235.zip"], |
| 23 |
) |
| 24 |
|
| 25 |
# Google benchmark. |
| 26 |
http_archive( |
| 27 |
name = "com_github_google_benchmark", # 2021-09-20T09:19:51Z |
| 28 |
sha256 = "62e2f2e6d8a744d67e4bbc212fcfd06647080de4253c97ad5c6749e09faf2cb0", |
| 29 |
strip_prefix = "benchmark-0baacde3618ca617da95375e0af13ce1baadea47", |
| 30 |
urls = ["https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.zip"], |
| 31 |
) |
| 32 |
|
| 33 |
# Abseil for our modified Abseil tests. |
| 34 |
http_archive( |
| 35 |
name = "com_google_absl", |
| 36 |
urls = ["https://github.com/abseil/abseil-cpp/archive/36db0e4b695756c948dbb45568b43a62ba5883ec.zip"], |
| 37 |
strip_prefix = "abseil-cpp-36db0e4b695756c948dbb45568b43a62ba5883ec", |
| 38 |
) |