Austin Schuh | 36244a1 | 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( |
| 22 | name = "com_google_googletest", |
| 23 | urls = ["https://github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb.zip"], # 2019-01-07 |
| 24 | strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb", |
| 25 | sha256 = "ff7a82736e158c077e76188232eac77913a15dac0b22508c390ab3f88e6d6d86", |
| 26 | ) |
| 27 | |
| 28 | # Google benchmark. |
| 29 | http_archive( |
| 30 | name = "com_github_google_benchmark", |
| 31 | urls = ["https://github.com/google/benchmark/archive/16703ff83c1ae6d53e5155df3bb3ab0bc96083be.zip"], |
| 32 | strip_prefix = "benchmark-16703ff83c1ae6d53e5155df3bb3ab0bc96083be", |
| 33 | sha256 = "59f918c8ccd4d74b6ac43484467b500f1d64b40cc1010daa055375b322a43ba3", |
| 34 | ) |
| 35 | |
| 36 | # C++ rules for Bazel. |
| 37 | http_archive( |
| 38 | name = "rules_cc", |
| 39 | sha256 = "67412176974bfce3f4cf8bdaff39784a72ed709fc58def599d1f68710b58d68b", |
| 40 | strip_prefix = "rules_cc-b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e", |
| 41 | urls = [ |
| 42 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e.zip", |
| 43 | "https://github.com/bazelbuild/rules_cc/archive/b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e.zip", |
| 44 | ], |
| 45 | ) |