@Deprecated public class NdkLibraryDescription extends Object implements DescriptionWithTargetGraph<NdkLibraryDescriptionArg>, ImplicitDepsInferringDescription<NdkLibraryDescriptionArg>
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<MacroExpander<? extends Macro,?>> |
MACRO_EXPANDERS
Deprecated.
|
Constructor and Description |
---|
NdkLibraryDescription(ToolchainProvider toolchainProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
NdkLibrary |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
NdkLibraryDescriptionArg args)
Deprecated.
Create a
BuildRule for the given BuildRuleParams . |
void |
findDepsForTargetFromConstructorArgs(BuildTarget buildTarget,
CellNameResolver cellRoots,
NdkLibraryDescriptionArg constructorArg,
com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder,
com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder)
Deprecated.
|
protected com.google.common.collect.ImmutableSortedSet<SourcePath> |
findSources(ProjectFilesystem filesystem,
Path buildRulePath)
Deprecated.
|
Class<NdkLibraryDescriptionArg> |
getConstructorArgType()
Deprecated.
The type of the constructor argument that is used by this description to create a rule
|
protected static Path |
getGeneratedMakefilePath(BuildTarget target,
ProjectFilesystem filesystem)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
producesCacheableSubgraph
getConfigurationDeps
public static final com.google.common.collect.ImmutableList<MacroExpander<? extends Macro,?>> MACRO_EXPANDERS
public NdkLibraryDescription(ToolchainProvider toolchainProvider)
public Class<NdkLibraryDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<NdkLibraryDescriptionArg>
protected static Path getGeneratedMakefilePath(BuildTarget target, ProjectFilesystem filesystem)
protected com.google.common.collect.ImmutableSortedSet<SourcePath> findSources(ProjectFilesystem filesystem, Path buildRulePath)
public NdkLibrary createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, NdkLibraryDescriptionArg args)
DescriptionWithTargetGraph
BuildRule
for the given BuildRuleParams
. Note that the BuildTarget
referred to in the params
contains the Flavor
to create.createBuildRule
in interface DescriptionWithTargetGraph<NdkLibraryDescriptionArg>
args
- A constructor argument, of type as returned by BaseDescription.getConstructorArgType()
.BuildRule
that describes the default flavour of the rule being described.public void findDepsForTargetFromConstructorArgs(BuildTarget buildTarget, CellNameResolver cellRoots, NdkLibraryDescriptionArg constructorArg, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder)
findDepsForTargetFromConstructorArgs
in interface ImplicitDepsInferringDescription<NdkLibraryDescriptionArg>