3.1.32.2.4. waf_tools.size.size
- class waf_tools.size.size(*k, **kw)
Bases:
TaskTask that runs the
SIZEtool on a single file and writes the report.- Environment variables used:
SIZE: Path to the
armsizeexecutable.SIZEFLAGS: Additional flags passed to
armsize.
- run() int
Execute the
SIZEcommand and write its stdout to the target file.Constructs the command line from
SIZEandSIZEFLAGSenvironment variables plus the input path, executes it viabld.cmd_and_log, and writes the captured stdout (containing the section size table) to the target.size.logfile.- Returns:
0 on success, 1 if
armsizereports an error on stderr.