2017-09-05 15:15:10 +00:00
|
|
|
workspace(name = "com_google_protobuf")
|
2018-12-11 19:58:26 +00:00
|
|
|
|
2019-07-26 11:14:19 +00:00
|
|
|
local_repository(
|
|
|
|
name = "com_google_protobuf_examples",
|
|
|
|
path = "examples",
|
|
|
|
)
|
|
|
|
|
2019-08-06 19:12:06 +00:00
|
|
|
local_repository(
|
|
|
|
name = "submodule_gmock",
|
|
|
|
path = "third_party/googletest",
|
|
|
|
)
|
|
|
|
|
2018-06-12 12:03:16 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
2019-02-26 18:07:55 +00:00
|
|
|
load("//:protobuf_deps.bzl", "protobuf_deps")
|
|
|
|
|
|
|
|
# Load common dependencies.
|
|
|
|
protobuf_deps()
|
2019-12-02 17:35:00 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
|
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
|
|
|
)
|
|
|
|
|
|
|
|
bind(
|
2016-02-12 02:11:10 +00:00
|
|
|
name = "gtest",
|
2018-03-26 20:54:32 +00:00
|
|
|
actual = "@submodule_gmock//:gtest",
|
2015-06-18 23:45:27 +00:00
|
|
|
)
|
2015-10-22 20:38:17 +00:00
|
|
|
|
|
|
|
bind(
|
2016-02-12 02:11:10 +00:00
|
|
|
name = "gtest_main",
|
2018-03-26 20:54:32 +00:00
|
|
|
actual = "@submodule_gmock//:gtest_main",
|
2016-02-12 02:11:10 +00:00
|
|
|
)
|
|
|
|
|
2019-12-02 17:35:00 +00:00
|
|
|
jvm_maven_import_external(
|
2016-09-09 16:45:37 +00:00
|
|
|
name = "guava_maven",
|
|
|
|
artifact = "com.google.guava:guava:18.0",
|
2019-12-02 17:35:00 +00:00
|
|
|
artifact_sha256 = "d664fbfc03d2e5ce9cab2a44fb01f1d0bf9dfebeccc1a473b1f9ea31f79f6f99",
|
|
|
|
server_urls = [
|
|
|
|
"https://jcenter.bintray.com/",
|
|
|
|
"https://repo1.maven.org/maven2",
|
|
|
|
],
|
2016-03-11 01:50:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
bind(
|
|
|
|
name = "guava",
|
|
|
|
actual = "@guava_maven//jar",
|
|
|
|
)
|
|
|
|
|
2019-12-02 17:35:00 +00:00
|
|
|
jvm_maven_import_external(
|
2016-09-09 16:45:37 +00:00
|
|
|
name = "gson_maven",
|
2016-09-20 22:04:48 +00:00
|
|
|
artifact = "com.google.code.gson:gson:2.7",
|
2019-12-02 17:35:00 +00:00
|
|
|
artifact_sha256 = "2d43eb5ea9e133d2ee2405cc14f5ee08951b8361302fdd93494a3a997b508d32",
|
|
|
|
server_urls = [
|
|
|
|
"https://jcenter.bintray.com/",
|
|
|
|
"https://repo1.maven.org/maven2",
|
|
|
|
],
|
2016-03-11 01:50:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
bind(
|
|
|
|
name = "gson",
|
|
|
|
actual = "@gson_maven//jar",
|
|
|
|
)
|
2019-03-03 20:57:33 +00:00
|
|
|
|
2019-12-02 17:35:00 +00:00
|
|
|
jvm_maven_import_external(
|
2019-03-03 20:57:33 +00:00
|
|
|
name = "error_prone_annotations_maven",
|
|
|
|
artifact = "com.google.errorprone:error_prone_annotations:2.3.2",
|
2019-12-02 17:35:00 +00:00
|
|
|
artifact_sha256 = "357cd6cfb067c969226c442451502aee13800a24e950fdfde77bcdb4565a668d",
|
|
|
|
server_urls = [
|
|
|
|
"https://jcenter.bintray.com/",
|
|
|
|
"https://repo1.maven.org/maven2",
|
|
|
|
],
|
2019-03-03 20:57:33 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
bind(
|
|
|
|
name = "error_prone_annotations",
|
|
|
|
actual = "@error_prone_annotations_maven//jar",
|
|
|
|
)
|
2020-01-15 18:27:35 +00:00
|
|
|
|
|
|
|
# For `cc_proto_blacklist_test`.
|
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
|
|
|
|
|
|
|
bazel_skylib_workspace()
|