2017-09-05 15:15:10 +00:00
|
|
|
workspace(name = "com_google_protobuf")
|
2018-12-11 19:58:26 +00:00
|
|
|
|
2020-03-02 23:15:22 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
2019-07-26 11:14:19 +00:00
|
|
|
local_repository(
|
|
|
|
name = "com_google_protobuf_examples",
|
|
|
|
path = "examples",
|
|
|
|
)
|
|
|
|
|
2020-03-02 23:15:22 +00:00
|
|
|
http_archive(
|
|
|
|
name = "com_google_googletest",
|
|
|
|
sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
|
|
|
|
strip_prefix = "googletest-release-1.10.0",
|
|
|
|
urls = [
|
|
|
|
"https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
|
|
|
|
"https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
|
|
|
|
],
|
2019-08-06 19:12:06 +00:00
|
|
|
)
|
|
|
|
|
2021-03-14 09:58:03 +00:00
|
|
|
http_archive(
|
|
|
|
name = "com_github_google_benchmark",
|
|
|
|
sha256 = "2a778d821997df7d8646c9c59b8edb9a573a6e04c534c01892a40aa524a7b68c",
|
|
|
|
strip_prefix = "benchmark-bf585a2789e30585b4e3ce6baf11ef2750b54677",
|
|
|
|
urls = [
|
|
|
|
"https://github.com/google/benchmark/archive/bf585a2789e30585b4e3ce6baf11ef2750b54677.zip",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-02-26 18:07:55 +00:00
|
|
|
# Load common dependencies.
|
2021-10-28 17:34:54 +00:00
|
|
|
load("//:protobuf_deps.bzl", "PROTOBUF_MAVEN_ARTIFACTS", "protobuf_deps")
|
2019-02-26 18:07:55 +00:00
|
|
|
protobuf_deps()
|
2017-09-05 15:15:10 +00:00
|
|
|
|
2015-06-18 23:45:27 +00:00
|
|
|
bind(
|
2016-02-12 02:11:10 +00:00
|
|
|
name = "python_headers",
|
|
|
|
actual = "//util/python:python_headers",
|
2015-06-18 23:45:27 +00:00
|
|
|
)
|
|
|
|
|
2021-04-20 18:36:32 +00:00
|
|
|
load("@rules_jvm_external//:defs.bzl", "maven_install")
|
2021-10-12 22:37:40 +00:00
|
|
|
|
2021-10-28 17:34:54 +00:00
|
|
|
maven_install(
|
|
|
|
artifacts = PROTOBUF_MAVEN_ARTIFACTS,
|
|
|
|
# For updating instructions, see:
|
|
|
|
# https://github.com/bazelbuild/rules_jvm_external#updating-maven_installjson
|
|
|
|
maven_install_json = "//:maven_install.json",
|
2021-04-20 18:36:32 +00:00
|
|
|
repositories = [
|
2019-12-02 17:35:00 +00:00
|
|
|
"https://repo1.maven.org/maven2",
|
2021-04-22 19:12:41 +00:00
|
|
|
"https://repo.maven.apache.org/maven2",
|
2019-12-02 17:35:00 +00:00
|
|
|
],
|
2016-03-11 01:50:25 +00:00
|
|
|
)
|
|
|
|
|
2021-04-21 23:26:05 +00:00
|
|
|
load("@maven//:defs.bzl", "pinned_maven_install")
|
2019-03-03 20:57:33 +00:00
|
|
|
|
2021-10-28 17:34:54 +00:00
|
|
|
pinned_maven_install()
|
2020-01-15 18:27:35 +00:00
|
|
|
|
2021-04-22 01:05:18 +00:00
|
|
|
# For `cc_proto_blacklist_test` and `build_test`.
|
2020-01-15 18:27:35 +00:00
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
2021-10-28 17:34:54 +00:00
|
|
|
|
2020-01-15 18:27:35 +00:00
|
|
|
bazel_skylib_workspace()
|
2021-11-04 22:57:29 +00:00
|
|
|
|
|
|
|
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
|
|
|
|
rules_pkg_dependencies()
|
2022-01-12 21:54:30 +00:00
|
|
|
|
|
|
|
# For `kt_jvm_library`
|
|
|
|
load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
|
|
|
|
kotlin_repositories()
|
|
|
|
|
|
|
|
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
|
|
|
|
kt_register_toolchains()
|
2022-04-25 22:00:57 +00:00
|
|
|
|
|
|
|
load("@upb//bazel:workspace_deps.bzl", "upb_deps")
|
|
|
|
upb_deps()
|