public class StaticUnresolvedCxxPlatform extends Object implements UnresolvedCxxPlatform
CxxPlatform
that is fully specified before parsing/configuration
(specified in .buckconfig, for example).Constructor and Description |
---|
StaticUnresolvedCxxPlatform(CxxPlatform cxxPlatform) |
Modifier and Type | Method and Description |
---|---|
CxxPlatform |
getCxxPlatform() |
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 flavor)
Returns this provider as a different flavor.
|
public StaticUnresolvedCxxPlatform(CxxPlatform cxxPlatform)
public CxxPlatform resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
UnresolvedCxxPlatform
resolve
in interface UnresolvedCxxPlatform
public CxxPlatform getCxxPlatform()
public Flavor getFlavor()
getFlavor
in interface FlavorConvertible
getFlavor
in interface UnresolvedCxxPlatform
public UnresolvedCxxPlatform withFlavor(Flavor flavor)
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