aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2016-01-05 13:35:26 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-01-07 13:42:05 +0000
commit88fa594c780170e1443ef6e8f12916d95f6b9a9a (patch)
tree9c4e9e566e658933b854a289c2cb488990023957 /src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java
parent7b324effe5a054b48132bf7f2894525f03b2b5c6 (diff)
Remove Constants.ALLOW_CC_INCLUDE_SCANNING and handle the logic in CppSemantics instead.
-- MOS_MIGRATED_REVID=111406721
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java
index bb7bd649a2..c4b240cfb8 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java
@@ -1119,9 +1119,6 @@ public final class CppLinkAction extends AbstractAction {
this.linkstamps.addAll(linkstamps.keySet());
// Add inputs for linkstamping.
if (!linkstamps.isEmpty()) {
- // This will just be the compiler unless include scanning is disabled, in which case it will
- // include all header files. Since we insist that linkstamps declare all their headers, all
- // header files would be overkill, but that only happens when include scanning is disabled.
addTransitiveCompilationInputs(toolchain.getCompile());
for (Map.Entry<Artifact, ImmutableList<Artifact>> entry : linkstamps.entrySet()) {
addCompilationInputs(entry.getValue());