Emphasize that java_xxx_proto_library.strict_deps should not be used for new code.
MOS_MIGRATED_REVID=147096200
@@ -73,11 +73,7 @@ public class BazelJavaLiteProtoLibraryRule implements RuleDefinition {
.allowedRuleClasses("proto_library")
.allowedFileTypes()
.aspect(javaProtoAspect, ASPECT_PARAMETERS))
- /* <!-- #BLAZE_RULE(java_lite_proto_library).ATTRIBUTE(strict_deps) -->
- When True, this rule only exposes the protos that it wraps directly. Depending on indirect
- protos will break the build and print an 'add_dep' command to correct the build.
- <!-- #END_BLAZE_RULE.ATTRIBUTE --> */
- .add(attr("strict_deps", BOOLEAN).value(true))
+ .add(attr("strict_deps", BOOLEAN).value(true).undocumented("for migration"))
.add(
attr(PROTO_TOOLCHAIN_ATTR, LABEL)
.mandatoryNativeProviders(
