Skip to content

Commit

Permalink
Fix usage of params files in _swift_proto_compile
Browse files Browse the repository at this point in the history
  • Loading branch information
bbreier-sc committed Jul 2, 2024
1 parent fb035b5 commit 84b5827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proto/swift_proto_compiler.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ def _swift_proto_compile(label, actions, swift_proto_compiler_info, additional_c

# Build the arguments for protoc:
arguments = actions.args()
arguments.use_param_file("--param=%s")
arguments.set_param_file_format("multiline")
arguments.use_param_file("@%s")

# Add the plugin argument with the provided name to namespace all of the options:
plugin_name_argument = "--plugin=protoc-gen-{}={}".format(
Expand Down

0 comments on commit 84b5827

Please sign in to comment.