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, isCacheable
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hashCode, injectFields, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
inputBasedRuleKeyIsEnabled, isSupported
compareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public 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)