Abseil Team | 0e7afdc | 2019-08-19 10:27:18 -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 | |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 17 | workspace(name = "com_google_absl") |
Abseil Team | d61843e | 2021-07-19 17:41:36 -0700 | [diff] [blame] | 18 | |
Ed Baunton | 1b783d9 | 2018-07-03 19:40:09 -0400 | [diff] [blame] | 19 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 20 | |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 21 | # GoogleTest/GoogleMock framework. Used by most unit-tests. |
| 22 | http_archive( |
Derek Mauro | d2c5297 | 2022-06-16 18:45:50 -0700 | [diff] [blame] | 23 | name = "com_google_googletest", # 2022-06-16T20:18:32Z |
| 24 | sha256 = "a1d3123179024258f9c399d45da3e0b09c4aaf8d2c041466ce5b4793a8929f23", |
| 25 | strip_prefix = "googletest-86add13493e5c881d7e4ba77fb91c1f57752b3a4", |
Dino Radakovic | 44050f0 | 2022-06-16 13:17:21 -0700 | [diff] [blame] | 26 | # Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh. |
Derek Mauro | d2c5297 | 2022-06-16 18:45:50 -0700 | [diff] [blame] | 27 | urls = ["https://github.com/google/googletest/archive/86add13493e5c881d7e4ba77fb91c1f57752b3a4.zip"], |
| 28 | ) |
| 29 | |
| 30 | # RE2 (the regular expression library used by GoogleTest) |
| 31 | # Note this must use a commit from the `abseil` branch of the RE2 project. |
| 32 | # https://github.com/google/re2/tree/abseil |
| 33 | http_archive( |
Derek Mauro | e7cbb2a | 2022-06-22 10:39:06 -0700 | [diff] [blame] | 34 | name = "com_googlesource_code_re2", |
| 35 | sha256 = "0a890c2aa0bb05b2ce906a15efb520d0f5ad4c7d37b8db959c43772802991887", |
| 36 | strip_prefix = "re2-a427f10b9fb4622dd6d8643032600aa1b50fbd12", |
| 37 | urls = ["https://github.com/google/re2/archive/a427f10b9fb4622dd6d8643032600aa1b50fbd12.zip"], # 2022-06-09 |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 38 | ) |
| 39 | |
Abseil Team | 26b789f | 2018-05-04 09:58:56 -0700 | [diff] [blame] | 40 | # Google benchmark. |
| 41 | http_archive( |
Derek Mauro | 553491a | 2022-12-12 13:15:40 -0800 | [diff] [blame] | 42 | name = "com_github_google_benchmark", # 2022-12-10T23:42:44Z |
| 43 | sha256 = "a62735f4f4bebc069225aa725dc68eb6836dcdbf550424b5f18e2673e7d40f2c", |
| 44 | strip_prefix = "benchmark-da652a748675b679947710117329e9f77f374f2d", |
| 45 | urls = ["https://github.com/google/benchmark/archive/da652a748675b679947710117329e9f77f374f2d.zip"], |
Abseil Team | 26b789f | 2018-05-04 09:58:56 -0700 | [diff] [blame] | 46 | ) |
Yannic | 36910d3 | 2019-08-16 14:38:13 +0000 | [diff] [blame] | 47 | |
Abseil Team | eb3db08 | 2022-03-23 13:25:43 -0700 | [diff] [blame] | 48 | # Bazel Skylib. |
| 49 | http_archive( |
| 50 | name = "bazel_skylib", |
| 51 | urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz"], |
| 52 | sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728", |
| 53 | ) |
| 54 | |
Abseil Team | 8910297 | 2021-08-13 10:38:41 -0700 | [diff] [blame] | 55 | # Bazel platform rules. |
| 56 | http_archive( |
| 57 | name = "platforms", |
Derek Mauro | e7cbb2a | 2022-06-22 10:39:06 -0700 | [diff] [blame] | 58 | sha256 = "a879ea428c6d56ab0ec18224f976515948822451473a80d06c2e50af0bbe5121", |
| 59 | strip_prefix = "platforms-da5541f26b7de1dc8e04c075c99df5351742a4a2", |
| 60 | urls = ["https://github.com/bazelbuild/platforms/archive/da5541f26b7de1dc8e04c075c99df5351742a4a2.zip"], # 2022-05-27 |
Abseil Team | 8910297 | 2021-08-13 10:38:41 -0700 | [diff] [blame] | 61 | ) |