public class PlatformLockedNativeLinkableGroup extends Object implements NativeLinkable
| Modifier and Type | Class and Description |
|---|---|
static class |
PlatformLockedNativeLinkableGroup.Cache
A simple cache for a group's
NativeLinkable objects so that we don't recreate them a
ton of times. |
| Constructor and Description |
|---|
PlatformLockedNativeLinkableGroup(LegacyNativeLinkableGroup underlyingGroup,
CxxPlatform cxxPlatform) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNativeLinkableInputpublic PlatformLockedNativeLinkableGroup(LegacyNativeLinkableGroup underlyingGroup, CxxPlatform cxxPlatform)
public BuildTarget getBuildTarget()
getBuildTarget in interface NativeLinkableBuildTarget for this linkable.public Optional<NativeLinkTarget> getNativeLinkTarget(ActionGraphBuilder graphBuilder, boolean includePrivateLinkerFlags)
NativeLinkableNativeLinkTarget. Most implementations of NativeLinkable are
themselves instances of NativeLinkTarget.getNativeLinkTarget in interface NativeLinkableincludePrivateLinkerFlags - whether to include rule-specific non-exported linker flags.public Iterable<? extends NativeLinkable> getNativeLinkableDeps(ActionGraphBuilder graphBuilder)
getNativeLinkableDeps in interface NativeLinkablepublic Iterable<? extends NativeLinkable> getNativeLinkableExportedDeps(ActionGraphBuilder graphBuilder)
getNativeLinkableExportedDeps in interface NativeLinkablepublic NativeLinkableInput getNativeLinkableInput(Linker.LinkableDepType type, boolean forceLinkWhole, ActionGraphBuilder graphBuilder, TargetConfiguration targetConfiguration)
NativeLinkablegetNativeLinkableInput in interface NativeLinkablepublic NativeLinkableGroup.Linkage getPreferredLinkage()
getPreferredLinkage in interface NativeLinkableNativeLinkableGroup.Linkage for this linkable.public com.google.common.collect.ImmutableMap<String,SourcePath> getSharedLibraries(ActionGraphBuilder graphBuilder)
getSharedLibraries in interface NativeLinkableCxxPlatform.public boolean supportsOmnibusLinking()
supportsOmnibusLinking in interface NativeLinkableNativeLinkable supports omnibus linking.public Iterable<? extends Arg> getExportedLinkerFlags(ActionGraphBuilder graphBuilder)
getExportedLinkerFlags in interface NativeLinkablepublic Iterable<? extends Arg> getExportedPostLinkerFlags(ActionGraphBuilder graphBuilder)
getExportedPostLinkerFlags in interface NativeLinkablepublic String getRuleType()
getRuleType in interface NativeLinkablepublic boolean shouldBeLinkedInAppleTestAndHost()
shouldBeLinkedInAppleTestAndHost in interface NativeLinkablepublic boolean isPrebuiltSOForHaskellOmnibus(ActionGraphBuilder graphBuilder)
isPrebuiltSOForHaskellOmnibus in interface NativeLinkablepublic boolean supportsOmnibusLinkingForHaskell()
supportsOmnibusLinkingForHaskell in interface NativeLinkablepublic boolean forceLinkWholeForHaskellOmnibus()
forceLinkWholeForHaskellOmnibus in interface NativeLinkable