workspace(name = "upb") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") load("//bazel:workspace_deps.bzl", "upb_deps") upb_deps() http_archive( name = "lua", build_file = "//bazel:lua.BUILD", sha256 = "b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b", strip_prefix = "lua-5.2.4", urls = [ "https://mirror.bazel.build/www.lua.org/ftp/lua-5.2.4.tar.gz", "https://www.lua.org/ftp/lua-5.2.4.tar.gz", ], ) http_archive( name = "com_google_googletest", urls = ["https://github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb.zip"], # 2019-01-07 strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb", sha256 = "ff7a82736e158c077e76188232eac77913a15dac0b22508c390ab3f88e6d6d86", ) http_archive( name = "com_github_google_benchmark", sha256 = "59f918c8ccd4d74b6ac43484467b500f1d64b40cc1010daa055375b322a43ba3", strip_prefix = "benchmark-16703ff83c1ae6d53e5155df3bb3ab0bc96083be", urls = ["https://github.com/google/benchmark/archive/16703ff83c1ae6d53e5155df3bb3ab0bc96083be.zip"], ) new_git_repository( name = "com_google_googleapis", remote = "https://github.com/googleapis/googleapis.git", branch = "master", build_file = "//benchmarks:BUILD.googleapis", patch_cmds = ["find google -type f -name BUILD.bazel -delete"], )