aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
diff options
context:
space:
mode:
authorGravatar plf <plf@google.com>2018-01-30 06:36:18 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-30 06:38:14 -0800
commitad835fb69aab2af390dfcd699c26ed3aeca1cd50 (patch)
tree9d3bffa4257f40bf79fd70e58763d6fd2bf6fb60 /src/main/java/com/google/devtools
parent8bda143a5322f87b3d7163c414429a22bd35a546 (diff)
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
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