aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/query2
diff options
context:
space:
mode:
authorGravatar Dan Fabulich <DanFabulich@gmail.com>2018-07-05 16:08:06 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-05 16:10:02 -0700
commit1d35ca03b8a1c431937a9be74a9efedc15b5707a (patch)
treef1f0c20ac99ec54c450de0d238d5213758c4cbe0 /src/main/java/com/google/devtools/build/lib/query2
parent2b62182c9854321396d7d287e8b645261d9cda82 (diff)
Replace instances of Blaze with Bazel.
PiperOrigin-RevId: 203300374 Change-Id: Iaa47f870ab2e0cad40a202aad2c7f9430f73c856 PiperOrigin-RevId: 203407392
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2')
-rw-r--r--src/main/java/com/google/devtools/build/lib/query2/CommonQueryOptions.java48
1 files changed, 23 insertions, 25 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/query2/CommonQueryOptions.java b/src/main/java/com/google/devtools/build/lib/query2/CommonQueryOptions.java
index c1261d057d..027f8e4eb6 100644
--- a/src/main/java/com/google/devtools/build/lib/query2/CommonQueryOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/query2/CommonQueryOptions.java
@@ -82,15 +82,14 @@ public class CommonQueryOptions extends OptionsBase {
public boolean includeHostDeps;
@Option(
- name = "implicit_deps",
- defaultValue = "true",
- documentationCategory = OptionDocumentationCategory.QUERY,
- effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS},
- help =
- "If enabled, implicit dependencies will be included in the dependency graph over "
- + "which the query operates. An implicit dependency is one that is not explicitly "
- + "specified in the BUILD file but added by blaze."
- )
+ name = "implicit_deps",
+ defaultValue = "true",
+ documentationCategory = OptionDocumentationCategory.QUERY,
+ effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS},
+ help =
+ "If enabled, implicit dependencies will be included in the dependency graph over "
+ + "which the query operates. An implicit dependency is one that is not explicitly "
+ + "specified in the BUILD file but added by bazel.")
public boolean includeImplicitDeps;
/** Return the current options as a set of QueryEnvironment settings. */
@@ -168,21 +167,20 @@ public class CommonQueryOptions extends OptionsBase {
}
@Option(
- name = "aspect_deps",
- converter = AspectResolutionModeConverter.class,
- defaultValue = "conservative",
- documentationCategory = OptionDocumentationCategory.QUERY,
- effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS},
- help =
- "How to resolve aspect dependencies when the output format is one of {xml,proto,record}. "
- + "'off' means no aspect dependencies are resolved, 'conservative' (the default) means "
- + "all declared aspect dependencies are added regardless of whether they are viable "
- + "given the rule class of direct dependencies, 'precise' means that only those "
- + "aspects are added that are possibly active given the rule class of the direct "
- + "dependencies. Note that precise mode requires loading other packages to evaluate "
- + "a single target thus making it slower than the other modes. Also note that even "
- + "precise mode is not completely precise: the decision whether to compute an aspect "
- + "is decided in the analysis phase, which is not run during 'blaze query'."
- )
+ name = "aspect_deps",
+ converter = AspectResolutionModeConverter.class,
+ defaultValue = "conservative",
+ documentationCategory = OptionDocumentationCategory.QUERY,
+ effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS},
+ help =
+ "How to resolve aspect dependencies when the output format is one of {xml,proto,record}. "
+ + "'off' means no aspect dependencies are resolved, 'conservative' (the default) "
+ + "means all declared aspect dependencies are added regardless of whether they are "
+ + "given the rule class of direct dependencies, 'precise' means that only those "
+ + "aspects are added that are possibly active given the rule class of the direct "
+ + "dependencies. Note that precise mode requires loading other packages to evaluate "
+ + "a single target thus making it slower than the other modes. Also note that even "
+ + "precise mode is not completely precise: the decision whether to compute an aspect "
+ + "is decided in the analysis phase, which is not run during 'bazel query'.")
public AspectResolver.Mode aspectDeps;
}