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.
121 lines
2.1 KiB
121 lines
2.1 KiB
load("//bazel:api_build_system.bzl", "api_proto_library", "api_go_proto_library", "api_go_grpc_library") |
|
|
|
licenses(["notice"]) # Apache 2 |
|
|
|
package_group( |
|
name = "friends", |
|
includes = [ |
|
"//envoy/api/v2:friends", |
|
], |
|
packages = [ |
|
"//envoy/api/v2/auth", |
|
"//envoy/api/v2/cluster", |
|
"//envoy/api/v2/endpoint", |
|
"//envoy/api/v2/listener", |
|
"//envoy/api/v2/route", |
|
], |
|
) |
|
|
|
api_proto_library( |
|
name = "address", |
|
srcs = ["address.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "address", |
|
proto = ":address", |
|
) |
|
|
|
api_proto_library( |
|
name = "base", |
|
srcs = ["base.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "base", |
|
proto = ":base", |
|
deps = [":address_go_proto"], |
|
) |
|
|
|
api_proto_library( |
|
name = "health_check", |
|
srcs = ["health_check.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
deps = [":base"], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "health_check", |
|
proto = ":health_check", |
|
deps = [":base_go_proto"], |
|
) |
|
|
|
api_proto_library( |
|
name = "config_source", |
|
srcs = ["config_source.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
deps = [ |
|
":base", |
|
":grpc_service", |
|
], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "config_source", |
|
proto = ":config_source", |
|
deps = [ |
|
":base_go_proto", |
|
":grpc_service_go_proto", |
|
], |
|
) |
|
|
|
api_proto_library( |
|
name = "http_uri", |
|
srcs = ["http_uri.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "http_uri", |
|
proto = ":http_uri", |
|
) |
|
|
|
api_proto_library( |
|
name = "grpc_service", |
|
srcs = ["grpc_service.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
deps = [":base"], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "grpc_service", |
|
proto = ":grpc_service", |
|
deps = [":base_go_proto"], |
|
) |
|
|
|
api_proto_library( |
|
name = "protocol", |
|
srcs = ["protocol.proto"], |
|
visibility = [ |
|
":friends", |
|
], |
|
) |
|
|
|
api_go_proto_library( |
|
name = "protocol", |
|
proto = ":protocol", |
|
)
|
|
|