Skip to content

Commit

Permalink
feat: add proto3_optional to proto_custom_library (#3222)
Browse files Browse the repository at this point in the history
This adds the proto3_optional enablement flag to proto_custom_library
which in turn enables it in proto_library_with_info and micro-Bazel
GAPIC targets.
  • Loading branch information
noahdietz committed Jun 5, 2020
1 parent fab708c commit 2f88ad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def _proto_custom_library_impl(ctx):

arguments = \
ctx.attr.extra_args + \
["--experimental_allow_proto3_optional"] + \
calculated_args + \
["-I{0}={1}".format(path_ignoring_repository(imp), imp.path) for imp in imports.to_list()] + \
[path_ignoring_repository(src) for src in srcs.to_list()]
Expand Down

0 comments on commit 2f88ad4

Please sign in to comment.