aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibraryHelper.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibraryHelper.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibraryHelper.java
index 62bbc15ed6..1dfa570b35 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibraryHelper.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibraryHelper.java
@@ -966,7 +966,7 @@ public final class CcLibraryHelper {
}
/**
- * Disables checking that the deps actually are C++ rules. By default, the {@link #build} method
+ * Disables checking that the deps actually are C++ rules. By default, the {@link #compile} method
* uses {@link LanguageDependentFragment.Checker#depSupportsLanguage} to check that all deps
* provide C++ providers.
*/
@@ -1017,20 +1017,6 @@ public final class CcLibraryHelper {
}
/**
- * Create the C++ compile and link actions, and the corresponding compilation related providers.
- *
- * @throws RuleErrorException
- */
- public Info build() throws RuleErrorException, InterruptedException {
- Info.CompilationInfo compilationInfo = compile();
- Info.LinkingInfo linkingInfo =
- link(
- compilationInfo.getCcCompilationOutputs(), compilationInfo.getCppCompilationContext());
-
- return new Info(compilationInfo, linkingInfo);
- }
-
- /**
* Create the C++ compile actions, and the corresponding compilation related providers.
*
* @throws RuleErrorException