This folder contains a set of utilities to manage build packages, i.e. files defined under //<layer>/packages
.
This tool verifies that a given layer's packages/
directory is properly organized. It checks that:
all
which contains all files in that subdirectory;The tool relies on a JSON validator commonly built as part of the Fuchsia build. The validator can be found at:
out/<build_type>/<host_toolchain>/json_validator
This tool generates a visualization of the package hierarchy for a given package file. The resulting graph file uses the DOT format.
In order to generate an image file from the graph file, use the following command:
dot -Tpng <graph.dot> -o graph.png