diff options
author | 2017-02-10 00:20:14 +0000 | |
---|---|---|
committer | 2017-02-10 15:35:47 +0000 | |
commit | 3779418b415c4ccf73f738334eb46bd4aab35c5a (patch) | |
tree | e1636f8b5b94c0f89829aeab04ae46e594b123a3 /src/main | |
parent | febf1307f5320d5b8677d586bdb6ebf62d5be0fa (diff) |
Emphasize that java_xxx_proto_library.strict_deps should not be used for new code.
--
PiperOrigin-RevId: 147096200
MOS_MIGRATED_REVID=147096200
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/java/proto/BazelJavaLiteProtoLibraryRule.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/proto/BazelJavaLiteProtoLibraryRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/proto/BazelJavaLiteProtoLibraryRule.java index c2bfe94bfc..fe814609cc 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/proto/BazelJavaLiteProtoLibraryRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/proto/BazelJavaLiteProtoLibraryRule.java @@ -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( |