Command | Description |
---|---|
args | manually edit args.gn for the current build directory |
bazel | Run experimental Bazel build for Fuchsia platform tree |
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-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 |
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 |
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 |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-02-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]