Fuchsia
Fundamentals SDK Reference What's new Open source project
  • English
  • 中文 – 繁體
Sign in
  • Reference
Overview API Tools Kernel Tracing Diagnostics Hardware Platform specifications
Fuchsia
  • Fundamentals
  • SDK
  • Reference
    • Overview
    • API
    • Tools
    • Kernel
    • Tracing
    • Diagnostics
    • Hardware
    • Platform specifications
  • What's new
  • Open source project
  • Overview
  • Editors
  • Editors for developing Fuchsia
  • Visual Studio Code
    • Extensions
    • Installing the Fuchsia extension
    • Using the Fuchsia extension
    • Additional VS Code extensions for Fuchsia
    • Additional VS Code configuration
    • Configuring remote workspaces
    • Configuring file reloading
  • YouCompleteMe integration
  • Vim tools for Fuchsia development
  • Kakoune for Fuchsia development
  • SDK
  • ffx command
  • Coding commands
    • cmc
    • fidl-format
    • fidlc
    • fidlcat
    • fidlgen
  • Debugging commands
    • symbolizer
    • triage
    • zxdb
  • Device management commands
    • bootserver
    • fserve
    • fssh
    • fvdl
    • minfs
    • zbi
  • Packaging commands
    • blobfs-compression
    • fpublish
    • pm
  • Tool troubleshooting
  • Troubleshooting tools reference
  • Hardware
  • audio-codec-ctl
  • audio-driver-ctl
  • gpioutil
  • i2cutil
  • lights-cli
  • Contributor
  • Overview
  • fx command
  • Build commands
    • Overview
    • args
    • bazel
    • build
    • clean
    • clean-build
    • cleandead
    • cleandead-build
    • cmc
    • fargo
    • fetch-build-artifacts
    • gen
    • get-build-dir
    • get-src-dir
    • get-workspace-dir
    • gn
    • go
    • goma_auth
    • goma_ctl
    • jq5
    • list-boards
    • list-packages
    • list-products
    • ninja
    • ninjatrace2json
    • repro
    • run-in-build-dir
    • self-build
    • set
    • set-build-dir
    • use
    • check-deps
    • compdb
    • goma
    • symbol-index
    • validate-sdk
  • Code submission and review commands
    • Overview
    • doc-checker
    • mdlint
    • cl
    • gerrit-split-cl
    • gerrit-submit
  • Device discovery commands
    • Overview
    • get-device
    • get-device-addr
    • list-devices
    • netaddr
    • netls
    • set-device
    • unset-device
  • Device management commands
    • Overview
    • cp
    • flash
    • node-names
    • reboot
    • scp
    • serial
    • sftp
    • shell
    • ssh
    • wait
  • Diagnostic commands
    • Overview
    • mem
    • clippy
    • dis
  • Documentation commands
    • Overview
    • helpdoc
    • check-licenses
    • fidldoc
    • move-docs
    • rustdoc
  • Internal api commands
    • Overview
    • DEPRECATED! get-build-artifacts
    • list-build-artifacts
  • Other commands
    • Overview
    • build-metrics
    • exec
    • flash-remote
    • jq
    • list-usb-disks
    • merge-package-config
    • metrics
    • multi
    • netboot-remote
    • pave-remote
    • pave-zedboot-remote
    • serve-remote
    • setup-macos
    • setup-ufw
    • status
    • vendor
    • arm-esr
    • bisect-rustc
    • clippy
    • extract-zbi
    • ffx
    • fidltags
    • flash-buckeye
    • gce
    • gen-cargo
    • init-partition-tables
    • iquery
    • make-fuchsia-vol
    • qemu-cipd-ensure
    • roll-compiler
    • run-boot-test.py
    • rustdoc
    • rustfmt
    • set-relay
    • setup-go
    • setup-usb-ethernet
    • size-check
    • smoke-test
    • sniff.py
    • wipe-partition-tables
    • zbi_json_to_d3js.py
    • zedmon
  • Run, inspect and debug commands
    • Overview
    • bootfs-size-report
    • host-tool
    • klog
    • log
    • qemu
    • run-netboot
    • symbolize
    • DEPRECATED! syslog
    • bindc
    • binutils
    • blobstats
    • bt-snoop-from-snapshot
    • cpu-stats
    • extract-pprof
    • fidlcat
    • DEPRECATED! fuzz
    • gdb
    • gnu
    • overnet
    • run-boot-test
    • run-dart-action
    • run-in-build
    • run-recovery
    • run-zbi-test-remote
    • scrutiny
    • snapshot
    • sniff
    • traceutil
    • triage
    • zxdb
  • Software delivery commands
    • Overview
    • add-update-source
    • DEPRECATED! build-push
    • is-package-server-running
    • mkzedboot
    • mkzedboot-remote
    • netboot
    • ota
    • pave
    • pave-zedboot
    • DEPRECATED! push-package
    • report-bug
    • serve
    • serve-updates
    • DEPRECATED! update
    • update-if-in-base
    • force-ota-from-devhost
    • gc
    • mkinstaller
    • remove-update-source
    • show-package
    • unarchive-package
  • Source tree commands
    • Overview
    • cipd
    • create
    • jiri
    • rfc
    • sync-to
    • check-goldens
    • clang-tidy
    • format-code
    • gen-cargo
    • grep
    • lint
    • pending-commits
    • rustfmt
    • set-petal
    • shush
    • sync-from-stem
    • update-3p-owners
    • update-rust-3p-outdated
    • update-rustc-third-party
  • Test commands
    • Overview
    • DEPRECATED! run-host-tests
    • self-test
    • test
    • testgen
    • core-tests
    • coverage
    • dart-remote-test
    • exec-host-tests
    • run-e2e-tests
    • smoke-test
    • test-stats
    • test-stats.py
  • Fuchsia
  • Reference
  • Tools

fx ninja

directly run the build system. Don't use for regular workflows.

usage: run `fx ninja help`

ninja source code

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 2022-11-29 UTC.

  • Terms
  • Privacy
  • English
  • 中文 – 繁體