public class CGoGenSource extends AbstractBuildRule
| Constructor and Description |
|---|
CGoGenSource(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
SourcePathRuleFinder ruleFinder,
Preprocessor preprocessor,
com.google.common.collect.ImmutableSet<SourcePath> cgoSrcs,
HeaderSymlinkTree headerSymlinkTree,
Tool cgo,
com.google.common.collect.ImmutableList<String> cgoCompilerFlags,
PreprocessorFlags ppFlags,
Preprocessor cpp,
com.facebook.buck.features.go.GoPlatform platform) |
| Modifier and Type | Method and Description |
|---|---|
SortedSet<BuildRule> |
getBuildDeps() |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
com.google.common.collect.ImmutableList<SourcePath> |
getCFiles() |
com.google.common.collect.ImmutableList<SourcePath> |
getCgoFiles() |
SourcePath |
getExportHeader() |
com.google.common.collect.ImmutableList<SourcePath> |
getGoFiles() |
SourcePath |
getSourcePathToOutput() |
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic CGoGenSource(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, SourcePathRuleFinder ruleFinder, Preprocessor preprocessor, com.google.common.collect.ImmutableSet<SourcePath> cgoSrcs, HeaderSymlinkTree headerSymlinkTree, Tool cgo, com.google.common.collect.ImmutableList<String> cgoCompilerFlags, PreprocessorFlags ppFlags, Preprocessor cpp, com.facebook.buck.features.go.GoPlatform platform)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public SortedSet<BuildRule> getBuildDeps()
deps argument for this build rule in the build file in which it was defined.
However, there are special cases where other arguments pull in implicit dependencies
(e.g., the keystore argument in android_binary). In these cases, the
implicit dependencies are also included in the set returned by this method. The value of
the original deps argument, as defined in the build file, must be accessed via a
custom getter provided by the build rule.
public SourcePath getSourcePathToOutput()
public com.google.common.collect.ImmutableList<SourcePath> getCFiles()
public com.google.common.collect.ImmutableList<SourcePath> getCgoFiles()
public com.google.common.collect.ImmutableList<SourcePath> getGoFiles()
public SourcePath getExportHeader()