public class GoTestCoverSource extends AbstractBuildRule
Constructor and Description |
---|
GoTestCoverSource(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
SourcePathRuleFinder ruleFinder,
com.facebook.buck.features.go.GoPlatform platform,
com.google.common.collect.ImmutableSet<SourcePath> srcs,
Tool cover,
com.facebook.buck.features.go.GoTestCoverStep.Mode coverageMode) |
Modifier and Type | Method and Description |
---|---|
SortedSet<BuildRule> |
getBuildDeps() |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
com.google.common.collect.ImmutableSet<SourcePath> |
getCoveredSources() |
SourcePath |
getSourcePathToOutput() |
com.google.common.collect.ImmutableSet<SourcePath> |
getTestSources() |
com.google.common.collect.ImmutableMap<String,Path> |
getVariables() |
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
public GoTestCoverSource(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, SourcePathRuleFinder ruleFinder, com.facebook.buck.features.go.GoPlatform platform, com.google.common.collect.ImmutableSet<SourcePath> srcs, Tool cover, com.facebook.buck.features.go.GoTestCoverStep.Mode coverageMode)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public com.google.common.collect.ImmutableSet<SourcePath> getCoveredSources()
public com.google.common.collect.ImmutableSet<SourcePath> getTestSources()
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()