Skip to content

Commit

Permalink
fix build rule
Browse files Browse the repository at this point in the history
  • Loading branch information
markdroth committed Oct 17, 2024
1 parent d30c197 commit d582773
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/proto/grpc/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,15 @@ genrule(
cmd = "sed 's/messages.proto/messages_gen.proto/' $< > $@",
)

# The test_gen_proto rule below expects the name that grpc_proto_library
# would have generated for the dependency, but the dependency was actually
# generated by a separate proto_library rule, so we use an alias to make
# things work.
alias(
name = "_empty_proto_only",
actual = "empty_proto",
)

# Consume generated files in srcs and in deps
grpc_proto_library(
name = "test_gen_proto",
Expand Down

0 comments on commit d582773

Please sign in to comment.