Skip to content

Commit

Permalink
feat: Add transport option to csharp_gapic_library rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Aug 16, 2022
1 parent 966b7cf commit b994d52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rules_csharp_gapic/csharp_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def csharp_gapic_library(
common_resources_config = None,
service_yaml = None,
rest_numeric_enums = False,
transport = None,
generator_binary = "//rules_csharp_gapic:csharp_gapic_generator_binary",
**kwargs):
# Build zip file of gapic-generator output
Expand All @@ -55,6 +56,8 @@ def csharp_gapic_library(
plugin_file_args[service_yaml] = "service-config"
if rest_numeric_enums:
plugin_file_args[rest_numeric_enums] = "rest-numeric-enums"
if transport:
plugin_file_args[transport] = "transport"
proto_custom_library(
name = name_srcjar,
deps = srcs,
Expand Down

0 comments on commit b994d52

Please sign in to comment.