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

Build fx subcommands

Command Description
args manually edit args.gn for the current build directory
build Run Ninja to build Fuchsia
clean clean the current Fuchsia and Zircon build artifacts
clean-build clean the build directory and then perform a full build
cmc Component manifest compiler
fargo Fargo is a prototype Fuchsia-specific wrapper around Cargo
fetch-build-artifacts TODO(fxbug.dev/60881): under construction.
gen run gn gen against the Fuchsia build directories.
get-build-dir print the current fuchsia build directory
gn meta-build system that generates build files for Ninja
go Manage Go source code
goma_auth set up authentication for the Goma distributed compilation client
goma_ctl control the local Goma distributed compilation client
jq5 JQ for JSON5
list-boards list boards available for building
list-packages list packages are built
list-products list products available for building
ninja directly run the build system. Don't use for regular workflows.
ninjatrace2json Collect Ninja trace information for analysis in chrome://tracing
self-build build the minimal host dependencies to run fx main workflows
set set up a build directory
set-build-dir set the default build directory used by other fx commands
use re-use a previous build directory set up by fx set
check-deps checks dependency graph in areas
compdb DEPRECATED
goma manage Goma distributed compilation client
smoke-test Finds and runs tests affected by the current change.
symbol-index manipulate the symbol-index file