| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_archive( |
| name = "bazel_skylib", |
| strip_prefix = "bazel-skylib-main", |
| urls = ["https://github.com/bazelbuild/bazel-skylib/archive/main.zip"], |
| ) |
| |
| # Override bazel's default `platforms`, since googletest requires a newer version. This can be removed once we use a newer Bazel version. |
| http_archive( |
| name = "platforms", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz", |
| "https://github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz", |
| ], |
| sha256 = "8150406605389ececb6da07cbcb509d5637a3ab9a24bc69b1101531367d89d74", |
| ) |
| |
| # `platforms` needs `rules_license` on Windows. This can be removed if `platforms` above is removed. |
| http_archive( |
| name = "rules_license", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.8/rules_license-0.0.8.tar.gz", |
| "https://github.com/bazelbuild/rules_license/releases/download/0.0.8/rules_license-0.0.8.tar.gz", |
| ], |
| sha256 = "241b06f3097fd186ff468832150d6cc142247dc42a32aaefb56d0099895fd229", |
| ) |
| |
| local_repository( |
| name = "spirv_headers", |
| path = "external/spirv-headers", |
| ) |
| |
| local_repository( |
| name = "com_google_googletest", |
| path = "external/googletest", |
| ) |
| |
| local_repository( |
| name = "com_googlesource_code_re2", |
| path = "external/re2", |
| ) |
| |
| local_repository( |
| name = "com_google_effcee", |
| path = "external/effcee", |
| ) |
| |
| local_repository( |
| name = "com_google_absl", |
| path = "external/abseil_cpp", |
| ) |