From ad835fb69aab2af390dfcd699c26ed3aeca1cd50 Mon Sep 17 00:00:00 2001 From: plf Date: Tue, 30 Jan 2018 06:36:18 -0800 Subject: 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 PiperOrigin-RevId: 183824395 --- .../devtools/build/lib/rules/cpp/CcLibraryHelper.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/main/java/com/google/devtools') 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. */ @@ -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. * -- cgit v1.2.3