Build fx subcommands

Command Description
args manually edit args.gn for the current build directory
bazel Run experimental Bazel build for Fuchsia platform tree
bazel-tool Run the bazel-tool script in the Fuchsia Bazel workspace.
build Run Ninja to build Fuchsia
clean clean the current Fuchsia build artifacts
clean-build Clean the build directory and then perform a full build
cleandead Delete stale generated files in the build output directory.
cleandead-build Delete stale generated files 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
get-src-dir print the Fuchsia source directory (checkout root, aka "//")
get-workspace-dir print the Bazel workspace 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 Extends the functionality of jq to json5 objects.
list-boards list boards available for building
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
repro Locally replicate the result of infra builds and tests
run-in-build-dir Run the given command at the root of the current build directory
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
list-packages List which packages are built.
ls-buildid Find binaries among build directories, the checkout, and cloud storage
symbol-index (deprecated) manipulate the symbol-index file
validate-sdk Attempt to build a few known SDK-based OOT repos based on a core SDK