tree: 5266fc3dcf274333b66b4ed96e4727f19e4e09ac [path history] [tgz]
  1. _toc.yaml
  2. README.md
f11/tools/fx/build/README.md

Build fx subcommands

CommandDescription
argsmanually edit args.gn for the current build directory
bazelRun experimental Bazel build for Fuchsia platform tree
buildRun Ninja to build Fuchsia
cleanclean the current Fuchsia build artifacts
clean-buildClean the build directory and then perform a full build
cleandeadDelete stale generated files in the build output directory.
cleandead-buildDelete stale generated files and then perform a full build.
cmcComponent manifest compiler
fargoFargo is a prototype Fuchsia-specific wrapper around Cargo
fetch-build-artifactsTODO(fxbug.dev/60881): under construction.
genrun gn gen against the Fuchsia build directories.
get-build-dirprint the current fuchsia build directory
get-src-dirprint the Fuchsia source directory (checkout root, aka “//”)
get-workspace-dirprint the Bazel workspace directory
gnmeta-build system that generates build files for Ninja
goManage Go source code
goma_authset up authentication for the Goma distributed compilation client
goma_ctlcontrol the local Goma distributed compilation client
jq5Extends the functionality of jq to json5 objects.
list-boardslist boards available for building
list-packageslist packages are built
list-productslist products available for building
ninjadirectly run the build system. Don't use for regular workflows.
ninjatrace2jsonCollect Ninja trace information for analysis in chrome://tracing
reproLocally replicate the result of infra builds and tests
run-in-build-dirRun the given command at the root of the current build directory
self-buildbuild the minimal host dependencies to run fx main workflows
setset up a build directory
set-build-dirset the default build directory used by other fx commands
usere-use a previous build directory set up by fx set
check-depschecks dependency graph in areas
compdbDEPRECATED
gomamanage Goma distributed compilation client
ls-buildidFind binaries among build directories, the checkout, and cloud storage
symbol-index(deprecated) manipulate the symbol-index file
validate-sdkAttempt to build a few known SDK-based OOT repos based on a core SDK