You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
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"], |
|
) |
|
|
|
# Needed for ``bazel fetch`` to work with @com_google_protobuf |
|
# https://github.com/google/protobuf/blob/v3.5.0/util/python/BUILD#L6-L9 |
|
bind( |
|
name = "python_headers", |
|
actual = "@com_google_protobuf//util/python:python_headers", |
|
) |
|
|
|
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", |
|
) |
|
|
|
http_archive( |
|
name = "io_bazel_rules_go", |
|
url = "https://github.com/bazelbuild/rules_go/releases/download/0.8.1/rules_go-0.8.1.tar.gz", |
|
sha256 = "90bb270d0a92ed5c83558b2797346917c46547f6f7103e648941ecdb6b9d0e72", |
|
) |
|
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()
|
|
|