Skip to content

Commit

Permalink
Remove CcNativeLibraryProvider from CcProtoAspect
Browse files Browse the repository at this point in the history
This provider only ultimately only affects JavaNativeLibraryProvider,
which is unused in Bazel.

PiperOrigin-RevId: 340853132
  • Loading branch information
c-mita authored and copybara-github committed Nov 5, 2020
1 parent ffdda7d commit 5c92b11
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import com.google.devtools.build.lib.rules.cpp.CcLinkingContext;
import com.google.devtools.build.lib.rules.cpp.CcLinkingHelper;
import com.google.devtools.build.lib.rules.cpp.CcLinkingOutputs;
import com.google.devtools.build.lib.rules.cpp.CcNativeLibraryProvider;
import com.google.devtools.build.lib.rules.cpp.CcToolchain;
import com.google.devtools.build.lib.rules.cpp.CcToolchainFeatures.FeatureConfiguration;
import com.google.devtools.build.lib.rules.cpp.CcToolchainProvider;
Expand Down Expand Up @@ -227,8 +226,6 @@ private static class Impl {
libraryToLink = ImmutableList.of(ccLinkingOutputs.getLibraryToLink());
}
}
CcNativeLibraryProvider ccNativeLibraryProvider =
CppHelper.collectNativeCcLibraries(deps, libraryToLink);
CcLinkingContext ccLinkingContext =
ccLinkingHelper.buildCcLinkingContextFromLibrariesToLink(
libraryToLink, compilationInfo.getCcCompilationContext());
Expand All @@ -244,7 +241,6 @@ private static class Impl {
compilationInfo.getCcCompilationOutputs(),
AnalysisUtils.getProviders(deps, CcInfo.PROVIDER)))
.build())
.add(ccNativeLibraryProvider)
.build();
outputGroups =
ImmutableMap.copyOf(
Expand Down

0 comments on commit 5c92b11

Please sign in to comment.