Google is committed to advancing racial equity for Black communities. See how.

fx gen

run gn gen against the Zircon and Fuchsia build directories.

Execute a `gn gen` against the Zircon build
If successful, execute a `gn gen` against the Fuchsia build.

In abstract, if FUCHSIA_BUILD_DIR is out/x64, this is simply:
  scripts/build-zircon.sh -g &&\
  gn gen out/x64
It is useful if one has by some mechanism deleted the ninja artifacts, but
not the args.gn, e.g. if one CTRL+C's a regen step (gn bug).

gen source code