public class SwiftToolchainBuildRule extends NoopBuildRule
BuildRule holds tools and flags to create SwiftPlatform. It's a NoopBuildRule with no build steps or outputs.| Constructor and Description |
|---|
SwiftToolchainBuildRule(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
Tool swiftc,
Optional<Tool> swiftStdlibTool,
com.google.common.collect.ImmutableList<Path> runtimePathsForBundling,
com.google.common.collect.ImmutableList<Path> runtimePathsForLinking,
com.google.common.collect.ImmutableList<Path> staticRuntimePaths,
com.google.common.collect.ImmutableList<Path> runtimeRunPaths) |
| Modifier and Type | Method and Description |
|---|---|
SwiftPlatform |
getSwiftPlatform(SwiftTargetTriple swiftTarget)
Provides SwiftPlatform for given Swift target triple
|
getBuildDeps, getBuildSteps, getSourcePathToOutput, hasBuildSteps, isCacheableequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hashCode, injectFields, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitinputBasedRuleKeyIsEnabled, isSupportedcompareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic SwiftToolchainBuildRule(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, Tool swiftc, Optional<Tool> swiftStdlibTool, com.google.common.collect.ImmutableList<Path> runtimePathsForBundling, com.google.common.collect.ImmutableList<Path> runtimePathsForLinking, com.google.common.collect.ImmutableList<Path> staticRuntimePaths, com.google.common.collect.ImmutableList<Path> runtimeRunPaths)
public SwiftPlatform getSwiftPlatform(SwiftTargetTriple swiftTarget)