aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java
index d87fba70a0..97c9aa8d63 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/BazelCppRuleClasses.java
@@ -372,12 +372,17 @@ public class BazelCppRuleClasses {
/*<!-- #BLAZE_RULE($cc_decl_rule).ATTRIBUTE(includes) -->
List of include dirs to be added to the compile line.
${SYNOPSIS}
- Subject to <a href="make-variables.html">"Make variable"</a> substitution.
- Each string is prepended with <code>-iquote</code> and added to <code>COPTS</code>. Unlike
- <a href="#cc_binary.copts">COPTS</a>, these flags are added for this rule
- and every rule that depends on it. (Note: not the rules it depends upon!) Be
- very careful, since this may have far-reaching effects. When in doubt, add
- "-I" flags to <a href="#cc_binary.copts">COPTS</a> instead.
+ <p>Subject to <a href="make-variables.html">"Make variable"</a> substitution.
+ Each string is prepended with <code>-isystem</code> and added to <code>COPTS</code>.
+ Unlike <a href="#cc_binary.copts">COPTS</a>, these flags are added for this rule
+ and every rule that depends on it. (Note: not the rules it depends upon!) Be
+ very careful, since this may have far-reaching effects. When in doubt, add
+ "-I" flags to <a href="#cc_binary.copts">COPTS</a> instead.
+ </p>
+ <p>To use <code>-iquote</code> instead of <code>-isystem</code>, specify
+ <code>--use_isystem_for_includes=false</code> (the flag is undocumented and defaults
+ to <code>true</code>).
+ </p>
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("includes", STRING_LIST))
.add(attr(":lipo_context_collector", LABEL)