public class ProviderBasedUnresolvedCxxPlatform extends Object implements UnresolvedCxxPlatform, ProviderBackedCxxPlatform
CxxPlatform
that is specified as a cxx_toolchain build target.Constructor and Description |
---|
ProviderBasedUnresolvedCxxPlatform(UnconfiguredBuildTarget unconfiguredBuildTarget,
Flavor flavor) |
Modifier and Type | Method and Description |
---|---|
Flavor |
getFlavor() |
Iterable<? extends BuildTarget> |
getLinkerParseTimeDeps(TargetConfiguration targetConfiguration)
This probably shouldn't exist.
|
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration)
Returns the parse-time deps required for this platform.
|
CxxPlatform |
resolve(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration)
Resolves the platform.
|
UnresolvedCxxPlatform |
withFlavor(Flavor hostFlavor)
Returns this provider as a different flavor.
|
public ProviderBasedUnresolvedCxxPlatform(UnconfiguredBuildTarget unconfiguredBuildTarget, Flavor flavor)
public CxxPlatform resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
UnresolvedCxxPlatform
resolve
in interface UnresolvedCxxPlatform
public Flavor getFlavor()
getFlavor
in interface FlavorConvertible
getFlavor
in interface UnresolvedCxxPlatform
public UnresolvedCxxPlatform withFlavor(Flavor hostFlavor)
UnresolvedCxxPlatform
withFlavor
in interface UnresolvedCxxPlatform
public Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
UnresolvedCxxPlatform
getParseTimeDeps
in interface UnresolvedCxxPlatform
public Iterable<? extends BuildTarget> getLinkerParseTimeDeps(TargetConfiguration targetConfiguration)
UnresolvedCxxPlatform
getLinkerParseTimeDeps
in interface UnresolvedCxxPlatform