blob: 307f3fdf2b86dcefad5a2e3b755c95c75dfa0923 [file] [log] [blame] [view]
# Build fx subcommands
Command | Description
------- | -----------
[args](cmd/args.md) | manually edit args.gn for the current build directory
[bazel](cmd/bazel.md) | Run experimental Bazel build for Fuchsia platform tree
[build](cmd/build.md) | Run Ninja to build Fuchsia
[clean](cmd/clean.md) | clean the current Fuchsia build artifacts
[clean-build](cmd/clean-build.md) | Clean the build directory and then perform a full build
[cleandead](cmd/cleandead.md) | Delete stale generated files in the build output directory.
[cleandead-build](cmd/cleandead-build.md) | Delete stale generated files and then perform a full build.
[cmc](cmd/cmc.md) | Component manifest compiler
[fargo](cmd/fargo.md) | Fargo is a prototype Fuchsia-specific wrapper around Cargo
[fetch-build-artifacts](cmd/fetch-build-artifacts.md) | TODO(fxbug.dev/60881): under construction.
[gen](cmd/gen.md) | run `gn gen` against the Fuchsia build directories.
[get-build-dir](cmd/get-build-dir.md) | print the current fuchsia build directory
[get-src-dir](cmd/get-src-dir.md) | print the Fuchsia source directory (checkout root, aka "//")
[gn](cmd/gn.md) | meta-build system that generates build files for Ninja
[go](cmd/go.md) | Manage Go source code
[goma_auth](cmd/goma_auth.md) | set up authentication for the Goma distributed compilation client
[goma_ctl](cmd/goma_ctl.md) | control the local Goma distributed compilation client
[jq5](cmd/jq5.md) | Extends the functionality of jq to json5 objects.
[list-boards](cmd/list-boards.md) | list boards available for building
[list-packages](cmd/list-packages.md) | list packages are built
[list-products](cmd/list-products.md) | list products available for building
[ninja](cmd/ninja.md) | directly run the build system. Don't use for regular workflows.
[ninjatrace2json](cmd/ninjatrace2json.md) | Collect Ninja trace information for analysis in chrome://tracing
[repro](cmd/repro.md) | Locally replicate the result of infra builds and tests
[run-in-build-dir](cmd/run-in-build-dir.md) | Run the given command at the root of the current build directory
[self-build](cmd/self-build.md) | build the minimal host dependencies to run fx main workflows
[set](cmd/set.md) | set up a build directory
[set-build-dir](cmd/set-build-dir.md) | set the default build directory used by other fx commands
[use](cmd/use.md) | re-use a previous build directory set up by `fx set`
[check-deps](cmd/check-deps.md) | checks dependency graph in areas
[compdb](cmd/compdb.md) | DEPRECATED
[goma](cmd/goma.md) | manage Goma distributed compilation client
[symbol-index](cmd/symbol-index.md) | (deprecated) manipulate the symbol-index file
[validate-sdk](cmd/validate-sdk.md) | Attempt to build a few known SDK-based OOT repos based on a core SDK