C++: Removes last calls to CCLibraryHelper.build().
In a follow-up CL, CcLibraryHelper will be split in two classes, one for
compilation and one for linking.
SKIP_KOKORO=mac-flakes
RELNOTES:none
@@ -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.
*/
@@ -1016,20 +1016,6 @@ public final class CcLibraryHelper {
return this;
}
- /**
- * 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.
*
