Austin Schuh | d57edc4 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 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 | |
| 17 | workspace(name = "com_google_absl") |
| 18 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 19 | |
| 20 | # GoogleTest/GoogleMock framework. Used by most unit-tests. |
| 21 | http_archive( |
Austin Schuh | b640da9 | 2020-12-31 12:54:13 -0800 | [diff] [blame] | 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/8567b09290fe402cf01923e2131c5635b8ed851b.zip"], # 2020-06-12T22:24:28Z |
| 25 | strip_prefix = "googletest-8567b09290fe402cf01923e2131c5635b8ed851b", |
| 26 | sha256 = "9a8a166eb6a56c7b3d7b19dc2c946fe4778fd6f21c7a12368ad3b836d8f1be48", |
Austin Schuh | d57edc4 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 27 | ) |
| 28 | |
| 29 | # Google benchmark. |
| 30 | http_archive( |
| 31 | name = "com_github_google_benchmark", |
Austin Schuh | b640da9 | 2020-12-31 12:54:13 -0800 | [diff] [blame] | 32 | urls = ["https://github.com/google/benchmark/archive/bf585a2789e30585b4e3ce6baf11ef2750b54677.zip"], # 2020-11-26T11:14:03Z |
| 33 | strip_prefix = "benchmark-bf585a2789e30585b4e3ce6baf11ef2750b54677", |
| 34 | sha256 = "2a778d821997df7d8646c9c59b8edb9a573a6e04c534c01892a40aa524a7b68c", |
Austin Schuh | d57edc4 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 35 | ) |
| 36 | |
| 37 | # C++ rules for Bazel. |
| 38 | http_archive( |
| 39 | name = "rules_cc", |
Austin Schuh | b640da9 | 2020-12-31 12:54:13 -0800 | [diff] [blame] | 40 | sha256 = "9a446e9dd9c1bb180c86977a8dc1e9e659550ae732ae58bd2e8fd51e15b2c91d", |
| 41 | strip_prefix = "rules_cc-262ebec3c2296296526740db4aefce68c80de7fa", |
Austin Schuh | d57edc4 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 42 | urls = [ |
Austin Schuh | b640da9 | 2020-12-31 12:54:13 -0800 | [diff] [blame] | 43 | "https://github.com/bazelbuild/rules_cc/archive/262ebec3c2296296526740db4aefce68c80de7fa.zip", |
Austin Schuh | d57edc4 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 44 | ], |
| 45 | ) |