| 1 |
workspace(name = "upb") |
| 2 |
|
| 3 |
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 4 |
load("//bazel:workspace_deps.bzl", "upb_deps") |
| 5 |
|
| 6 |
upb_deps() |
| 7 |
register_toolchains("@system_python//:python_toolchain") |
| 8 |
|
| 9 |
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") |
| 10 |
protobuf_deps() |
| 11 |
|
| 12 |
http_archive( |
| 13 |
name = "lua", |
| 14 |
build_file = "//bazel:lua.BUILD", |
| 15 |
sha256 = "b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b", |
| 16 |
strip_prefix = "lua-5.2.4", |
| 17 |
urls = [ |
| 18 |
"https://mirror.bazel.build/www.lua.org/ftp/lua-5.2.4.tar.gz", |
| 19 |
"https://www.lua.org/ftp/lua-5.2.4.tar.gz", |
| 20 |
], |
| 21 |
) |
| 22 |
|
| 23 |
http_archive( |
| 24 |
name = "com_google_googletest", |
| 25 |
urls = ["https://github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb.zip"], # 2019-01-07 |
| 26 |
strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb", |
| 27 |
sha256 = "ff7a82736e158c077e76188232eac77913a15dac0b22508c390ab3f88e6d6d86", |
| 28 |
) |
| 29 |
|
| 30 |
http_archive( |
| 31 |
name = "com_github_google_benchmark", |
| 32 |
urls = ["https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.zip"], |
| 33 |
strip_prefix = "benchmark-0baacde3618ca617da95375e0af13ce1baadea47", |
| 34 |
sha256 = "62e2f2e6d8a744d67e4bbc212fcfd06647080de4253c97ad5c6749e09faf2cb0", |
| 35 |
) |
| 36 |
|
| 37 |
http_archive( |
| 38 |
name = "com_google_googleapis", |
| 39 |
urls = ["https://github.com/googleapis/googleapis/archive/refs/heads/master.zip"], |
| 40 |
build_file = "//benchmarks:BUILD.googleapis", |
| 41 |
strip_prefix = "googleapis-master", |
| 42 |
patch_cmds = ["find google -type f -name BUILD.bazel -delete"], |
| 43 |
) |
| 44 |
|
| 45 |
http_archive( |
| 46 |
name = "rules_fuzzing", |
| 47 |
sha256 = "23bb074064c6f488d12044934ab1b0631e8e6898d5cf2f6bde087adb01111573", |
| 48 |
strip_prefix = "rules_fuzzing-0.3.1", |
| 49 |
urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.3.1.zip"], |
| 50 |
) |
| 51 |
|
| 52 |
load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") |
| 53 |
|
| 54 |
rules_fuzzing_dependencies() |
| 55 |
|
| 56 |
load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") |
| 57 |
|
| 58 |
rules_fuzzing_init() |