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.
55 lines
1.5 KiB
55 lines
1.5 KiB
workspace(name = "envoy_api") |
|
|
|
new_git_repository( |
|
name = "googleapis", |
|
# Head of master at 5/14. |
|
commit = "5c6df0cd18c6a429eab739fb711c27f6e1393366", |
|
remote = "https://github.com/googleapis/googleapis.git", |
|
build_file_content = """ |
|
load("@protobuf//:protobuf.bzl", "cc_proto_library", "py_proto_library") |
|
|
|
cc_proto_library( |
|
name = "http_api_protos", |
|
srcs = [ |
|
"google/api/annotations.proto", |
|
"google/api/http.proto", |
|
], |
|
default_runtime = "@protobuf//:protobuf", |
|
protoc = "@protobuf//:protoc", |
|
visibility = ["//visibility:public"], |
|
deps = ["@protobuf//:cc_wkt_protos"], |
|
) |
|
|
|
py_proto_library( |
|
name = "http_api_protos_py", |
|
srcs = [ |
|
"google/api/annotations.proto", |
|
"google/api/http.proto", |
|
], |
|
include = ".", |
|
default_runtime = "@protobuf//:protobuf_python", |
|
protoc = "@protobuf//:protoc", |
|
visibility = ["//visibility:public"], |
|
deps = ["@protobuf//:protobuf_python"], |
|
) |
|
""", |
|
) |
|
|
|
git_repository( |
|
name = "protobuf", |
|
# HEAD of master 5/8. |
|
commit = "455b61c6b0f39ac269b26969877dd3c6f3e32270", |
|
remote = "https://github.com/google/protobuf.git", |
|
) |
|
|
|
new_http_archive( |
|
name = "six_archive", |
|
build_file = "@protobuf//:six.BUILD", |
|
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a", |
|
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55", |
|
) |
|
|
|
bind( |
|
name = "six", |
|
actual = "@six_archive//:six", |
|
)
|
|
|