|
|
|
workspace(name = "envoy_api")
|
|
|
|
|
|
|
|
load("//bazel:repositories.bzl", "api_dependencies")
|
|
|
|
|
|
|
|
api_dependencies()
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_protobuf",
|
|
|
|
sha256 = "0cc6607e2daa675101e9b7398a436f09167dffb8ca0489b0307ff7260498c13c",
|
|
|
|
strip_prefix = "protobuf-3.5.0",
|
|
|
|
urls = ["https://github.com/google/protobuf/archive/v3.5.0.tar.gz"],
|
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "com_google_protobuf_cc",
|
|
|
|
sha256 = "0cc6607e2daa675101e9b7398a436f09167dffb8ca0489b0307ff7260498c13c",
|
|
|
|
strip_prefix = "protobuf-3.5.0",
|
|
|
|
urls = ["https://github.com/google/protobuf/archive/v3.5.0.tar.gz"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bind(
|
|
|
|
name = "six",
|
|
|
|
actual = "@six_archive//:six",
|
|
|
|
)
|
|
|
|
|
|
|
|
new_http_archive(
|
|
|
|
name = "six_archive",
|
|
|
|
build_file = "@com_google_protobuf//:six.BUILD",
|
|
|
|
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
|
|
|
|
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
|
|
|
|
)
|
|
|
|
|
|
|
|
git_repository(
|
|
|
|
name = "io_bazel_rules_go",
|
|
|
|
remote = "https://github.com/bazelbuild/rules_go.git",
|
|
|
|
commit = "4374be38e9a75ff5957c3922adb155d32086fe14",
|
|
|
|
)
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
load("@com_lyft_protoc_gen_validate//bazel:go_proto_library.bzl", "go_proto_repositories")
|
|
|
|
go_proto_repositories(shared=0)
|
|
|
|
go_rules_dependencies()
|
|
|
|
go_register_toolchains()
|
|
|
|
load("@io_bazel_rules_go//proto:def.bzl", "proto_register_toolchains")
|
|
|
|
proto_register_toolchains()
|