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() |
getLinksgetBuildDeps, getResolvedSymlinks, getRoot, getRootSourcePath, getRuntimeDeps, getType, getVerifyStep, isCacheable, resolveDuplicateRelativePaths, shouldDeleteExistingSymlinkequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitinputBasedRuleKeyIsEnabled, isSupportedcompareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputspublic static HeaderSymlinkTreeWithHeaderMap create(BuildTarget target, ProjectFilesystem filesystem, Path root, com.google.common.collect.ImmutableMap<Path,SourcePath> links)
public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulegetSourcePathToOutput in class SymlinkTreepublic com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps in interface BuildRulegetBuildSteps in class SymlinkTreepublic PathSourcePath getIncludeSourcePath()
HeaderSymlinkTreeIf 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 HeaderSymlinkTreepublic Optional<SourcePath> getHeaderMapSourcePath()
getHeaderMapSourcePath in class HeaderSymlinkTree