blob: f5da5070047bb9daed28bbd66e2ce4b492191d99 [file] [log] [blame] [view]
# fx build
Run Ninja to build Fuchsia
```none
usage: fx build [--log FILENAME] [-SWITCH...] | TARGET ...]
This runs Ninja after performing a few correctness checks for the Fuchsia build.
optional arguments:
--log LOGFILE Print debug information to LOGFILE. Please attach
the resulting file when reporting bugs.
--fint-params-path PATH Path to a fint params file used by an infra
builder. This is useful for reproducing the exact
set of targets built by the infrastructure.
Other arguments are passed through to Ninja.
Run `fx build -h` to see Ninja argument details.
```
[build source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/build)