| 1 |
workspace(name = "highway") |
| 2 |
|
| 3 |
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 4 |
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") |
| 5 |
|
| 6 |
maybe( |
| 7 |
http_archive, |
| 8 |
name = "com_google_googletest", |
| 9 |
urls = ["https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip"], |
| 10 |
sha256 = "8daa1a71395892f7c1ec5f7cb5b099a02e606be720d62f1a6a98f8f8898ec826", |
| 11 |
strip_prefix = "googletest-e2239ee6043f73722e7aa812a459f54a28552929", |
| 12 |
) |
| 13 |
|
| 14 |
# See https://google.github.io/googletest/quickstart-bazel.html |
| 15 |
maybe( |
| 16 |
http_archive, |
| 17 |
name = "rules_cc", |
| 18 |
urls = ["https://github.com/bazelbuild/rules_cc/archive/40548a2974f1aea06215272d9c2b47a14a24e556.zip"], |
| 19 |
sha256 = "56ac9633c13d74cb71e0546f103ce1c58810e4a76aa8325da593ca4277908d72", |
| 20 |
strip_prefix = "rules_cc-40548a2974f1aea06215272d9c2b47a14a24e556", |
| 21 |
) |
| 22 |
|
| 23 |
# Need recent version for config_setting_group |
| 24 |
maybe( |
| 25 |
http_archive, |
| 26 |
name = "bazel_skylib", |
| 27 |
urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz"], |
| 28 |
) |
| 29 |
|
| 30 |
maybe( |
| 31 |
http_archive, |
| 32 |
name = "rules_license", |
| 33 |
urls = [ |
| 34 |
"https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz", |
| 35 |
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz", |
| 36 |
], |
| 37 |
sha256 = "6157e1e68378532d0241ecd15d3c45f6e5cfd98fc10846045509fb2a7cc9e381", |
| 38 |
) |