public class PosixNmSymbolNameTool extends Object implements SymbolNameTool
SymbolNameTool
implementation using a POSIX-compliant `nm` utility
(http://pubs.opengroup.org/onlinepubs/009696699/utilities/nm.html).Constructor and Description |
---|
PosixNmSymbolNameTool(ToolProvider nm) |
Modifier and Type | Method and Description |
---|---|
SourcePath |
createUndefinedSymbolsFile(ProjectFilesystem projectFilesystem,
BuildRuleParams baseParams,
ActionGraphBuilder graphBuilder,
TargetConfiguration targetConfiguration,
BuildTarget target,
Iterable<? extends SourcePath> linkerInputs)
Creates a
BuildRule which extracts all undefined symbols from the given inputs. |
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration) |
public PosixNmSymbolNameTool(ToolProvider nm)
public SourcePath createUndefinedSymbolsFile(ProjectFilesystem projectFilesystem, BuildRuleParams baseParams, ActionGraphBuilder graphBuilder, TargetConfiguration targetConfiguration, BuildTarget target, Iterable<? extends SourcePath> linkerInputs)
SymbolNameTool
BuildRule
which extracts all undefined symbols from the given inputs.createUndefinedSymbolsFile
in interface SymbolNameTool
target
- the name to use when creating the rule which extracts the symbols.SourcePath
referring to a file containing all undefined symbols, one per
line, in the given inputs.public Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
getParseTimeDeps
in interface SymbolNameTool