Skip to content

Commit

Permalink
Automated rollback of commit 76794bf.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 671679277
  • Loading branch information
jin authored and haberman committed Sep 16, 2024
1 parent 6b20374 commit c2f34d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazel/private/bazel_proto_library_rule.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ def _write_descriptor_set(ctx, proto_info, deps, exports, descriptor_set):

if ctx.attr._experimental_proto_descriptor_sets_include_source_info[BuildSettingInfo].value:
args.add("--include_source_info")
args.add("--retain_options")
if hasattr(ctx.attr, "_retain_options") and ctx.attr._retain_options:
args.add("--retain_options")

strict_deps = ctx.attr._strict_proto_deps[BuildSettingInfo].value
if strict_deps:
Expand Down

0 comments on commit c2f34d6

Please sign in to comment.