aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java
diff options
context:
space:
mode:
authorGravatar gregce <gregce@google.com>2017-10-04 18:11:22 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-10-06 19:44:32 +0200
commite1b09f2f072231ed882c1de364fe3ea5c1f7d5af (patch)
tree9ce72e65e4f46153c743481d20e2ddc4bd580723 /src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java
parentf8c5520a20cdc31363ee7e37fce12f0e23adf39e (diff)
Categorize build options for BuildConfiguration.
PiperOrigin-RevId: 171017483
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java
index 1a608a5e8f..2475099a5f 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaOptions.java
@@ -233,8 +233,8 @@ public class JavaOptions extends FragmentOptions {
defaultValue = "default",
converter = StrictDepsConverter.class,
category = "semantics",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ documentationCategory = OptionDocumentationCategory.INPUT_STRICTNESS,
+ effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS, OptionEffectTag.EAGERNESS_TO_EXIT},
help =
"If true, checks that a Java target explicitly declares all directly used "
+ "targets as dependencies.",
@@ -462,7 +462,7 @@ public class JavaOptions extends FragmentOptions {
name = "strict_deps_java_protos",
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS, OptionEffectTag.EAGERNESS_TO_EXIT},
help =
"When 'strict-deps' is on, .java files that depend on classes not declared in their rule's "
+ "'deps' fail to build. In other words, it's forbidden to depend on classes obtained "