public class GoBinary extends AbstractBuildRuleWithDeclaredAndExtraDeps implements BinaryBuildRule, HasRuntimeDeps
| Constructor and Description |
|---|
GoBinary(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
com.google.common.collect.ImmutableSortedSet<SourcePath> resources,
SymlinkTree linkTree,
GoCompile mainObject,
Tool linker,
Linker cxxLinker,
com.facebook.buck.features.go.GoLinkStep.LinkMode linkMode,
com.google.common.collect.ImmutableList<String> linkerFlags,
com.google.common.collect.ImmutableList<Arg> cxxLinkerArgs,
com.facebook.buck.features.go.GoPlatform platform) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
Tool |
getExecutableCommand(OutputLabel outputLabel)
Command to execute the output of this rule.
|
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
SourcePath |
getSourcePathToOutput() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic GoBinary(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, com.google.common.collect.ImmutableSortedSet<SourcePath> resources, SymlinkTree linkTree, GoCompile mainObject, Tool linker, Linker cxxLinker, com.facebook.buck.features.go.GoLinkStep.LinkMode linkMode, com.google.common.collect.ImmutableList<String> linkerFlags, com.google.common.collect.ImmutableList<Arg> cxxLinkerArgs, com.facebook.buck.features.go.GoPlatform platform)
public Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRulegetExecutableCommand in interface BinaryBuildRuleoutputLabel - associated with the executablepublic com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps in interface BuildRulepublic SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps in interface HasRuntimeDeps