public interface ImplicitDepsInferringDescription<T>
SourcePath
or BuildRule
. However, in some cases like GenruleDescription
, the AbstractGenruleDescription.CommonArg.getCmd()
argument contains build
targets in a specific format. Any Description
that
implements this interface can modify its implicit deps by poking at the raw build rule params.Modifier and Type | Method and Description |
---|---|
void |
findDepsForTargetFromConstructorArgs(BuildTarget buildTarget,
CellNameResolver cellRoots,
T constructorArg,
com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder,
com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder) |
void findDepsForTargetFromConstructorArgs(BuildTarget buildTarget, CellNameResolver cellRoots, T constructorArg, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder)