public final class HeaderSymlinkTreeWithHeaderMap extends HeaderSymlinkTree
category, root, type
Modifier and Type | Method and Description |
---|---|
static HeaderSymlinkTreeWithHeaderMap |
create(BuildTarget target,
ProjectFilesystem filesystem,
Path root,
com.google.common.collect.ImmutableMap<Path,SourcePath> links) |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
Optional<SourcePath> |
getHeaderMapSourcePath() |
PathSourcePath |
getIncludeSourcePath()
Get path to use as an include path to get access to the files in the tree.
|
SourcePath |
getSourcePathToOutput() |
getLinks
getBuildDeps, getResolvedSymlinks, getRoot, getRootSourcePath, getRuntimeDeps, getType, getVerifyStep, isCacheable, resolveDuplicateRelativePaths, shouldDeleteExistingSymlink
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
inputBasedRuleKeyIsEnabled, isSupported
compareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
public static HeaderSymlinkTreeWithHeaderMap create(BuildTarget target, ProjectFilesystem filesystem, Path root, com.google.common.collect.ImmutableMap<Path,SourcePath> links)
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
getSourcePathToOutput
in class SymlinkTree
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
getBuildSteps
in class SymlinkTree
public PathSourcePath getIncludeSourcePath()
HeaderSymlinkTree
If HeaderSymlinkTree.getHeaderMapSourcePath()
is present, then the path it returns needs to be passed
as an include path as well and it has to be passed before the path returned from this method.
This path should not be added to rulekeys as a SourcePath (in some cases it points to the entire buck-out).
getIncludeSourcePath
in class HeaderSymlinkTree
public Optional<SourcePath> getHeaderMapSourcePath()
getHeaderMapSourcePath
in class HeaderSymlinkTree