aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-01-25 10:36:14 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-01-25 16:51:19 +0000
commitbaeb945e1a9937a47df666db6ed17211c394842b (patch)
tree15007353b5b9777f58c711259ad8b5d6e5c9a16f /src
parent25f03d88b28efd47fb5cfefb7a4b477454d8a2d6 (diff)
Fix remaining links in inline native rule docs.
-- MOS_MIGRATED_REVID=112931111
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/config/ConfigRuleClasses.java8
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java4
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java6
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/genquery/GenQueryRule.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/ObjcOptionsRule.java2
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java6
7 files changed, 15 insertions, 15 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/config/ConfigRuleClasses.java b/src/main/java/com/google/devtools/build/lib/analysis/config/ConfigRuleClasses.java
index 591a38abdf..fb096edfd0 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/config/ConfigRuleClasses.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/config/ConfigRuleClasses.java
@@ -210,8 +210,8 @@ ${ATTRIBUTE_SIGNATURE}
<p>
Matches an expected configuration state (expressed as Blaze flags) for the purpose of triggering
- configurable attributes. See <a href="#select">select</a> for how to consume this rule and
- <a href="common-definitions.html#configurable-attributes">
+ configurable attributes. See <a href="functions.html#select">select</a> for how to consume this
+ rule and <a href="common-definitions.html#configurable-attributes">
Configurable attributes</a> for an overview of the general feature.
${ATTRIBUTE_DEFINITION}
@@ -247,8 +247,8 @@ config_setting(
<h4 id="config_setting_notes">Notes</h4>
-<p>See <a href="#select">select</a> for policies on what happens depending on how many rules match
- an invocation.
+<p>See <a href="functions.html#select">select</a> for policies on what happens depending on how
+ many rules match an invocation.
</p>
<p>For flags that support shorthand forms (e.g. <code>--compilation_mode</code> vs.
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java
index 914fefd76c..c7e2b7035e 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java
@@ -53,7 +53,7 @@ public final class AndroidBinaryOnlyRule implements RuleDefinition {
// higher number.
// This overrides the value declared in the manifest.
//
-// Subject to <a href="#make_variables">"Make" variable</a> substitution.
+// Subject to <a href="make-variables.html">"Make" variable</a> substitution.
// ${SYNOPSIS}
// Suggested practice is to declare a varrdef and reference it here so that a particular build
// invocation will be used to generate apks for release.
@@ -64,7 +64,7 @@ public final class AndroidBinaryOnlyRule implements RuleDefinition {
// users. The version_code attribute holds the significant version number used internally.
// This overrides the value declared in the manifest.
//
-// Subject to <a href="#make_variables">"Make" variable</a> substitution.
+// Subject to <a href="make-variables.html">"Make" variable</a> substitution.
// ${SYNOPSIS}
// Suggested practice is to declare a varrdef and reference it here so that a particular build
// invocation will be used to generate apks for release.
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java
index b6cb4c2bd4..32b10b4ac7 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java
@@ -56,7 +56,7 @@ public final class AndroidLibraryBaseRule implements RuleDefinition {
</p>
<p>If <code>srcs</code> is omitted, then any dependency specified in
<code>deps</code> is exported from this rule (see
- <a href="#java_library.exports">java_library's exports</a> for more
+ <a href="java.html#java_library.exports">java_library's exports</a> for more
information about exporting dependencies). However, this behavior will be
deprecated soon; try not to rely on it.
</p>
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java
index f4704d329b..01ebee10b0 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java
@@ -494,7 +494,7 @@ public final class AndroidRuleClasses {
/* <!-- #BLAZE_RULE($android_base).ATTRIBUTE(javacopts) -->
Extra compiler options for this target.
${SYNOPSIS}
- Subject to <a href="#make_variables">"Make variable"</a> substitution and
+ Subject to <a href="make-variables.html">"Make variable"</a> substitution and
<a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>.
<p>
These compiler options are passed to javac after the global compiler options.</p>
@@ -581,7 +581,7 @@ public final class AndroidRuleClasses {
/* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(dexopts) -->
Additional command-line flags for the dx tool when generating classes.dex.
${SYNOPSIS}
- Subject to <a href="#make_variables">"Make variable"</a> substitution and
+ Subject to <a href="make-variables.html">"Make variable"</a> substitution and
<a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("dexopts", STRING_LIST))
@@ -665,7 +665,7 @@ com/google/common/base/Objects.class
//base will be loaded into memory. This lib[ruleName].so can be loaded
via System.loadLibrary as normal.</li>
<li><code>legacy_native_support = -1</code>: Linking is controlled by the
- <a href="blaze-user-manual.html#flag--legacy_android_native_support">
+ <a href="../blaze-user-manual.html#flag--legacy_android_native_support">
--[no]legacy_android_native_support</a> Blaze flag.</li>
</ul>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
diff --git a/src/main/java/com/google/devtools/build/lib/rules/genquery/GenQueryRule.java b/src/main/java/com/google/devtools/build/lib/rules/genquery/GenQueryRule.java
index 29e0387c87..9ea2116960 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/genquery/GenQueryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/genquery/GenQueryRule.java
@@ -79,7 +79,7 @@ ${ATTRIBUTE_SIGNATURE}
<p>
<code>genquery()</code> runs a query specified in the
- <a href="blaze-query-v2.html">Blaze query language</a> and dumps the result
+ <a href="../blaze-query-v2.html">Blaze query language</a> and dumps the result
into a file.
</p>
<p>
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcOptionsRule.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcOptionsRule.java
index cf02dd510c..9557f22ec6 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcOptionsRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcOptionsRule.java
@@ -42,7 +42,7 @@ public class ObjcOptionsRule implements RuleDefinition {
infoplist files to merge with the final binary's infoplist. This
corresponds to a single file <i>appname</i>-Info.plist in Xcode
projects.
- <i>(List of <a href="build-ref.html#labels">labels</a>; optional)</i>
+ <i>(List of <a href="../build-ref.html#labels">labels</a>; optional)</i>
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("infoplists", BuildType.LABEL_LIST)
.allowedFileTypes(PLIST_TYPE))
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java
index 7ee1ca8240..c8229a2e6f 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java
@@ -167,7 +167,7 @@ public class ObjcRuleClasses {
AppleConfiguration appleConfiguration = ruleContext.getFragment(AppleConfiguration.class);
XcodeConfigProvider xcodeConfigProvider =
ruleContext.getPrerequisite(":xcode_config", Mode.HOST, XcodeConfigProvider.class);
-
+
ImmutableMap.Builder<String, String> envBuilder = ImmutableMap.<String, String>builder()
.putAll(appleConfiguration.getEnvironmentForIosAction())
.putAll(AppleToolchain.appleHostSystemEnv(xcodeConfigProvider));
@@ -241,7 +241,7 @@ public class ObjcRuleClasses {
/* <!-- #BLAZE_RULE($objc_opts_rule).ATTRIBUTE(copts) -->
Extra flags to pass to the compiler.
${SYNOPSIS}
- Subject to <a href="#make_variables">"Make variable"</a> substitution and
+ Subject to <a href="make-variables.html">"Make variable"</a> substitution and
<a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>.
These flags will only apply to this target, and not those upon which
it depends, or those which depend on it.
@@ -710,7 +710,7 @@ public class ObjcRuleClasses {
passed not only the compiler for this target (as <code>copts</code>
are) but also to all <code>objc_</code> dependers of this target.
${SYNOPSIS}
- Subject to <a href="#make_variables">"Make variable"</a> substitution and
+ Subject to <a href="make-variables.html">"Make variable"</a> substitution and
<a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>.
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("defines", STRING_LIST))