commit | ee77832717e9f664c190cc089d5f28d683c32877 | [log] [tgz] |
---|---|---|
author | plf <plf@google.com> | Tue Sep 04 06:40:28 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Tue Sep 04 06:41:55 2018 -0700 |
tree | e93ab26a7806344b291b77ed5b822dea72df3883 | |
parent | 205e545078e62812fc65fc2f71a92644afee5737 [diff] |
C++: Removes unneeded line in CcBinary The interface output gets added to the action outputs anyway. RELNOTES:none PiperOrigin-RevId: 211448311
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java index 0d00e1e..e4f4b68 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java
@@ -382,7 +382,6 @@ ruleContext.getConfiguration(), LinkTargetType.INTERFACE_DYNAMIC_LIBRARY); linkActionBuilder.setInterfaceOutput(interfaceLibrary); - linkActionBuilder.addActionOutput(interfaceLibrary); } } }