Automated rollback of commit 76794bf3ad.

PiperOrigin-RevId: 671679277
pull/18147/head
Jingwen Chen 3 months ago committed by Copybara-Service
parent cf0cf766c6
commit 17673f5b90
  1. 3
      bazel/private/bazel_proto_library_rule.bzl

@ -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: if ctx.attr._experimental_proto_descriptor_sets_include_source_info[BuildSettingInfo].value:
args.add("--include_source_info") 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 strict_deps = ctx.attr._strict_proto_deps[BuildSettingInfo].value
if strict_deps: if strict_deps:

Loading…
Cancel
Save