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)
UnresolvedCxxPlatformresolve in interface UnresolvedCxxPlatformpublic Flavor getFlavor()
getFlavor in interface FlavorConvertiblegetFlavor in interface UnresolvedCxxPlatformpublic UnresolvedCxxPlatform withFlavor(Flavor hostFlavor)
UnresolvedCxxPlatformwithFlavor in interface UnresolvedCxxPlatformpublic Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
UnresolvedCxxPlatformgetParseTimeDeps in interface UnresolvedCxxPlatformpublic Iterable<? extends BuildTarget> getLinkerParseTimeDeps(TargetConfiguration targetConfiguration)
UnresolvedCxxPlatformgetLinkerParseTimeDeps in interface UnresolvedCxxPlatform