Skip to content

Commit

Permalink
rules_go//proto : use go_grpc_v2 instead of go_grpc (#94)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
  • Loading branch information
mmorel-35 authored Apr 23, 2024
1 parent 7e7c9ea commit 555b57e
Show file tree
Hide file tree
Showing 5 changed files with 271 additions and 223 deletions.
2 changes: 1 addition & 1 deletion bazel/api_build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def xds_proto_package(

compilers = ["@io_bazel_rules_go//proto:go_proto", "@com_envoyproxy_protoc_gen_validate//bazel/go:pgv_plugin_go"]
if has_services:
compilers = ["@io_bazel_rules_go//proto:go_grpc", "@com_envoyproxy_protoc_gen_validate//bazel/go:pgv_plugin_go"]
compilers = ["@io_bazel_rules_go//proto:go_proto", "@io_bazel_rules_go//proto:go_grpc_v2", "@com_envoyproxy_protoc_gen_validate//bazel/go:pgv_plugin_go"]

# Because RBAC proro depends on googleapis syntax.proto and checked.proto,
# which share the same go proto library, it causes duplicative dependencies.
Expand Down
111 changes: 0 additions & 111 deletions go/udpa/service/orca/v1/orca.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

135 changes: 135 additions & 0 deletions go/udpa/service/orca/v1/orca_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

111 changes: 0 additions & 111 deletions go/xds/service/orca/v3/orca.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 555b57e

Please sign in to comment.