Enable debug output in the ACPI library (used by the ACPI bus driver).
Current value (from the default): false
From //zircon/system/ulib/acpica/acpica.gni:7
Current value (from the default): ""
From //build/images/args.gni:87
Whether to include images necessary to run Fuchsia in QEMU in build archives.
Current value (from the default): false
From //build/images/args.gni:93
Additional bootserver args to add to pave.sh. New uses of this should be added with caution, and ideally discussion. The present use case is to enable throttling of netboot when specific network adapters are combined with specific boards, due to driver and hardware challenges.
Current value (from the default): ""
From //build/images/args.gni:99
List of file paths to every font asset. Populated in fonts.gni.
Current value (from the default): []
From //src/fonts/build/font_args.gni:35
These should never be set as a build argument. It will be set below and passed to other toolchains through toolchain_args (see variant_toolchain.gni).
Current value (from the default): []
From //build/config/BUILDCONFIG.gn:1419
Build boot images that prefer Zedboot over local boot (only for EFI).
Current value (from the default): false
From //build/images/args.gni:114
TODO(fxbug.dev/67565) - remove once external sync FD extensions fully supported
Current value (from the default): false
From //third_party/mesa/src/intel/vulkan/BUILD.gn:27
Give maximum possible memory to Vulkan heap
Current value (from the default): false
From //third_party/mesa/src/intel/vulkan/BUILD.gn:30
Default AddressSanitizer options (before the ASAN_OPTIONS
environment variable is read at runtime). This can be set as a build argument to affect most “asan” variants in $variants (which see), or overridden in $toolchain_args in one of those variants. This can be a list of strings or a single string.
Note that even if this is empty, programs in this build cannot define their own __asan_default_options
C function. Instead, they can use a sanitizer_extra_options() target in their deps
and then any options injected that way can override that option's setting in this list.
Current value (from the default): ["detect_stack_use_after_return=1", "quarantine_size_mb=64"]
From //build/config/sanitizers/sanitizer_default_options.gni:16
Controls the behavior of sysmgr‘s PackageUpdatingLoader (v1) and the universe-resolver (v2). If true, when resolving a component an attempt to update the component’s package is first made through the Software Delivery system (specifically, through the package resolver, fuchsia.pkg.PackageResolver). If false, no attempt to update is made and components are loaded only from packages already available locally (for example, because the package is in base).
Current value (from the default): true
From //build/security.gni:126
Current value (from the default): "DEPRECATED"
From //build/images/vbmeta.gni:35
AVB metadata which will be used to validate public key
Current value (from the default): ""
From //build/images/vbmeta.gni:22
a key which will be used to sign VBMETA and images for AVB
Current value (from the default): ""
From //build/images/vbmeta.gni:19
If you add fuchsia_driver_package labels to this variable, any drivers in these packages will be visible to Driver Manager. These package labels are also considered to be in the ‘base’ package set (for more info see ‘base_package_labels’).
Current value for target_cpu = "arm64"
: []
From //products/bringup.gni:50
Overridden from the default: []
From //BUILD.gn:24
Current value for target_cpu = "x64"
: []
From //products/bringup.gni:50
Overridden from the default: []
From //BUILD.gn:24
If you add package labels to this variable, the packages will be included in the ‘base’ package set, which represents the set of packages that are part of an OTA. These packages are updated as an atomic unit during an OTA process and are immutable and are a superset of the TCB (Trusted Computing Base) for a product. These packages are never evicted by the system.
Current value for target_cpu = "arm64"
: ["//bundles:kitchen_sink"]
From //out/not-default/args.gn:9
Overridden from the default: []
From //BUILD.gn:31
Current value for target_cpu = "x64"
: ["//bundles:kitchen_sink"]
From //out/not-default/args.gn:9
Overridden from the default: []
From //BUILD.gn:31
The list of environment names to include in “basic_envs”.
Current value (from the default): ["emu"]
From //build/testing/environments.gni:14
The format blobfs should store blobs in.
Current value (from the default): "compact"
From //build/images/args.gni:111
In addition to reserving space for inodes and data, fs needs additional space for maintaining some internal data structures. So the space required to reserve inodes and data may exceed sum of the space needed for inodes and data. maximum_bytes puts an upper bound on the total bytes reserved for inodes, data bytes and reservation for all other internal fs metadata. A value of false does not put any upper bound. A filesystem may reserve few blocks required for its operations.
Current value (from the default): false
From //build/images/fvm.gni:99
Number of bytes to reserve for data in the fs. This is in addition to what is reserved, if any, for the inodes. Data bytes constitutes “usable” space of the fs. A value of false does not reserve any additional space than minimum required for the filesystem.
Current value (from the default): false
From //build/images/fvm.gni:86
minimum_inodes is the number of inodes to reserve for the fs A value of false does not reserve any additional space than minimum required for the filesystem.
Current value (from the default): false
From //build/images/fvm.gni:76
Set this to true when configuring gn args to enable blobfs streaming writes. This is a compile time argument which allows us to conditionally enable blobfs streaming writes only on specific configurations.
Current value (from the default): false
From //src/storage/blobfs/BUILD.gn:18
blobfs_maximum_runtime_bytes is an upper bound on the partition size on the device. Partitions can grow as needed if there are extra slices available in FVM. This limit prevents the blobfs partition from taking too much space away from other uses.
Pass the empty string for no limit.
Current value (from the default): ""
From //src/storage/fshost/BUILD.gn:20
Set this to true when configuring gn args to enable blobfs page-in metrics recording. This will also increase the inspect VMO size for blobfs to 2 MiB, to accommodate the large number of metrics entries.
Current value (from the default): false
From //src/storage/blobfs/BUILD.gn:13
Current value (from the default): false
From //build/images/fvm.gni:100
Current value (from the default): false
From //build/images/fvm.gni:87
Current value (from the default): false
From //build/images/fvm.gni:77
A list of binary labels to include in the ZBI.
Current value for target_cpu = "arm64"
: ["//src/connectivity/ethernet/drivers/virtio:virtio_ethernet", "//src/devices/block/drivers/virtio:virtio_block", "//src/devices/block/drivers/virtio:virtio_scsi", "//src/devices/misc/drivers/virtio-rng:virtio_rng", "//src/devices/misc/drivers/virtio-socket:virtio_socket", "//src/devices/serial/drivers/virtio-console:virtio_console", "//src/graphics/drivers/misc:goldfish_driver_modules", "//src/graphics/display/drivers/goldfish-display", "//src/graphics/drivers/virtio:virtio_gpu", "//src/ui/input/drivers/virtio:virtio_input", "//src/devices/block/drivers/ahci", "//src/devices/board/drivers/qemu-arm64", "//src/devices/rtc/drivers/pl031-rtc", "//src/graphics/display/drivers/fake:fake-display", "//src/devices/bus/drivers/pci:bus-pci", "//src/devices/usb/drivers/xhci-rewrite:xhci", "//src/power/power-manager:base_config", "//src/security/policy/zxcrypt:null"]
From //boards/arm64.gni:18
Overridden from the default: []
From //build/board.gni:22
Current value for target_cpu = "x64"
: ["//src/connectivity/ethernet/drivers/realtek-8111", "//src/devices/block/drivers/ahci", "//src/devices/block/drivers/mbr", "//src/devices/block/drivers/nvme", "//src/devices/block/drivers/pci-sdhci", "//src/devices/block/drivers/sdhci", "//src/devices/board/drivers/x86:platform-bus-x86", "//src/devices/bus/drivers/pci:bus-pci", "//src/devices/i2c/drivers/intel-i2c", "//src/devices/rtc/drivers/intel-rtc", "//src/devices/serial/drivers/uart16550", "//src/devices/spi/drivers/intel-gspi", "//src/devices/usb/drivers/xhci-rewrite:xhci", "//src/graphics/display/drivers/intel-i915", "//src/graphics/display/drivers/simple:simple.amd-kaveri", "//src/graphics/display/drivers/simple:simple.nv", "//src/media/audio/drivers/codecs/alc5514", "//src/media/audio/drivers/codecs/alc5663", "//src/media/audio/drivers/codecs/max98927", "//src/media/audio/drivers/intel-hda/codecs/hdmi:hdmi-audio-codec", "//src/media/audio/drivers/intel-hda/codecs/realtek:realtek-audio-codec", "//src/media/audio/drivers/intel-hda/controller:intel-hda", "//src/ui/input/drivers/i2c-hid", "//src/ui/input/drivers/pc-ps2", "//zircon/third_party/dev/ethernet/e1000", "//src/connectivity/ethernet/drivers/virtio:virtio_ethernet", "//src/devices/block/drivers/virtio:virtio_block", "//src/devices/block/drivers/virtio:virtio_scsi", "//src/devices/misc/drivers/virtio-rng:virtio_rng", "//src/devices/misc/drivers/virtio-socket:virtio_socket", "//src/devices/serial/drivers/virtio-console:virtio_console", "//src/graphics/drivers/misc:goldfish_driver_modules", "//src/graphics/display/drivers/goldfish-display", "//src/graphics/drivers/virtio:virtio_gpu", "//src/ui/input/drivers/virtio:virtio_input", "//src/graphics/display/drivers/simple:simple.bochs", "//src/graphics/display/drivers/simple:simple.intel", "//src/graphics/display/drivers/simple:simple.vmware", "//src/media/audio/drivers/intel-hda/codecs/qemu:qemu-audio-codec", "//src/devices/bin/acpidump", "//src/devices/pci/bin:bootfs", "//src/media/audio/bin/ihda", "//src/power/power-manager:base_config", "//src/security/policy/zxcrypt:null", "//boards/kernel_cmdline:serial-legacy", "//src/storage/fshost:gpt_all"]
From //boards/x64.gni:19
Overridden from the default: []
From //build/board.gni:22
A list of driver package labels to include in the ‘base’ package set. Used by the board definition rather than the product definition.
Current value (from the default): []
From //build/board.gni:11
Board level extra vbmeta descriptors to be combined into the top-level vbmeta struct (these are in json format)
see //build/images/vbmeta/README.md for more information about these.
Current value (from the default): []
From //build/images/vbmeta.gni:31
DEPRECATED: Remove when no boards set a value for these.
Current value (from the default): []
From //build/images/vbmeta.gni:34
Board files can set this to true if they have a package with a mali libvulkan VCD.
Current value (from the default): false
From //src/graphics/lib/magma/gnbuild/magma.gni:47
Board name used for paving and amber updates.
Current value for target_cpu = "arm64"
: "qemu-arm64"
From //boards/arm64.gni:9
Overridden from the default: ""
From //build/board.gni:7
Current value for target_cpu = "x64"
: "x64"
From //boards/x64.gni:8
Overridden from the default: ""
From //build/board.gni:7
A list of package labels to include in the ‘base’ package set. Used by the board definition rather than the product definition.
Current value for target_cpu = "arm64"
: ["//src/hwinfo:default_board_config", "//src/power/thermd", "//src/power/thermd:config", "//garnet/packages/prod:drivers-support"]
From //boards/arm64.gni:30
Overridden from the default: []
From //build/board.gni:15
Current value for target_cpu = "x64"
: ["//src/power/thermd", "//src/power/thermd:config", "//garnet/packages/prod:drivers-support", "//src/hwinfo:default_board_config", "//src/graphics/lib/magma/gnbuild/magma-intel-gen:libvulkan_intel_gen", "//src/graphics/lib/magma/gnbuild/magma-intel-gen:libvulkan_intel_config", "//src/graphics/lib/goldfish-vulkan/gnbuild:goldfish-vulkan"]
From //boards/common/x64-common.gni:68
Overridden from the default: []
From //build/board.gni:15
A list of binary labels to include in the recovery ZBI.
Current value for target_cpu = "arm64"
: ["//src/connectivity/ethernet/drivers/virtio:virtio_ethernet", "//src/devices/block/drivers/virtio:virtio_block", "//src/devices/block/drivers/virtio:virtio_scsi", "//src/devices/misc/drivers/virtio-rng:virtio_rng", "//src/devices/misc/drivers/virtio-socket:virtio_socket", "//src/devices/serial/drivers/virtio-console:virtio_console", "//src/graphics/drivers/misc:goldfish_driver_modules", "//src/graphics/display/drivers/goldfish-display", "//src/graphics/drivers/virtio:virtio_gpu", "//src/ui/input/drivers/virtio:virtio_input", "//src/devices/block/drivers/ahci", "//src/devices/board/drivers/qemu-arm64", "//src/devices/rtc/drivers/pl031-rtc", "//src/graphics/display/drivers/fake:fake-display", "//src/devices/bus/drivers/pci:bus-pci", "//src/devices/usb/drivers/xhci-rewrite:xhci", "//src/power/power-manager:base_config", "//src/security/policy/zxcrypt:null"]
From //boards/arm64.gni:22
Overridden from the default: []
From //build/board.gni:33
Current value for target_cpu = "x64"
: ["//src/connectivity/ethernet/drivers/realtek-8111", "//src/devices/block/drivers/ahci", "//src/devices/block/drivers/mbr", "//src/devices/block/drivers/nvme", "//src/devices/block/drivers/pci-sdhci", "//src/devices/block/drivers/sdhci", "//src/devices/board/drivers/x86:platform-bus-x86", "//src/devices/bus/drivers/pci:bus-pci", "//src/devices/i2c/drivers/intel-i2c", "//src/devices/rtc/drivers/intel-rtc", "//src/devices/serial/drivers/uart16550", "//src/devices/spi/drivers/intel-gspi", "//src/devices/usb/drivers/xhci-rewrite:xhci", "//src/graphics/display/drivers/intel-i915", "//src/graphics/display/drivers/simple:simple.amd-kaveri", "//src/graphics/display/drivers/simple:simple.nv", "//src/media/audio/drivers/codecs/alc5514", "//src/media/audio/drivers/codecs/alc5663", "//src/media/audio/drivers/codecs/max98927", "//src/media/audio/drivers/intel-hda/codecs/hdmi:hdmi-audio-codec", "//src/media/audio/drivers/intel-hda/codecs/realtek:realtek-audio-codec", "//src/media/audio/drivers/intel-hda/controller:intel-hda", "//src/ui/input/drivers/i2c-hid", "//src/ui/input/drivers/pc-ps2", "//zircon/third_party/dev/ethernet/e1000", "//src/connectivity/ethernet/drivers/virtio:virtio_ethernet", "//src/devices/block/drivers/virtio:virtio_block", "//src/devices/block/drivers/virtio:virtio_scsi", "//src/devices/misc/drivers/virtio-rng:virtio_rng", "//src/devices/misc/drivers/virtio-socket:virtio_socket", "//src/devices/serial/drivers/virtio-console:virtio_console", "//src/graphics/drivers/misc:goldfish_driver_modules", "//src/graphics/display/drivers/goldfish-display", "//src/graphics/drivers/virtio:virtio_gpu", "//src/ui/input/drivers/virtio:virtio_input", "//src/graphics/display/drivers/simple:simple.bochs", "//src/graphics/display/drivers/simple:simple.intel", "//src/graphics/display/drivers/simple:simple.vmware", "//src/media/audio/drivers/intel-hda/codecs/qemu:qemu-audio-codec", "//src/devices/bin/acpidump", "//src/devices/pci/bin:bootfs", "//src/media/audio/bin/ihda", "//src/power/power-manager:base_config", "//src/security/policy/zxcrypt:null", "//boards/kernel_cmdline:serial-legacy"]
From //boards/x64.gni:13
Overridden from the default: []
From //build/board.gni:33
A list of package labels to include in the recovery package set. Used by the board definition rather than the product definition.
Current value (from the default): []
From //build/board.gni:19
A list of binary labels to include in the system_image package.
Current value for target_cpu = "arm64"
: ["//garnet/packages/prod:drivers-system", "//garnet/packages/prod:wlan_drivers", "//src/media/audio/bundles:virtual_audio_driver"]
From //boards/arm64.gni:24
Overridden from the default: []
From //build/board.gni:36
Current value for target_cpu = "x64"
: ["//garnet/packages/prod:drivers-system", "//src/graphics/lib/magma/gnbuild/magma-intel-gen:msd-intel-gen", "//src/media/audio/bundles:virtual_audio_driver"]
From //boards/common/x64-common.gni:62
Overridden from the default: []
From //build/board.gni:36
List of paths to board-specific tools to include in the build output.
Most development tools can just be used in-tree and do not need to be included here. This arg is only meant for tools which may need to be distributed along with the build files, for example tools for flashing from SoC recovery mode.
Assets included in this way are included best-effort only and do not form any kind of stable contract for users of the archive.
Current value (from the default): []
From //build/images/args.gni:137
A list of binary labels to include in the zedboot ZBI.
Current value for target_cpu = "arm64"
: ["//src/connectivity/ethernet/drivers/virtio:virtio_ethernet", "//src/devices/block/drivers/virtio:virtio_block", "//src/devices/block/drivers/virtio:virtio_scsi", "//src/devices/misc/drivers/virtio-rng:virtio_rng", "//src/devices/misc/drivers/virtio-socket:virtio_socket", "//src/devices/serial/drivers/virtio-console:virtio_console", "//src/graphics/drivers/misc:goldfish_driver_modules", "//src/graphics/display/drivers/goldfish-display", "//src/graphics/drivers/virtio:virtio_gpu", "//src/ui/input/drivers/virtio:virtio_input", "//src/devices/block/drivers/ahci", "//src/devices/board/drivers/qemu-arm64", "//src/devices/rtc/drivers/pl031-rtc", "//src/graphics/display/drivers/fake:fake-display", "//src/devices/bus/drivers/pci:bus-pci", "//src/devices/usb/drivers/xhci-rewrite:xhci", "//src/power/power-manager:base_config", "//src/security/policy/zxcrypt:null"]
From //boards/arm64.gni:20
Overridden from the default: []
From //build/board.gni:30
Current value for target_cpu = "x64"
: ["//src/connectivity/ethernet/drivers/realtek-8111", "//src/devices/block/drivers/ahci", "//src/devices/block/drivers/mbr", "//src/devices/block/drivers/nvme", "//src/devices/block/drivers/pci-sdhci", "//src/devices/block/drivers/sdhci", "//src/devices/board/drivers/x86:platform-bus-x86", "//src/devices/bus/drivers/pci:bus-pci", "//src/devices/i2c/drivers/intel-i2c", "//src/devices/rtc/drivers/intel-rtc", "//src/devices/serial/drivers/uart16550", "//src/devices/spi/drivers/intel-gspi", "//src/devices/usb/drivers/xhci-rewrite:xhci", "//src/graphics/display/drivers/intel-i915", "//src/graphics/display/drivers/simple:simple.amd-kaveri", "//src/graphics/display/drivers/simple:simple.nv", "//src/media/audio/drivers/codecs/alc5514", "//src/media/audio/drivers/codecs/alc5663", "//src/media/audio/drivers/codecs/max98927", "//src/media/audio/drivers/intel-hda/codecs/hdmi:hdmi-audio-codec", "//src/media/audio/drivers/intel-hda/codecs/realtek:realtek-audio-codec", "//src/media/audio/drivers/intel-hda/controller:intel-hda", "//src/ui/input/drivers/i2c-hid", "//src/ui/input/drivers/pc-ps2", "//zircon/third_party/dev/ethernet/e1000", "//src/connectivity/ethernet/drivers/virtio:virtio_ethernet", "//src/devices/block/drivers/virtio:virtio_block", "//src/devices/block/drivers/virtio:virtio_scsi", "//src/devices/misc/drivers/virtio-rng:virtio_rng", "//src/devices/misc/drivers/virtio-socket:virtio_socket", "//src/devices/serial/drivers/virtio-console:virtio_console", "//src/graphics/drivers/misc:goldfish_driver_modules", "//src/graphics/display/drivers/goldfish-display", "//src/graphics/drivers/virtio:virtio_gpu", "//src/ui/input/drivers/virtio:virtio_input", "//src/graphics/display/drivers/simple:simple.bochs", "//src/graphics/display/drivers/simple:simple.intel", "//src/graphics/display/drivers/simple:simple.vmware", "//src/media/audio/drivers/intel-hda/codecs/qemu:qemu-audio-codec", "//src/devices/bin/acpidump", "//src/devices/pci/bin:bootfs", "//src/media/audio/bin/ihda", "//src/power/power-manager:base_config", "//src/security/policy/zxcrypt:null", "//boards/kernel_cmdline:serial-legacy"]
From //boards/x64.gni:14
Overridden from the default: []
From //build/board.gni:30
List of kernel command line arguments to bake into the zedboot image that are required by this board. See also zedboot_cmdline_args in //build/images/zedboot/BUILD.gn
Current value (from the default): []
From //build/board.gni:27
Put the “system image” package in the BOOTFS. Hence what would otherwise be /system/... at runtime is /boot/... instead.
Current value for target_cpu = "arm64"
: true
From //products/bringup.gni:5
Overridden from the default: false
From //build/images/args.gni:14
Current value for target_cpu = "x64"
: true
From //products/bringup.gni:5
Overridden from the default: false
From //build/images/args.gni:14
Current value (from the default): false
From //src/media/codec/examples/BUILD.gn:10
Build ID algorithm to use for Fuchsia-target code. This does not apply to host or guest code. The value is the argument to the linker‘s --build-id=...
switch. If left empty (the default), the linker’s default format is used.
Current value (from the default): ""
From //build/config/build_id.gni:10
Board configuration of the current build
Current value for target_cpu = "arm64"
: "arm64"
From //out/not-default/args.gn:3
Overridden from the default: "qemu-arm64"
From //build/info/info.gni:12
Current value for target_cpu = "x64"
: "x64"
From //out/not-default/args.gn:3
Overridden from the default: "x64"
From //build/info/info.gni:12
Product configuration of the current build
Current value for target_cpu = "arm64"
: "bringup"
From //out/not-default/args.gn:4
Overridden from the default: ""
From //build/info/info.gni:9
Current value for target_cpu = "x64"
: "bringup"
From //out/not-default/args.gn:4
Overridden from the default: ""
From //build/info/info.gni:9
Logical version of the current build. If not set, defaults to the timestamp of the most recent update.
Current value (from the default): ""
From //build/info/info.gni:16
Current value (from the default): ""
From //src/graphics/lib/goldfish-vulkan/gnbuild/BUILD.gn:13
Targets that will be built as IMG vulkan ICDS.
Current value (from the default): []
From //src/graphics/lib/magma/gnbuild/magma.gni:44
Targets that will be built as verisilicon vulkan ICDS.
Current value (from the default): []
From //src/graphics/lib/magma/gnbuild/magma.gni:41
Whether to build SDK tarballs.
Current value (from the default): false
From //build/sdk/config.gni:7
If enabled, all filesystem activity by actions will be traced and checked against their declared inputs and outputs and depfiles (if present). An action that accesses undeclared inputs or outputs will fail the build.
Current value (from the default): false
From //build/tracer/tracer.gni:9
Generate a UEFI disk image
Current value (from the default): false
From //build/images/args.gni:26
If you add package labels to this variable, the packages will be included in the ‘cache’ package set, which represents an additional set of software that is made available on disk immediately after paving and in factory flows. These packages are not updated with an OTA, but instead are updated ephemerally. This cache of software can be evicted by the system if storage pressure arises or other policies indicate.
Current value for target_cpu = "arm64"
: []
From //out/not-default/args.gn:10
Overridden from the default: []
From //BUILD.gn:39
Current value for target_cpu = "x64"
: []
From //out/not-default/args.gn:10
Overridden from the default: []
From //BUILD.gn:39
Current value (from the default): false
From //src/camera/debug.gni:6
Current value (from the default): 10000
From //src/camera/bin/camera-gym/BUILD.gn:11
Current value (from the default): false
From //src/camera/bin/camera-gym/BUILD.gn:12
Include the vulkan validation layers in carnelian examples.
Current value (from the default): false
From //src/lib/ui/carnelian/BUILD.gn:13
Point this to the location of external image files to be included as extras
Current value (from the default): []
From //src/lib/ui/carnelian/BUILD.gn:16
Point this to the location of external rive files to be included as extras
Current value (from the default): []
From //src/lib/ui/carnelian/BUILD.gn:19
Point this to the location of external txt files to be included as extras
Current value (from the default): []
From //src/lib/ui/carnelian/BUILD.gn:22
Whether to perform check on the build's eligibility for production. If true, base_packages and cache_packages are checked against dependencies on //build/validate:non_production_tag, which is used to tag any non-production GN labels. Build will fail if such dependency is found.
Current value (from the default): false
From //build/images/args.gni:105
If enabled, run each affected action twice (once with renamed outputs) and compare the outputs' contents for reproducibility.
Current value (from the default): false
From //build/tracer/tracer.gni:13
Check that all vtables in fuchsia binaries listed in binaries.json are in readonly data sections. This check will be run at the end of a full build.
This is primarily meant to be used by the clang canary builders.
Current value (from the default): false
From //build/images/args.gni:66
This variable specifies a fully qualified Chromium build output directory, such as /home/USER/chrome/src/out/fuchsia
, that ‘cast_runner’, ‘web_runner’, and ‘web_engine’ will be obtained from. If unset, the prebuilt packages from CIPD will be used.
Current value (from the default): ""
From //src/chromium/build_args.gni:10
Embed LLVM bitcode as .llvmbc section in ELF files. This is intended primarily for external tools that use bitcode for analysis.
Current value (from the default): false
From //build/config/clang/clang.gni:17
Path to Clang lib directory.
Current value (from the default): "//prebuilt/third_party/clang/linux-x64/bin/../lib"
From //build/images/manifest.gni:13
Controls whether to use the ML inliner in Clang to reduce size. Note that the option only takes effect when optimize
is set to "size"
.
Current value (from the default): false
From //build/config/compiler.gni:43
The default clang toolchain provided by the prebuilt. This variable is additionally consumed by the Go toolchain.
Current value (from the default): "//prebuilt/third_party/clang/linux-x64/bin"
From //build/config/clang/clang.gni:13
Directory where the Clang toolchain binaries (“clang”, “llvm-nm”, etc.) are found. If this is "", then the behavior depends on $clang_prefix. This toolchain is expected to support both Fuchsia targets and the host.
Current value (from the default): ""
From //build/toolchain/zircon/clang.gni:11
Selects the Cobalt environment to send data to. Choices: “LOCAL” - record log data locally to a file “DEVEL” - the non-prod environment for use in testing “PROD” - the production environment
Current value (from the default): "PROD"
From //src/cobalt/bin/app/BUILD.gn:14
Whether to compress the blobfs image.
Current value (from the default): true
From //build/images/args.gni:108
Maximum number of Dart processes to run in parallel.
Dart analyzer uses a lot of memory which may cause issues when building with many parallel jobs e.g. when using goma. To avoid out-of-memory errors we explicitly reduce the number of jobs.
Current value (from the default): 32
From //build/dart/BUILD.gn:17
Tells openweave to include files that require heap access.
Current value (from the default): true
From //third_party/openweave-core/config.gni:32
If true, uses a netstack tailored for network conformance testing.
Current value (from the default): false
From //src/connectivity/network/BUILD.gn:13
The following arguments are all used to configure the contents of the core component realm. See //src/sys/core/build/core.gni for documentation on what each field means. TODO: redo comments
Current value (from the default): "core-generic"
From //build/product.gni:16
Current value (from the default): true
From //build/product.gni:18
Current value (from the default): []
From //build/product.gni:17
Clang crash reports directory path. Use empty path to disable altogether.
Current value (from the default): "//out/not-default/clang-crashreports"
From //build/config/clang/crash_diagnostics.gni:7
Current value (from the default): "fuchsia"
From //third_party/crashpad/build/crashpad_buildconfig.gni:22
Current value (from the default): "libcurl"
From //third_party/crashpad/util/net/tls.gni:21
Current value (from the default): true
From //third_party/crashpad/util/net/tls.gni:30
Name of the CTS version.
Used to change the dependency paths of CTS deps.
Example of path change: //zircon/system/ulib/zxtest -> //prebuilt/cts/${cts_version}/pkg/zxtest
Usage: fx set PRODUCT.BOARD --args cts_version='"version_name"'
Current value (from the default): ""
From //sdk/cts/build/cts_version.gni:14
Current value (from the default): ""
Current value (from the default): ""
If non-empty, the given script will be invoked to produce a signed ZBI image. The given script must accept -z for the input zbi path, and -o for the output signed zbi path. The path must be in GN-label syntax (i.e. starts with //).
Current value (from the default): ""
From //build/images/custom_signing.gni:10
If custom_signing_script
is not empty, a list of dependencies for the script.
Current value (from the default): []
From //build/images/custom_signing.gni:13
If custom signing script
is not empty, a list of host tool labels, without a toolchain, that the script depends on. The reason why these are not in custom_signing_script_deps
is because these definitions are typically in board-specific .gni files where host_os
or host_toolchain
are not defined yet. Because these are imported from args.gn
before BUILDCONFIG.gn
is actually parsed.
Current value (from the default): []
From //build/images/custom_signing.gni:21
TODO(fxbug.dev/64153) renable aot builds if (dart_force_product) { Product AOT dart_default_build_cfg = dart_release_build_cfg } else if (is_debug) { Non-product JIT
Current value (from the default):
{ enable_asserts = true is_aot = false is_product = false platform_name = "dart_runner" runner_dep = "//src/dart:dart_jit_runner" runtime_meta = "//build/dart/meta/jit_runtime" }
From //build/dart/config.gni:18
Forces all Dart apps to build in product mode which is a stripped down version of the VM running in AOT mode.
Current value (from the default): false
From //build/dart/config.gni:10
Path to manifest file containing data to place into the initial /data partition.
Current value (from the default): ""
From //build/images/args.gni:55
Current value (from the default): false
From //src/virtualization/packages/debian_guest/BUILD.gn:10
Package the rootfs as a QCOW image (as opposed to a flat file).
Current value (from the default): true
From //src/virtualization/packages/debian_guest/BUILD.gn:9
none
means no debugging informationbacktrace
means sufficient debugging information to symbolize backtracesdebug
means debugging information suited for debuggingCurrent value (from the default): "debug"
From //build/config/compiler.gni:55
List of labels for objects to include in the ZBI.
Current value (from the default): []
From //build/dev.gni:17
List of labels for targets that should be built but not included in any build outputs that are part of the build API (e.g. zbi's, package servers).
Current value (from the default): []
From //build/dev.gni:14
List of binary labels to include in the recovery ZBI.
Current value (from the default): []
From //build/dev.gni:23
List of labels for binaries to include in the system image.
Current value (from the default): []
From //build/dev.gni:10
List of binary labels to include in the zedboot ZBI.
Current value (from the default): []
From //build/dev.gni:20
List of arguments to add to /boot/config/devmgr. These come after synthesized arguments to configure blobfs and pkgfs.
Current value (from the default): []
From //build/images/args.gni:23
Enable all strict deps.
Current value (from the default): false
From //build/dart/dart_library.gni:19
Disable kernel PCI driver support. A counterpart of the the build flag platform_enable_user_pci in //src/devices/bus/drivers/pci/pci.gni.
Current value (from the default): false
From //zircon/kernel/params.gni:67
Explicitly specify DWARF version used.
Current value (from the default): 5
From //build/config/compiler.gni:69
Detect dart API changes TODO(fxbug.dev/36723, fxbug.dev/6623) Remove this flag once issues are resolved
Current value (from the default): false
From //build/dart/dart_library.gni:23
Enable all dart analysis
Current value (from the default): true
From //build/dart/dart_library.gni:16
Controls whether the compiler emits full stack frames for function calls. This reduces performance but increases the ability to generate good stack traces, especially when we have bugs around unwind table generation. It applies only for Fuchsia targets (see below where it is unset).
TODO(fxbug.dev/32216): Theoretically unwind tables should be good enough so we can remove this option when the issues are addressed.
Current value (from the default): false
From //build/config/BUILD.gn:24
Enable kernel lock dependency tracking.
Current value (from the default): false
From //zircon/kernel/params.gni:35
Enable kernel lock dependency tracking tests. By default this is enabled when tracking is enabled, but can also be eanbled independently to assess whether the tests build and fail correctly when lockdep is disabled.
Current value (from the default): false
From //zircon/kernel/params.gni:101
Enables the tracing feature of mdns, which can be turned on using “mdns-util verbose”.
Current value (from the default): false
From //src/connectivity/network/mdns/service/BUILD.gn:13
Whether to build the netboot zbi by default.
You can still build //build/images:netboot explicitly even if enable_netboot is false.
Current value (from the default): false
From //build/images/args.gni:60
Set to true to enable distributed compilation using RBE.
Current value for target_cpu = "arm64"
: false
From //out/not-default/args.gn:5
Overridden from the default: false
From //build/toolchain/rbe.gni:28
Current value for target_cpu = "x64"
: false
From //out/not-default/args.gn:5
Overridden from the default: false
From //build/toolchain/rbe.gni:28
Build arg that allows overriding the default set of application entries using ‘--args=ermine_app_entries=“config/app_launch_entries.json”’
Current value (from the default): "config/app_launch_entries.json"
From //src/experiences/session_shells/ermine/shell/BUILD.gn:25
If true, this enables the |SpirvNotChangedTest| to check if the precompiled shaders on disk are up to date and reflect the current shader source code compiled with the latest shaderc tools/optimizations. People on the Scenic team should build with this flag turned on to make sure that any shader changes that were not run through the precompiler have their updated spirv written to disk. Other teams and CQ do not need to worry about this flag.
Current value (from the default): false
From //src/ui/lib/escher/build_args.gni:18
Determines whether or not escher will build with the glslang and shaderc libraries. When false, these libraries will not be included in the scenic/ escher binary and as a result shaders will not be able to be compiled at runtime. Precompiled spirv code will be loaded into memory from disk instead.
Current value (from the default): false
From //src/ui/lib/escher/build_args.gni:10
If true, excludes syscalls with the [testonly] attribute.
Current value (from the default): false
From //zircon/vdso/vdso.gni:7
Current value (from the default): "//third_party/expat"
From //src/graphics/lib/magma/gnbuild/magma.gni:14
NOTE: This is for experimentation only and should not normally be changed. Set the version of the C++ standard to compile for, 17 or 20.
Current value (from the default): 17
From //build/config/BUILD.gn:29
Selects the SoftMAC client implementation to use. Choices: false (default) - C++ Client MLME implementation true - Rust Client MLME implementation This argument is temporary until Rust MLME is ready to be used.
Current value (from the default): false
From //src/connectivity/wlan/lib/mlme/cpp/BUILD.gn:12
Extra args to globally apply to the manifest generation script.
Current value (from the default): []
From //build/images/manifest.gni:19
Current value (from the default): []
From //third_party/cobalt/BUILD.gn:10
Additional variant toolchain configs to support. This is just added to known_variants
.
Current value (from the default): []
From //build/config/BUILDCONFIG.gn:1176
If extract_minfs_metadata_on_corruption is true, fshost extracts minfs metadata on finding it corrupted. Setting this flag to true helps debugging corruptions.
Current value (from the default): false
From //src/storage/fshost/BUILD.gn:36
Current value (from the default): ""
From //build/images/args.gni:88
0 = Disable FIDL userspace tracing (default). 1 = Enable FIDL userspace tracing.
Current value (from the default): 0
From //build/fidl/args.gni:8
List of prebuilt firmware blobs to include in update packages.
Each entry in the list is a scope containing:
path
: path to the image (see also firmware_prebuilts_path_suffix
)type
: firmware type, a device-specific unique identifierpartition
(optional): if specified, the fastboot flash
partitionCurrent value (from the default): []
From //build/images/args.gni:40
Suffix to append to all firmware_prebuilts
path
variables.
Typically this indicates the hardware revision, and is made available so that users can easily switch revisions using a single arg.
Current value (from the default): ""
From //build/images/args.gni:46
Enable backwards compatible fit namespace and include path.
Current value (from the default): true
From //sdk/lib/fit-promise/BUILD.gn:9
If true, this enables the display compositor to tint all Flatland views that are rendered via the GPU renderer instead of by direct DisplayController scanout.
Current value (from the default): false
From //src/ui/scenic/lib/flatland/engine/build_args.gni:8
Non-product AOT
Current value (from the default):
{ enable_asserts = false is_aot = true is_product = false platform_name = "flutter_runner" runner_dep = "//src/flutter:flutter_aot_runner" runtime_meta = "//build/flutter/meta/aot_runtime" }
From //build/flutter/config.gni:22
Enables/Disables flutter driver using ‘--args=flutter_driver_enabled=[true/false]’ in fx set. (Disabled by default) This is effective only on debug builds.
Current value (from the default): false
From //build/testing/flutter_driver.gni:9
If set to true, will force the runenrs to be built in product mode which means they will not have an exposed vm service
Current value (from the default): false
From //build/flutter/config.gni:10
Current value (from the default): ["//prebuilt/third_party/fonts/fuchsia.font_catalog.json"]
From //src/fonts/build/font_args.gni:17
Merged contents of .font_pkgs.json files. Populated in fonts.gni.
Current value (from the default): []
From //src/fonts/build/font_args.gni:32
Locations of .font_pkgs.json files, which list the locations of font files within the workspace, as well as safe names that are derived from the fonts' file names and can be used to name Fuchsia packages.
Current value (from the default): ["//prebuilt/third_party/fonts/fuchsia.font_pkgs.json"]
From //src/fonts/build/font_args.gni:22
Directory into which all fonts are checked out from CIPD
Current value (from the default): "//prebuilt/third_party/fonts"
From //src/fonts/build/font_args.gni:12
If format_minfs_on_corruption is true (the default), fshost formats minfs partition on finding it corrupted. Set to false to keep the devices in a corrupted state which might be of help to debug issues.
Current value (from the default): true
From //src/storage/fshost/BUILD.gn:32
Determines whether the fuchsia_async library used by many Rust targets will be compiled with TRACE level log statements that increase binary size a measurable amount. TODO(fxbug.dev/80742) move this to a toolchain to allow multiple products to build together
Current value (from the default): true
From //build/product.gni:23
Consumers of the Fuchsia SDK instantiate templates for various SDK parts at a specific spot within their buildroots. The target name for the specific part is then derived from the part name as specified in the meta.json manifest. Different buildroot instantiate the SDK parts at different locations and then set this variable. GN rules can then prefix this variable name in SDK builds to the name of the SDK part. This flag is meaningless in non-SDK buildroots.
Current value (from the default): ""
From //build/fuchsia/sdk.gni:17
An optional lit of golden files for fuchsia.zbi static pkgs list. If specified, they would be compared against fuchsia.zbi static pkgs list during build time. At least one of the golden files must match. In normal case, there should only be one golden file in this list. During a soft transition where changes are made in a different repo than the golden file repo, user need to
Current value (from the default): []
From //build/security.gni:81
Current value (from the default): "//src/security/policy/build/verify_routes_exceptions_allowlist.json5"
From //build/security.gni:89
An optional lit of golden files for fuchsia.zbi bootFS file list. If specified, they would be compared against fuchsia.zbi bootFS file list during build time. At least one of the golden files must match. In normal case, there should only be one golden file in this list. During a soft transition where changes are made in a different repo than the golden file repo, user need to
Current value (from the default): []
From //build/security.gni:51
An optional list of golden files for fuchsia.zbi kernel cmdline args. If specified, they would be compared against fuchsia.zbi kernel cmdline during build time. In normal case, there should only be golden file in this list. During a soft transition where changes are made in a different repo than the golden file repo, user need to
Current value (from the default): []
From //build/security.gni:21
Enables kernel tracing of futex interactions
Current value (from the default): false
From //zircon/kernel/params.gni:51
The size in bytes of the FVM partition on the target eMMC devices. Specifying this parameter will lead build to generate a fvm.fastboot.blk suitable for flashing through fastboot for eMMC devices.
Current value (from the default): false
From //build/images/fvm.gni:34
How to compress the FVM image used for fastboot flashing. Possible values:
Current value (from the default): "default"
From //build/images/fvm.gni:121
Current value (from the default): false
From //build/images/fvm.gni:114
Current value (from the default): false
From //build/images/fvm.gni:112
Specifying these variables will generate a NAND FVM image suitable for directly flashing via fastboot. The NAND characteristics are required in order to properly initialize the FTL metadata in the OOB area. fvm_max_disk_size
should also be nonzero or else minfs will not have any room to initialize on boot.
Current value (from the default): false
From //build/images/fvm.gni:111
Current value (from the default): false
From //build/images/fvm.gni:113
The size in bytes of the FVM partition image to create. Normally this is computed to be just large enough to fit the blob and data images. The default value is false, which means to size based on inputs. Specifying a size that is too small will result in build failure.
Current value (from the default): false
From //build/images/fvm.gni:29
The max size of the disk where the FVM is written. This is used for preallocating metadata to determine how much the FVM can expand on disk. Only applies to sparse FVM images. At sparse image construction time, the build fails if the inputs are larger than fvm_max_disk_size
. At paving time, the FVM will be sized to the target's disk size up to fvm_max_disk_size
. If the size of the disk increases after initial paving, the FVM will resize up to fvm_max_disk_size
. During paving, if the target FVM has declared a smaller size than fvm_max_disk_size
, the FVM is reinitialized to the larger size. The default value is false which sets the max disk size to the size of the disk at pave/format time.
Current value (from the default): false
From //build/images/fvm.gni:47
Current value (from the default): ""
From //build/images/args.gni:86
Number of slices reserved by FVM for internal usage. A reservation partition will be added to the FVM image, containing this many slices. If set to 0, then no reservation partition will be added.
Current value (from the default): 0
From //build/images/fvm.gni:59
The size of the FVM partition images “slice size”. The FVM slice size is a minimum size of a particular chunk of a partition that is stored within FVM. A very small slice size may lead to decreased throughput. A very large slice size may lead to wasted space. The selected default size of 8mb is selected for conservation of space, rather than performance.
Current value (from the default): 8388608
From //build/images/fvm.gni:54
Directory where the GCC toolchain binaries (“gcc”, “nm”, etc.) are found. This directory is expected to contain aarch64-elf-*
and x86_64-elf-*
tools used to build for the Fuchsia targets. This directory will not be used for host tools. If this is "", then a standard prebuilt is used.
Current value (from the default): ""
From //build/toolchain/zircon/gcc.gni:15
Current value (from the default): "//third_party/glm"
From //src/graphics/lib/magma/gnbuild/magma.gni:17
go_vet_enabled [bool] if false, go vet invocations are disabled for all builds.
Current value (from the default): false
From //build/go/go_build.gni:22
gocache_dir Directory GOCACHE environment variable will be set to. This directory will have build and test results cached, and is safe to be written to concurrently. If overridden, this directory must be a full path.
Current value (from the default): "/b/s/w/ir/x/w/fuchsia/out/not-default/dartlang/.gocache"
From //build/go/go_build.gni:18
Directory containing the Goma source code. This can be a GN source-absolute path (“//...”) or a system absolute path.
Current value (from the default): "//prebuilt/third_party/goma/linux-x64"
From //build/toolchain/goma.gni:15
GUID Partition Table (GPT) image.
Typically useful for initially flashing a device from zero-state.
Current value (from the default): ""
From //build/images/args.gni:51
Set to true in your args.gn file to generate pre-processed and auto-formatted shaders under the “debug” sub-directory of HotSort and Spinel target generation output directories.
These are never used, but can be reviewed manually to verify the impact of configuration parameters, or when modifying a compute shader.
Example results:
out/default/ gen/src/graphics/lib/compute/ hotsort/targets/hs_amd_gcn3_u64/ comp/ hs_transpose.comp -> unpreprocessed shader debug/ hs_transpose.glsl -> preprocessed shader
Current value (from the default): true
From //src/graphics/lib/compute/gn/glsl_shader_rules.gni:28
At times we may want to compare the performance of unoptimized vs. optimized shaders. On desktop platforms, use of spirv-opt doesn't appear to provide major performance improvements but it significantly reduces the size of the SPIR-V modules.
Disabling the spirv-opt pass may also be useful in identifying and attributing code generation bugs.
Current value (from the default): true
From //src/graphics/lib/compute/gn/glsl_shader_rules.gni:38
Set this to accommodate long running tests
Current value (from the default): 0
From //src/graphics/drivers/msd-intel-gen/src/BUILD.gn:9
Driver developers can set this to true if they are manually including a Mali package. This will change test environments so Vulkan tests run on boards with Mali GPUs.
Current value (from the default): false
From //src/graphics/lib/magma/gnbuild/magma.gni:36
Current value (from the default): "undefined"
From //build/config/host_byteorder.gni:7
Current value (from the default): "x64"
If you add labels to this variable, these will be included in the ‘host’ artifact set, which represents an additional set of host-only software that is produced by the build.
Current value for target_cpu = "arm64"
: ["//tools/devshell:fx", "//tools/bindc:host"]
From //out/not-default/args.gn:11
Overridden from the default: []
From //BUILD.gn:58
Current value for target_cpu = "x64"
: ["//tools/devshell:fx", "//tools/bindc:host"]
From //out/not-default/args.gn:11
Overridden from the default: []
From //BUILD.gn:58
Current value (from the default): "linux"
This is the directory where host tools intended for manual use by developers get installed. It‘s something a developer might put into their shell’s $PATH. Host tools that are just needed as part of the build do not get copied here. This directory is only for things that are generally useful for testing or debugging or whatnot outside of the GN build itself. These are only installed by an explicit install_host_tools() rule (see //build/host.gni).
Current value (from the default): "//out/not-default/host-tools"
From //build/host.gni:13
If true, compile icu into a standalone static library. Currently this is only useful on Chrome OS.
Current value (from the default): false
From //third_party/icu/config.gni:12
Contains the major version number of the ICU library, for dependencies that need different configuration based on the library version. Currently this is only useful in Fuchsia.
Current value (from the default): "69"
From //third_party/icu/version.gni:9
Tells icu to load an external data file rather than rely on the icudata being linked directly into the binary.
Current value (from the default): true
From //third_party/icu/config.gni:8
Include fvm.blob.sparse.blk image into the build if set to true
Current value (from the default): false
From //build/images/args.gni:117
Set to true to include internal fonts in the build.
Current value (from the default): false
From //src/fonts/build/font_args.gni:7
Whether to include tests that are known to fail on NUC with ASan. Should be set to false in the infra builders that have board == “x64” and “asan” in variants.
Current value (from the default): true
From //build/testing/environments.gni:11
Normally these tests are not built and run because they require large amounts of optional data be downloaded. Set this to true to enable the build for the zxdb_large_tests. See symbols/test_data/README.md for how to download the data required for this test.
Current value (from the default): false
From //src/developer/debug/zxdb/BUILD.gn:12
Tells inet to support additionally support async dns sockets.
Current value (from the default): true
From //third_party/openweave-core/config.gni:17
Tells inet to include support for the corresponding protocol.
Current value (from the default): true
From //third_party/openweave-core/config.gni:10
Current value (from the default): true
From //third_party/openweave-core/config.gni:11
Current value (from the default): true
From //third_party/openweave-core/config.gni:12
Current value (from the default): true
From //third_party/openweave-core/config.gni:14
Current value (from the default): true
From //third_party/openweave-core/config.gni:13
If set, the build will produce compilation analysis dumps, used for code cross-referencing in code search. The extra work done during analysis is only needed for cross-referencing builds, so we're keeping the flag and the analysis overhead turned off by default.
Current value (from the default): false
From //build/config/BUILDCONFIG.gn:26
Debug build.
Current value for target_cpu = "arm64"
: false
From //out/not-default/args.gn:6
Overridden from the default: true
From //build/config/BUILDCONFIG.gn:29
Current value for target_cpu = "x64"
: false
From //out/not-default/args.gn:6
Overridden from the default: true
From //build/config/BUILDCONFIG.gn:29
Current value (from the default): "0xffffffff00000000"
From //zircon/kernel/params.gni:29
Enables various kernel debugging and diagnostic features. Valid values are between 0-3. The higher the value, the more that are enabled. A value of 0 disables all of them.
TODO(fxbug.dev/41790): This value is derived from assert_level. Decouple the two and set kernel_debug_level independently.
Current value (from the default): 2
From //zircon/kernel/params.gni:79
Controls the verbosity of kernel dprintf messages. The higher the value, the more dprintf messages emitted. Valid values are 0-2 (inclusive): 0 - CRITCAL / ALWAYS 1 - INFO 2 - SPEW
Current value (from the default): 2
From //zircon/kernel/params.gni:86
Extra macro definitions for kernel code, e.g. “DISABLE_KASLR”, “ENABLE_KERNEL_LL_DEBUG”.
Current value (from the default): []
From //zircon/kernel/params.gni:71
By default the kernel version string is generated based on the full git revision found by git rev-parse HEAD
in this checkout directory.
Current value (from the default): "//zircon/.."
From //zircon/kernel/lib/version/BUILD.gn:20
If this is true, then the kernel version string generated based on kernel_version_git_checkout
also adds a “-dirty” suffix if any files in the checkout are modified from what's committed in git.
Current value (from the default): true
From //zircon/kernel/lib/version/BUILD.gn:25
Version string embedded in the kernel for zx_system_get_version_string
. If set to the default "", a string is generated based on the kernel_version_git_checkout
and kernel_version_git_dirty_check
settings, which see.
Current value (from the default): ""
From //zircon/kernel/lib/version/BUILD.gn:16
List of variants that will form the basis for variant toolchains. To make use of a variant, set select_variant
.
Normally this is not set as a build argument, but it serves to document the available set of variants. See also universal_variants
. Only set this to remove all the default variants here. To add more, set extra_variants
instead.
Each element of the list is one variant, which is a scope defining:
configs
(optional) [list of labels] Each label names a config that will be automatically used by every target built in this variant. For each config ${label}
, there must also be a target ${label}_deps
, which each target built in this variant will automatically depend on. The variant()
template is the recommended way to define a config and its _deps
target at the same time.
remove_common_configs
(optional) remove_shared_configs
(optional) [list of labels] This list will be removed (with -=
) from the default_common_binary_configs
list (or the default_shared_library_configs
list, respectively) after all other defaults (and this variant's configs) have been added.
deps
(optional) [list of labels] Added to the deps of every target linked in this variant (as well as the automatic ${label}_deps
for each label in configs).
name
(required if configs is omitted) [string] Name of the variant as used in select_variant
elements' variant
fields. It's a good idea to make it something concise and meaningful when seen as e.g. part of a directory name under $root_build_dir
. If name is omitted, configs must be nonempty and the simple names (not the full label, just the part after all /
s and :
s) of these configs will be used in toolchain names (each prefixed by a “-”), so the list of config names forming each variant must be unique among the lists in known_variants + extra_variants
.
tags
(optional) [list of strings] A list of liberal strings describing properties of the toolchain instances created from this variant scope. See //build/toolchain/variant_tags.gni for the list of available values and their meaning.
toolchain_args
(optional) [scope] Each variable defined in this scope overrides a build argument in the toolchain context of this variant.
host_only
(optional) target_only
(optional) [scope] This scope can contain any of the fields above. These values are used only for host or target, respectively. Any fields included here should not also be in the outer scope.
Current value (from the default):
[{ configs = ["//build/config/lto"] tags = ["lto"] }, { configs = ["//build/config/lto:thinlto"] tags = ["lto"] }, { name = "novariant" }, { configs = ["//build/config/profile:coverage"] tags = ["instrumented", "coverage"] }, { configs = ["//build/config/profile:coverage-rust"] tags = ["instrumented", "coverage"] }, { configs = ["//build/config/profile"] tags = ["instrumented", "profile"] }, { configs = ["//build/config/profile:coverage-sdk"] tags = ["instrumented", "coverage"] }, { configs = ["//build/config/sanitizers:ubsan"] remove_common_configs = ["//build/config:no_rtti"] tags = ["instrumented", "instrumentation-runtime", "kernel-excluded", "ubsan"] }, { configs = ["//build/config/sanitizers:ubsan", "//build/config/sanitizers:sancov"] remove_common_configs = ["//build/config:no_rtti"] tags = ["instrumented", "instrumentation-runtime", "kernel-excluded", "sancov", "ubsan"] }, { configs = ["//build/config/sanitizers:asan"] host_only = { remove_shared_configs = ["//build/config:symbol_no_undefined"] } tags = ["asan", "instrumentation-runtime", "instrumented", "lsan", "replaces-allocator", "kernel-excluded"] toolchain_args = { } }, { configs = ["//build/config/sanitizers:asan", "//build/config/sanitizers:ubsan"] host_only = { remove_shared_configs = ["//build/config:symbol_no_undefined"] } remove_common_configs = ["//build/config:no_rtti"] tags = ["asan", "instrumentation-runtime", "instrumented", "lsan", "replaces-allocator", "kernel-excluded", "ubsan"] toolchain_args = { } }, { configs = ["//build/config/sanitizers:asan", "//build/config/sanitizers:sancov"] host_only = { remove_shared_configs = ["//build/config:symbol_no_undefined"] } tags = ["asan", "instrumentation-runtime", "instrumented", "lsan", "replaces-allocator", "kernel-excluded", "sancov"] toolchain_args = { } }, { configs = ["//build/config/sanitizers:asan", "//build/config/zircon:no_safestack"] host_only = { remove_shared_configs = ["//build/config:symbol_no_undefined"] } name = "kasan" tags = ["asan", "instrumentation-runtime", "instrumented", "lsan", "replaces-allocator", "kernel-only"] toolchain_args = { } }, { configs = ["//build/config/sanitizers:asan", "//build/config/zircon:no_safestack", "//build/config/sanitizers:sancov"] host_only = { remove_shared_configs = ["//build/config:symbol_no_undefined"] } name = "kasan-sancov" tags = ["asan", "instrumentation-runtime", "instrumented", "lsan", "replaces-allocator", "kernel-only", "sancov"] toolchain_args = { } }, { configs = ["//build/config/sanitizers:asan", "//build/config/fuzzer", "//build/config/sanitizers:rust-asan", "//build/config:icf"] host_only = { remove_shared_configs = ["//build/config:symbol_no_undefined"] } name = "asan-fuzzer" remove_common_configs = ["//build/config:icf"] remove_shared_configs = ["//build/config:symbol_no_undefined"] tags = ["asan", "instrumentation-runtime", "instrumented", "lsan", "replaces-allocator", "kernel-excluded", "fuzzer"] toolchain_args = { asan_default_options = "alloc_dealloc_mismatch=0:check_malloc_usable_size=0:detect_odr_violation=0:max_uar_stack_size_log=16:print_scariness=1:allocator_may_return_null=1:detect_leaks=0:detect_stack_use_after_return=1:malloc_context_size=128:print_summary=1:print_suppressions=0:strict_memcmp=0:symbolize=0" } }, { configs = ["//build/config/fuzzer", "//build/config/sanitizers:ubsan", "//build/config:icf"] name = "ubsan-fuzzer" remove_common_configs = ["//build/config:icf", "//build/config:no_rtti"] remove_shared_configs = ["//build/config:symbol_no_undefined"] tags = ["fuzzer", "instrumented", "instrumentation-runtime", "ubsan"] }, { name = "gcc" tags = ["gcc"] }]
From //build/config/BUILDCONFIG.gn:1020
Indicates whether to include basemgr.cmx in the boot sequence for the product image.
Current value (from the default): true
From //src/modular/build/modular_config/modular_config.gni:12
If true
, adds additional testonly content to extras.img, which will be built and mounted inside the container at /mnt/chromeos.
Current value (from the default): true
From //src/virtualization/bin/linux_runner/BUILD.gn:30
Current value (from the default): "10.0.0.1"
From //src/virtualization/bin/linux_runner/BUILD.gn:25
Default values for the guest network configuration.
These are currently hard-coded to match what is setup in the virtio-net device.
See //src/virtualization/bin/vmm/device/virtio_net.cc for more details.
Current value (from the default): "10.0.0.2"
From //src/virtualization/bin/linux_runner/BUILD.gn:24
Current value (from the default): "255.255.255.0"
From //src/virtualization/bin/linux_runner/BUILD.gn:26
Point this to the location of a prebuilt stateful image
Current value (from the default): ""
From //src/virtualization/bin/linux_runner/BUILD.gn:41
Point this to the location of external files to be included as extras
Current value (from the default): []
From //src/virtualization/bin/linux_runner/BUILD.gn:38
If true
, all block devices that would normally load as READ_WRITE will be loaded as VOLATILE_WRITE. This is useful when working on changes to the linux kernel as crashes and panics can sometimes corrupt the images.
Current value (from the default): false
From //src/virtualization/bin/linux_runner/BUILD.gn:35
Used to enable local benchmarking/fine-tuning when running benchmarks in fx shell
. Pass --args=local_bench='true'
to fx set
in order to enable it.
Current value (from the default): false
From //src/developer/fuchsia-criterion/BUILD.gn:13
Current value (from the default): "30000"
From //garnet/bin/log_listener/BUILD.gn:13
Default LeakSanitizer options (before the LSAN_OPTIONS
environment variable is read at runtime). This can be set as a build argument to affect most “lsan” variants in $variants (which see), or overridden in $toolchain_args in one of those variants. This can be a list of strings or a single string.
Note that even if this is empty, programs in this build cannot define their own __lsan_default_options
C function. Instead, they can use a sanitizer_extra_options() target in their deps
and then any options injected that way can override that option's setting in this list.
Current value (from the default): []
From //build/config/sanitizers/sanitizer_default_options.gni:35
Current value (from the default): "//src/graphics/lib/magma"
From //src/graphics/lib/magma/gnbuild/magma.gni:13
Enable this to include fuchsia tracing capability
Current value (from the default): true
From //src/graphics/lib/magma/gnbuild/magma.gni:23
The path to OpenVX headers
Current value (from the default): ""
From //src/graphics/lib/magma/gnbuild/magma.gni:29
The path to an OpenVX implementation
Current value (from the default): ""
From //src/graphics/lib/magma/gnbuild/magma.gni:32
Current value (from the default): "/b/s/w/ir/x/w/fuchsia/third_party/mako"
From //src/graphics/lib/magma/gnbuild/magma.gni:20
Maximum allowable contents for the /blob in a release mode build. Zero means no limit. contents_size refers to contents stored within the filesystem (regardless of how they are stored).
Current value (from the default): "0"
From //build/images/filesystem_limits.gni:10
Maximum allowable image_size for /blob in a release mode build. Zero means no limit. image_size refers to the total image size, including both contents and metadata.
Current value (from the default): "0"
From //build/images/filesystem_limits.gni:16
Maximum allowable contents_size for /data in a release mode build. Zero means no limit. contents_size refers to contents stored within the filesystem (regardless of how they are stored).
Current value (from the default): "0"
From //build/images/filesystem_limits.gni:22
Maximum allowable image_size for /data in a release mode build. Zero means no limit. image_size refers to the total image size, including both contents and metadata.
Current value (from the default): "0"
From //build/images/filesystem_limits.gni:28
Maximum allowable size for fuchsia.zbi
Current value for target_cpu = "arm64"
: 16777216
From //boards/arm64.gni:37
Overridden from the default: 0
From //build/images/filesystem_limits.gni:31
Current value (from the default): 0
From //build/images/filesystem_limits.gni:31
Controls how many bytes of space on disk are used to persist device logs. Should be a string value that only contains digits.
Current value (from the default): "0"
From //garnet/bin/log_listener/BUILD.gn:12
Maximum allowable size for zedboot.zbi
Current value for target_cpu = "arm64"
: 16777216
From //boards/arm64.gni:38
Overridden from the default: 0
From //build/images/filesystem_limits.gni:34
Current value (from the default): 0
From //build/images/filesystem_limits.gni:34
Configuration file for MbedTLS.
Current value (from the default): "mbedtls-config.h"
From //third_party/openthread/third_party/mbedtls/BUILD.gn:30
A list of labels for meta packages to be included in the monolith.
Current value for target_cpu = "arm64"
: []
From //products/bringup.gni:48
Overridden from the default: []
From //build/images/args.gni:69
Current value for target_cpu = "x64"
: []
From //products/bringup.gni:48
Overridden from the default: []
From //build/images/args.gni:69
Controls minimum amount of space of persistent RAM to reserve for the crashlog. When other features (such as persistent debug logging) are enabled, this value controls the minimum number of bytes which will always be reserved for the crashlog (subject to the total amount of available persistent RAM), regardless of how much ram is requested by other users of persistent RAM. Must be a multiple of 128 bytes.
Current value (from the default): 2048
From //zircon/kernel/lib/crashlog/params.gni:14
Current value (from the default): false
From //build/images/fvm.gni:101
Current value (from the default): false
From //build/images/fvm.gni:88
Current value (from the default): false
From //build/images/fvm.gni:78
Set this to true when configuring gn args to enable minfs dirty cache. This is a compile time argument instead of mount time argument because we conditionally want to enable dirty cache only on specific configurations. Once it is enabled, we want the board to run all instances of minfs, including # data and all minfs created to run test, should enable dirty cache. This ensures that we run what we test.
Current value (from the default): false
From //src/storage/minfs/BUILD.gn:12
minfs_maximum_runtime_bytes is an upper bound on the partition size on the device. Partitions can grow as needed if there are extra slices available in FVM. This limit prevents the minfs partition from taking too much space away from other uses.
Pass the empty string for no limit.
Current value (from the default): ""
From //src/storage/fshost/BUILD.gn:27
Current value (from the default): false
From //build/images/fvm.gni:102
Current value (from the default): false
From //build/images/fvm.gni:89
Current value (from the default): false
From //build/images/fvm.gni:79
Current value (from the default): false
From //third_party/crashpad/third_party/mini_chromium/mini_chromium/build/platform.gni:31
Current value (from the default): false
From //third_party/crashpad/third_party/mini_chromium/mini_chromium/build/platform.gni:30
Enable all 8 cores, which is faster but emits more heat.
Current value (from the default): true
From //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:9
With this flag set the system tries to use cache coherent memory if the GPU supports it.
Current value (from the default): true
From //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:13
In protected mode, faults don‘t return as much information so they’re much harder to debug. To work around that, add a mode where protected atoms are executed in non-protected mode and vice-versa.
NOTE: The memory security ranges should also be set (in TrustZone) to the opposite of normal, so that non-protected mode accesses can only access protected memory and vice versa. Also, growable memory faults won't work in this mode, so larger portions of growable memory should precommitted (which is not done by default).
Current value (from the default): false
From //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:23
Current value (from the default): "//src/graphics/drivers"
From //src/graphics/lib/magma/gnbuild/magma.gni:15
Current value (from the default): "//src/graphics/drivers/msd-intel-gen"
From //src/graphics/lib/magma/gnbuild/magma.gni:16
Current value (from the default): false
From //src/graphics/drivers/msd-intel-gen/tests/integration/BUILD.gn:8
Current value (from the default): true
From //src/connectivity/management/BUILD.gn:6
Current value (from the default): []
From //src/bringup/bin/netsvc/BUILD.gn:22
Default app id will always return no update.
Current value (from the default): "fuchsia-test:no-update"
From //src/sys/pkg/bin/omaha-client/BUILD.gn:13
Enable assertions.
Current value (from the default): true
From //third_party/openthread/etc/gn/openthread.gni:79
Enable backbone router functionality
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:82
Enable border agent support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:85
Enable border router support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:88
Enable border routing support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:91
Enable channel manager support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:94
Enable channel monitor support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:97
Enable child supervision support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:100
Enable coap api support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:103
Enable coap observe (RFC7641) api support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:109
Enable secure coap api support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:106
Enable commissioner support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:112
Extra deps for OpenThread configuration.
Current value (from the default): []
From //third_party/openthread/etc/gn/openthread.gni:38
Enable DHCP6 client support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:118
Enable DHCP6 server support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:121
Enable diagnostic support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:124
Enable DNS client support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:127
Enable DNS-SD server support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:130
Enable Domain Unicast Address feature for Thread 1.2
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:136
Enable ECDSA support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:133
Current value (from the default): true
From //third_party/openthread/etc/gn/openthread.gni:233
OpenThread config header.
Current value (from the default): "<openthread-config-fuchsia.h>"
From //third_party/openthread/etc/gn/openthread.gni:35
Enable full logs
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:220
Enable external heap support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:142
Enable ipv6 fragmentation support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:145
Enable support for adding of auto-configured SLAAC addresses by OpenThread
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:199
Enable jam detection support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:148
Enable joiner support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:151
Enable legacy network support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:154
Enable link metrics initiator
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:157
Enable link metrics subject
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:160
Enable link raw service
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:163
Enable dynamic log level control
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:166
Log output: none, debug_uart, app, platform
Current value (from the default): ""
From //third_party/openthread/etc/gn/openthread.gni:76
Enable csl receiver
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:115
Enable mac filter support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:169
Enable use built-in heap for message buffers
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:172
Enable MLE long routes extension (experimental, breaks Thread conformance]
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:175
Enable Multicast Listener Registration feature for Thread 1.2
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:139
Enable multiple instances
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:181
Enable NCP HDLC support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:229
Enable NCP SPI support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:226
Enable OTNS support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:223
Enable ping sender support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:211
Enable platform netif support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:184
Enable platform UDP support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:187
Enable Thread Test Harness reference device support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:190
Enable SNTP Client support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:202
Enable SRP Client support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:205
Enable SRP Server support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:208
Thread version: 1.1, 1.2
Current value (from the default): "1.2"
From //third_party/openthread/etc/gn/openthread.gni:73
Enable the time synchronization service feature
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:214
Enable support for injecting Service entries into the Thread Network Data
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:193
Enable TMF network diagnostics on MTDs
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:178
Enable UDP forward support
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:217
Extra deps for OpenThread core configuration.
Current value (from the default): []
From //third_party/openthread/etc/gn/openthread.gni:50
OpenThread platform-specific config check header
Current value (from the default): ""
From //third_party/openthread/etc/gn/openthread.gni:47
Configure OpenThread via GN arguments.
Current value (from the default): true
From //third_party/openthread/etc/gn/openthread.gni:67
Use external mbedtls. If blank, internal mbedtls will be used.
Current value (from the default): ""
From //third_party/openthread/etc/gn/openthread.gni:56
Use external platform.
Current value (from the default): ""
From //third_party/openthread/etc/gn/openthread.gni:53
Package name for OpenThread.
Current value (from the default): "OPENTHREAD"
From //third_party/openthread/etc/gn/openthread.gni:59
Package version for OpenThread.
Current value (from the default): "1.0.0"
From //third_party/openthread/etc/gn/openthread.gni:62
OpenThread project-specific core config header
Current value (from the default): ""
From //third_party/openthread/etc/gn/openthread.gni:44
Include directories for project specific configs.
Current value (from the default): []
From //third_party/openthread/etc/gn/openthread.gni:41
Enable volatile-only storage of settings
Current value (from the default): false
From //third_party/openthread/etc/gn/openthread.gni:196
none
: really unoptimized, usually only build-tested and not rundebug
: “optimized for debugging”, light enough to avoid confusiondefault
: default optimization levelsize
: optimized for space rather than purely for speedspeed
: optimized purely for speedsanitizer
: optimized for sanitizers (ASan, etc.)profile
: optimized for coverage/profile data collectioncoverage
: optimized for coverage data collectionCurrent value (from the default): "speed"
From //build/config/compiler.gni:23
Sets if we should output breakpad symbols for Fuchsia binaries.
Current value (from the default): false
From //build/config/BUILDCONFIG.gn:32
Controls whether we should output GSYM files for Fuchsia binaries.
Current value (from the default): false
From //build/config/BUILDCONFIG.gn:35
Used to configure the set of package flavors desired.
Usage:
package_flavor_selections = [ { name = “snazzy” flavor = “with_hooks” }, { name = “some_other_package” flavor = “some_other_flavor” }, ]
The above specifies that the package “snazzy” should use the “with_hooks” flavor, and that “some_other_package” should use the “some_other_flavor” flavor instead of their default flavor all other packages using this template would use their default package flavors.
Current value for target_cpu = "arm64"
: []
From //products/bringup.gni:68
Overridden from the default: []
From //build/packages/prebuilt_package_with_flavors.gni:29
Current value for target_cpu = "x64"
: []
From //products/bringup.gni:68
Overridden from the default: []
From //build/packages/prebuilt_package_with_flavors.gni:29
Current value (from the default): false
From //build/persist_logs.gni:13
Controls the granularity of allocation of the global pool of persistent RAM. All features which wish to use persistent RAM to preserve data across reboot must operate in allocations which are a multiple of this value. The value should be a power of two, and typically should be a multiple of the cacheline size of the target architecture.
Current value (from the default): 128
From //zircon/kernel/params.gni:93
Current value (from the default): false
From //src/devices/bus/drivers/pci/pci.gni:10
Used to control whether board definitions include PMM checker options.
Current value (from the default): true
From //boards/kernel_cmdline/BUILD.gn:34
Current value (from the default): false
From //build/images/args.gni:89
Directory containing prebuilt Dart SDK. This must have in its bin/
subdirectory gen_snapshot.OS-CPU
binaries.
Current value (from the default): "//prebuilt/third_party/dart/linux-x64"
From //build/dart/dart.gni:8
The path to a prebuilt libvulkan.so for an IMG GPU.
Current value (from the default): ""
From //src/graphics/lib/magma/gnbuild/magma.gni:26
A list of binary labels to include in ZBIs built for this product.
Current value for target_cpu = "arm64"
: ["//build/info:bootfs", "//bundles:bootstrap", "//bundles:debugging", "//bundles:diagnostics-eng", "//bundles/bringup:manual_testing", "//bundles/drivers:bootstrap", "//bundles/drivers:bootstrap-eng", "//bundles/drivers:usb-host-stack", "//bundles/drivers:usb-peripheral-stack", "//bundles/drivers:utils", "//src/diagnostics/archivist:default-service-config", "//products/kernel_cmdline:blobfs.cache-eviction-policy--NEVER_EVICT", "//products/kernel_cmdline:console.shell--true", "//products/kernel_cmdline:kernel.enable-debugging-syscalls--true", "//products/kernel_cmdline:kernel.enable-serial-syscalls--true", "//products/kernel_cmdline:kernel.oom.behavior--jobkill", "//products/kernel_cmdline:netsvc.all-features--true", "//products/kernel_cmdline:netsvc.disable--false", "//src/testing/runtests", "//src/sys/component_manager:component_manager_bootfs_config", "//build/images:component_id_index_config"]
From //products/bringup.gni:40
Overridden from the default: []
From //build/product.gni:7
Current value for target_cpu = "x64"
: ["//build/info:bootfs", "//bundles:bootstrap", "//bundles:debugging", "//bundles:diagnostics-eng", "//bundles/bringup:manual_testing", "//bundles/drivers:bootstrap", "//bundles/drivers:bootstrap-eng", "//bundles/drivers:usb-host-stack", "//bundles/drivers:usb-peripheral-stack", "//bundles/drivers:utils", "//src/diagnostics/archivist:default-service-config", "//products/kernel_cmdline:blobfs.cache-eviction-policy--NEVER_EVICT", "//products/kernel_cmdline:console.shell--true", "//products/kernel_cmdline:kernel.enable-debugging-syscalls--true", "//products/kernel_cmdline:kernel.enable-serial-syscalls--true", "//products/kernel_cmdline:kernel.oom.behavior--jobkill", "//products/kernel_cmdline:netsvc.all-features--true", "//products/kernel_cmdline:netsvc.disable--false", "//src/testing/runtests", "//src/sys/component_manager:component_manager_bootfs_config", "//build/images:component_id_index_config"]
From //products/bringup.gni:40
Overridden from the default: []
From //build/product.gni:7
A list of binary labels to include in the system_image package.
Current value (from the default): []
From //build/product.gni:10
Whether or not prototype account transfer is enabled. NOTE: This is not secure and should NOT be enabled for any products! This is only for use during local development.
Current value (from the default): false
From //src/identity/bin/account_manager/BUILD.gn:12
Allows a product to specify the recovery image used in the zirconr slot. Default recovery image is zedboot. Overriding this value will keep zedboot in the build but will not include it as the default zirconr image. Recovery images can provide an update target by specifying the metadata item “update_target” in the format =. (Such as update_target = [ "recovery=" + rebase_path(recovery_path, root_build_dir) ]
) Example value: “//build/images/recovery”
Current value (from the default): "//build/images/zedboot"
From //build/images/args.gni:126
Path to file to use for recovery logo
Current value (from the default): "//src/recovery/system/res/fuchsia-logo.shed"
From //src/recovery/system/system_recovery_args.gni:7
This is really a build for a recovery image, and so the fuchsia image that is being built isn‘t properly configured, and so just disable the new image assembly work until that’s been addressed.
Current value (from the default): false
From //build/images/args.gni:19
An optional list of golden files for recovery.zbi static pkgs list. If specified, they would be compared against recovery.zbi static pkgs list during build time. At least one of the golden files must match. In normal case, there should only be golden file in this list. During a soft transition where changes are made in a different repo than the golden file repo, user need to
Current value (from the default): []
From //build/security.gni:104
An optional list of golden files for recovery.zbi bootFS file list. If specified, they would be compared against recovery.zbi bootFS file list during build time. At least one of the golden files must match. In normal case, there should only be golden file in this list. During a soft transition where changes are made in a different repo than the golden file repo, user need to
Current value (from the default): []
From //build/security.gni:66
An optional list of golden files for recovery.zbi kernel cmdline args. If specified, they would be compared against recovery.zbi kernel cmdline during build time. At least one of the golden files must match. In normal case, there should only be one golden file in this list. During a soft transition where changes are made in a different repo than the golden file repo, user need to
Current value (from the default): []
From //build/security.gni:36
Current value (from the default): false
From //third_party/boringssl/BUILD.gn:14
Sets the maximum lint level. “deny” will make all warnings into errors, “warn” preserves them as warnings, and “allow” will ignore warnings.
Current value (from the default): "deny"
From //build/rust/config.gni:51
Enable incremental rust compilation. Takes a path to the directory to use as the cache.
Current value (from the default): ""
From //build/config/rust/BUILD.gn:17
Sets the default LTO type for rustc bulids.
Current value (from the default): ""
From //build/rust/config.gni:43
Overrides the LTO setting for all Rust builds, regardless of debug/release flags. Valid values are “none”, “thin”, and “fat”.
Current value (from the default): ""
From //build/rust/config.gni:61
Overrides the optimization level for all Rust builds, regardless of debug/release flags or the force_opt
arg to the rustc_ templates. Valid values are 0-3, o, and z.
Current value (from the default): ""
From //build/rust/config.gni:56
Sets a custom base directory for where rust tooling looks for the standard library
Current value (from the default): "//prebuilt/third_party/rust/linux-x64"
From //build/rust/config.gni:40
Sets the fuchsia toolchain target triple suffix (after arch)
Current value (from the default): "fuchsia"
From //build/rust/config.gni:46
Controls whether the rust compiler uses v0 symbol mangling scheme (see https://github.com/rust-lang/rfcs/blob/HEAD/text/2603-rust-symbol-name-mangling-v0.md). The v0 symbol mangling scheme requires upstream LLVM support when demangling, so it is not on by default. TODO(fxbug.dev/57302): Enable v0 mangling by default.
Current value (from the default): false
From //build/config/rust/BUILD.gn:13
Path to rustc lib directory.
Current value (from the default): "//prebuilt/third_party/rust/linux-x64/bin/../lib"
From //build/images/manifest.gni:16
Sets a custom base directory for rustc
and cargo
. This can be used to test custom Rust toolchains.
Current value (from the default): "//prebuilt/third_party/rust/linux-x64/bin"
From //build/rust/config.gni:22
Human-readable identifier for the toolchain version.
TODO(tmandry): Make this the same repo/revision info from rustc --version
. e.g., clang_version_description = read_file(“$_rustc_lib_dir/VERSION”)
Current value (from the default): ""
From //build/rust/config.gni:36
This is a string identifying the particular toolchain version in use. Its only purpose is to be unique enough that it changes when switching to a new toolchain, so that recompilations with the new compiler can be triggered.
When using the prebuilt, this is ignored and the CIPD instance ID of the prebuilt is used.
Current value (from the default): "bANU9yd4cBaxBs3IocHfPMUwOZca8YbrPfBIEMX0QYoC"
From //build/rust/config.gni:30
Draws the current frame number in the top-left corner.
Current value (from the default): false
From //src/ui/scenic/lib/gfx/BUILD.gn:12
Include the vulkan validation layers in scenic.
Current value (from the default): false
From //src/ui/scenic/lib/gfx/build_args.gni:7
Current value (from the default): false
From //src/ui/scenic/lib/gfx/BUILD.gn:9
Enables scheduler queue tracing for trace-based scheduler performance analysis.
Current value (from the default): false
From //zircon/kernel/params.gni:48
The level of detail for scheduler traces when enabled. Values greater than zero add increasing details at the cost of increased trace buffer use.
0 = Default kernel:sched tracing. 1 = Adds duration traces for key scheduler operations. 2 = Adds flow events from wakeup to running state. 3 = Adds detailed internal durations and probes.
Current value (from the default): 0
From //zircon/kernel/params.gni:44
Default Scudo options (before the SCUDO_OPTIONS
environment variable is read at runtime). Scudo is the memory allocator in Fuchsia's C library, so this affects all Fuchsia programs. This can be a list of strings or a single string.
This operates similarly to asan_default_options
and its cousins for other sanitizers, but is slightly different. If this variable is empty, then no __scudo_default_options
function is injected into programs at all. Individual targets can use dependencies on sanitizer_extra_options() targets to cause options to be injected, and that will be compatible with any build-wide settings of scudo_default_options
. Programs can define their own __scudo_default_options
functions, but doing so will break all builds with this variable is set to nonempty, so any program in the build that needs such a setting (which should be only in tests) can use the sanitizer_extra_options() mechanism instead.
Current value (from the default): []
From //build/config/sanitizers/sanitizer_default_options.gni:67
The directories to search for parts of the SDK.
By default, we search the public directories for the various layers. In the future, we'll search a pre-built SDK as well.
Current value (from the default): ["//garnet/public", "//topaz/public"]
From //build/config/fuchsia/sdk.gni:10
Identifier for the Core SDK.
Current value (from the default): ""
From //sdk/config.gni:7
List of “selectors” to request variant builds of certain targets. Each selector specifies matching criteria and a chosen variant. The first selector in the list to match a given target determines which variant is used for that target.
Each selector is either a string or a scope. A shortcut selector is a string; it gets expanded to a full selector. A full selector is a scope, described below.
A string selector can match a name in select_variant_shortcuts
. If it‘s not a specific shortcut listed there, then it can be the name of any variant described in known_variants
and universal_variants
(and combinations thereof). A selector
that’s a simple variant name selects for every binary built in the target toolchain: { host=false variant=selector }
.
If a string selector contains a slash, then it‘s "shortcut/filename"
and selects only the binary in the target toolchain whose output_name
matches "filename"
, i.e. it adds output_name=["filename"]
to each selector scope that the shortcut’s name alone would yield.
The scope that forms a full selector defines some of these:
variant (required) [string or `false`] The variant that applies if this selector matches. This can be `false` to choose no variant, or a string that names the variant. See [`known_variants`](#known_variants) and [`universal_variants`](#universal_variants).
The rest below are matching criteria. All are optional. The selector matches if and only if all of its criteria match. If none of these is defined, then the selector always matches.
The first selector in the list to match wins and then the rest of the list is ignored. To construct more complex rules, use a blocklist selector with variant=false
before a catch-all default variant, or a list of specific variants before a catch-all false variant.
Each “[strings]” criterion is a list of strings, and the criterion is satisfied if any of the strings matches against the candidate string.
host [boolean] If true, the selector matches in the host toolchain. If false, the selector matches in the target toolchain. testonly [boolean] If true, the selector matches targets with testonly=true. If false, the selector matches in targets without testonly=true. target_type [strings]: `"executable"`, `"loadable_module"`, or `"driver_module"` output_name [strings]: target's `output_name` (default: its `target name`) label [strings]: target's full label with `:` (without toolchain suffix) name [strings]: target's simple name (label after last `/` or `:`) dir [strings]: target's label directory (`//dir` for `//dir:name`).
Current value (from the default): []
From //build/config/BUILDCONFIG.gn:1409
This should never be set as a build argument. It exists only to be set in toolchain_args
. See //build/toolchain/clang_toolchain.gni for details.
Current value (from the default): []
From //build/config/BUILDCONFIG.gn:1414
List of short names for commonly-used variant selectors. Normally this is not set as a build argument, but it serves to document the available set of short-cut names for variant selectors. Each element of this list is a scope where .name
is the short name and .select_variant
is a a list that can be spliced into select_variant
.
Current value (from the default):
[{ name = "host_asan" select_variant = [{ host = true variant = "asan" }] }, { name = "host_asan-ubsan" select_variant = [{ host = true variant = "asan-ubsan" }] }, { name = "host_coverage" select_variant = [{ host = true variant = "coverage" }] }, { name = "host_coverage-rust" select_variant = [{ host = true variant = "coverage-rust" }] }, { name = "host_profile" select_variant = [{ host = true variant = "profile" }] }]
From //build/config/BUILDCONFIG.gn:1222
The input to the size checker. The build system will produce a JSON file to be consumed by the size checker, which will check and prevent integration of subsystems that are over their space allocation. The input consists of the following keys:
asset_ext(string array): a list of extensions that should be considered as assets.
asset_limit(number): maximum size (in bytes) allocated for the assets.
core_limit(number): maximum size (in bytes) allocated for the core system and/or services. This is sort of a “catch all” component that consists of all the area / packages that weren't specified in the components list below.
components(object array): a list of component objects. Each object should contain the following keys:
component(string): name of the component.
src(string array): path of the area / package to be included as part of the component. The path should be relative to the obj/ in the output directory. For example, consider two packages foo and far, built to out/.../obj/some_big_component/foo and out/.../obj/some_big_component/bar. If you want to impose a limit on foo, your src will be [“some_big_component/foo”]. If you want to impose a limit on both foo and far, your src will be [“some_big_component”]. If a package has config-data, those prebuilt blobs actually live under the config-data package. If you wish to impose a limit of those data as well, you should add “build/images/config-data/$for_pkg” to your src. The $for_pkg corresponds to the $for_pkg field in config.gni.
limit(number): maximum size (in bytes) allocated for the component.
Example: size_checker_input = { asset_ext = [ “.ttf” ] asset_limit = 10240 core_limit = 10240 components = [ { component = “Foo” src = [ “topaz/runtime/foo_runner” ] limit = 10240 }, { component = “Bar” src = [ “build/images” ] limit = 20480 }, ] }
Current value (from the default): { }
From //tools/size_checker/cmd/BUILD.gn:52
Current value (from the default): 16
From //zircon/kernel/params.gni:21
Platform portability header for spinel.
Current value (from the default): "\"spinel_platform.h\""
From //third_party/openthread/src/lib/spinel/BUILD.gn:32
Current value (from the default): "//prebuilt/starnix/tests/syscalls/linux-amd64/syscalls"
From //src/proc/tests/android/BUILD.gn:12
Whether or not to launch OOBE workflow on startup.
Current value (from the default): false
From //src/experiences/session_shells/ermine/shell/BUILD.gn:28
Used by config_package(). If true, then overrides the value of the sysmgr_golden_warn template parameter to true regardless of whether it is specified on a target.
Current value (from the default): false
From //build/config.gni:13
Current value for target_cpu = "arm64"
: "arm64"
From //out/not-default/args.gn:7
Overridden from the default: ""
Current value for target_cpu = "x64"
: "x64"
From //out/not-default/args.gn:7
Overridden from the default: ""
Current value (from the default): ""
Controls (in bytes) the target size of the persistent debug log, in bytes. Setting this to zero disables all persistent debug log functionality. Note that while the system will make an attempt to secure this many bytes for the persistent debug log, it may not be able to due to limited persistent RAM resources. Must be a multiple of 128 bytes.
Current value (from the default): 0
From //zircon/kernel/lib/persistent-debuglog/params.gni:13
The absolute path of the sysroot that is used with the target toolchain.
Current value (from the default): ""
From //build/config/sysroot.gni:7
The termina disk image.
Defaults to the disk image from CIPD, but can be overridden to use a custom disk for development purposes.
Current value (from the default): "//prebuilt/virtualization/packages/termina_guest/images/arm64/vm_rootfs.img"
From //src/virtualization/packages/termina_guest/BUILD.gn:18
The termina kernel image.
Defaults to the common linux kernel image from CIPD, but can be overridden to use a custom kernel for development purposes.
Current value (from the default): "//prebuilt/virtualization/packages/linux_guest/images/arm64/Image"
From //src/virtualization/packages/termina_guest/BUILD.gn:12
The termina tools disk image.
Defaults to the disk image from CIPD, but can be overridden to use a custom disk for development purposes.
Current value (from the default): "//prebuilt/virtualization/packages/termina_guest/images/arm64/vm_tools.img"
From //src/virtualization/packages/termina_guest/BUILD.gn:24
A file in containing historical test duration data for this build configuration, used used by testsharder to evenly split tests across shards. It should be set for any builds where testsharder will be run afterwards.
Current value (from the default): ""
From //BUILD.gn:45
Whether to allow testonly=true targets in fuchsia ZBI or base/cache packages.
Possible values are “all”: Allow testonly=true target in fuchsia ZBI and base/cache packages. “all_but_base_cache_packages”: Do not allow testonly=true target in base/cache packages, but allow in other fuchsia ZBI dependencies. “none”: Do not allow testonly=true target in all ZBI dependencies including base/cache packages.
Default value is ‘all’, it is preferable to set to ‘none’ for production image to avoid accidental inclusion of testing targets.
Current value (from the default): "all"
From //build/security.gni:117
ThinLTO cache directory path.
Current value (from the default): "dartlang/thinlto-cache"
From //build/config/lto/config.gni:16
Number of parallel ThinLTO jobs.
Current value (from the default): 8
From //build/config/lto/config.gni:13
Whether to export time traces when building with clang. https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html#new-compiler-flags
Current value (from the default): false
From //build/config/clang/time_trace.gni:8
This should never be set as a build argument. It exists only to be set in toolchain_args
. See //build/toolchain/clang_toolchain.gni for details. This variable is a scope giving details about the current toolchain: toolchain_variant.base
[label] The “base” toolchain for this variant, often the right thing to use in comparisons, not current_toolchain
. This is the toolchain actually referenced directly in GN source code. If the current toolchain is not shlib_toolchain
or a variant toolchain, this is the same as current_toolchain
. In one of those derivative toolchains, this is the toolchain the GN code probably thought it was in. This is the right thing to use in a test like toolchain_variant.base == target_toolchain
, rather rather than comparing against current_toolchain
. toolchain_variant.name
[string] The name of this variant, as used in variant
fields in select_variant
clauses. In the base toolchain and its shlib_toolchain
, this is ""
. toolchain_variant.suffix
[string] This is “-${toolchain_variant.name}”, "" if name is empty. toolchain_variant.is_pic_default
[bool] This is true in shlib_toolchain
. toolchain_variant.tags
[list of strings] A list of liberal strings, each one describing a property of this toolchain instance. See //build/toolchain/variant_tags.gni for more details. toolchain_variant.configs
[list of configs] A list of configs that are added after the default ones to all linkable targets for this toolchain() instance. toolchain_variant.prefix_configs
[list of configs] A list of configs that are added before the default ones to all linkable targets for this toolchain() instance. toolchain_variant.remove_common_configs
[list of configs] A list of configs that are removed from all linkable targets for this toolchain() instance. Useful when one of the default configs must not be used. toolchain_variant.remove_shared_configs
[list of configs] Same a remove_common_configs, but only applies to non-executable (e.g. shared_library()) targets. toolchain_variant.instrumented
[boolean] A convenience flag that is true iff “instrumented” is part of toolchain_variant.tags. toolchain_variant.with_shared
[boolean] True iff this toolchain() instance has a secondary toolchain to build ELF shared-library code. toolchain_variant.libprefix
[string] Installation prefix for instrumented shared libraries, or an empty string for non-instrumented ones. For full details, see comment below where toolchain_variant.libprefix is defined.
The other fields are the variant's effects as defined in known_variants
.
Current value (from the default):
{ base = "//build/toolchain/fuchsia:arm64" }
From //build/config/BUILDCONFIG.gn:138
Default UndefinedBehaviorSanitizer options (before the UBSAN_OPTIONS
environment variable is read at runtime). This can be set as a build argument to affect most “ubsan” variants in $variants (which see), or overridden in $toolchain_args in one of those variants. This can be a list of strings or a single string.
Note that even if this is empty, programs in this build cannot define their own __ubsan_default_options
C function. Instead, they can use a sanitizer_extra_options() target in their deps
and then any options injected that way can override that option's setting in this list.
Current value (from the default): ["print_stacktrace=1", "halt_on_error=1"]
From //build/config/sanitizers/sanitizer_default_options.gni:47
Current value (from the default):
[{ configs = [] name = "debug" toolchain_args = { is_debug = true } }]
From //build/config/BUILDCONFIG.gn:1206
If you add package labels to this variable, the packages will be included in the ‘universe’ package set, which represents all software that is produced that is to be published to a package repository or to the SDK by the build. The build system ensures that the universe package set includes the base and cache package sets, which means you do not need to redundantly include those labels in this variable.
Current value for target_cpu = "arm64"
: ["//tools/net/device-finder:host", "//build/images:fastboot"]
From //out/not-default/args.gn:12
Overridden from the default: []
From //BUILD.gn:53
Current value for target_cpu = "x64"
: ["//tools/net/device-finder:host", "//build/images:fastboot"]
From //out/not-default/args.gn:12
Overridden from the default: []
From //BUILD.gn:53
To ensure that everything can be built without debug symbols present we gate weather or not these are consumed on a build argument. When set, unpack_debug_archives creates an additional build step that unpacks debug archives in tar.bzip2 format into the .build-id directory
Current value (from the default): false
From //build/packages/prebuilt_package.gni:13
(deprecated) List of kernel images to include in the update (OTA) package. If no list is provided, all built kernels are included. The names in the list are strings that must match the filename to be included in the update package.
Current value (from the default): []
From //build/images/args.gni:32
If true then the most recent canary version of the Cast Runner is used, otherwise the most recently validated version is used.
Current value (from the default): false
From //src/chromium/build_args.gni:18
Set to true to enable compiling with ccache
Current value (from the default): false
From //build/toolchain/ccache.gni:9
Set to use the most recent canary version of prebuilt Chromium components otherwise the most recently validated version is used.
Current value (from the default): false
From //src/chromium/build_args.gni:14
Current value (from the default): false
From //src/graphics/lib/gbm/gbm.gni:6
Controls if we enable relative-vtables for C++ targets.
Current value (from the default): true
From //build/config/clang/clang.gni:20
Set to true to enable distributed compilation using Goma.
Current value for target_cpu = "arm64"
: false
From //out/not-default/args.gn:8
Overridden from the default: false
From //build/toolchain/goma.gni:11
Current value for target_cpu = "x64"
: false
From //out/not-default/args.gn:8
Overridden from the default: false
From //build/toolchain/goma.gni:11
Set to use legacy virtcon implementation.
Current value (from the default): true
From //src/bringup/bundles/BUILD.gn:7
Use link time optimization (LTO).
Current value (from the default): false
From //build/config/lto/config.gni:7
Set this to true when configuring gn args to use the modern input injection protocol fuchsia.input.injection.InputDeviceRegistry
. If not set, input-synthesis defaults to connect to fuchsia.ui.input.InputDeviceRegistry
.
Current value (from the default): false
From //src/lib/ui/input-synthesis/BUILD.gn:12
If true, replaces netstack with netstack3.
When set as a GN argument, requires that sysmgr_config_warn_override be set to true to avoid build failures. See that flag's documentation for details.
Current value (from the default): false
From //src/connectivity/network/BUILD.gn:10
TODO(liyl): Currently non-x64 platforms don't have Vulkan support, so we always use the null Vulkan implementation instead.
Global arguments for whether we use a “null” Vulkan implementation on host vulkan_executables and vulkan_tests, so that any attempt to create a VkInstances or VkDevice will fail.
This argument will affect all vulkan_{executable/test} build targets.
Current value (from the default): false
From //src/lib/vulkan/build/config.gni:40
TODO(fxbug.dev/32414): This is a temporary switch that will be removed. If true, use the new “physboot” booting path for the Zircon kernel.
Current value (from the default): false
From //zircon/kernel/BUILD.gn:21
Use a prebuilt ffmpeg binary rather than building it locally. See //src/media/lib/ffmpeg/README.md for details. This is ignored when building in variant builds for which there is no prebuilt. In that case, ffmpeg is always built from source so as to be built with the selected variant‘s config. When this is false (either explicitly or in a variant build) then //third_party/ffmpeg must be in the source tree, which requires: jiri import -name third_party/ffmpeg -revision HEAD third_party/ffmpeg http://fuchsia.googlesource.com/integration
or, if already importing a different manifest from there, resulting in errors from jiri update, it can work to just git clone (but jiri update won’t manage third_party/ffmpeg in this case): mkdir third_party/ffmpeg git clone “sso://fuchsia.googlesource.com/third_party/ffmpeg” third_party/ffmpeg
Current value (from the default): true
From //src/media/lib/ffmpeg/BUILD.gn:40
Global arguments for whether we use the SwiftShader Vulkan ICD on host vulkan_executables and vulkan_tests.
This argument will affect all vulkan_{executable/test} build targets and it only works when use_null_vulkan_on_host is set to false.
Current value (from the default): true
From //src/lib/vulkan/build/config.gni:49
Use ThinLTO variant of LTO if use_lto = true.
Current value (from the default): true
From //build/config/lto/config.gni:10
If true, then a vbmeta image will be generated for provided ZBI and the paving script will pave vbmeta images to the target device.
Current value (from the default): false
From //build/images/vbmeta.gni:16
Use vboot images
Current value (from the default): false
From //build/images/args.gni:10
Current value (from the default): false
From //src/devices/bus/drivers/pci/pci.gni:11
Only set in buildroots where targets configure themselves for use with the Fuchsia SDK
Current value (from the default): false
From //build/fuchsia/sdk.gni:8
Current value (from the default): ""
From //build/images/args.gni:83
Current value (from the default): ""
From //build/images/args.gni:84
Current value (from the default): ""
From //build/images/args.gni:85
If true, vboot() image builds print out the exact “futility” command line.
Current value (from the default): false
From //build/images/vboot/vboot.gni:11
Whether libraries under //vendor should be linted.
Current value (from the default): false
From //build/fidl/fidl_library.gni:13
Enable verbose output from ffx assembly image
, this creates non-silent build output and therefore should never be ‘true’ in checked-in configs, and is meant solely for developer debugging.
Current value (from the default): false
From //build/images/args.gni:142
Current value (from the default): "//src/bringup/bin/virtcon2/data/boot-animation.riv"
From //src/bringup/bin/virtcon2/virtcon_args.gni:12
Current value (from the default): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Regular.ttf"
From //src/bringup/bin/virtcon2/virtcon_args.gni:8
Enable verbose logging in virtmagma-related code
Current value (from the default): false
From //src/graphics/lib/magma/include/virtio/virtmagma_debug.gni:7
The level of detail for traces emitted by the VM system. Values greater than zero add increasing details at the cost of increased trace buffer use.
0 = Default kernel:* tracing. 1 = Adds flow events for asynchronous page requests.
Current value (from the default): 0
From //zircon/kernel/params.gni:63
|vulkan_host_runtime_dir| is the path to Vulkan runtime libraries, which contains prebuilt Vulkan loader, Vulkan layers, SwiftShader Vulkan ICD, and descriptor files required to load the libraries.
Current value (from the default): "//prebuilt/third_party/vulkan_runtime/linux-x64"
From //src/lib/vulkan/build/config.gni:23
|vulkan_host_sdk_dir| is the path to Vulkan SDK, which contains Vulkan headers and sources to Vulkan loader, layers and tools.
Current value (from the default): "//prebuilt/third_party/vulkansdk/linux/x86_64"
From //src/lib/vulkan/build/config.gni:16
Current value (from the default): ""
From //src/graphics/examples/vkproto/common/common.gni:45
Enables tracing of wait queue depths. Used for post-processing analysis of how deep wait queues tend to be under various loads, as well as how frequently the change depth.
Current value (from the default): false
From //zircon/kernel/params.gni:56
Whether to only warn when an SDK has been modified. If false, any unacknowledged SDK change will cause a build failure.
Current value (from the default): false
From //build/sdk/config.gni:11
Tells openweave to support legacy WDM mode.
Current value (from the default): false
From //third_party/openweave-core/config.gni:29
Tells openweave to build WARM libraries.
Current value (from the default): true
From //third_party/openweave-core/config.gni:26
Tells openweave components to use bsd-like sockets.
Current value (from the default): true
From //third_party/openweave-core/config.gni:7
Tells openweave components to support fault injection.
Current value (from the default): false
From //third_party/openweave-core/config.gni:20
Tells openweave to support Verhoeff checksum.
Current value (from the default): true
From //third_party/openweave-core/config.gni:23
Whether or not to include the live_usb component in the build.
Current value (from the default): false
From //src/sys/live_usb/BUILD.gn:15
Selects the wlan configuration type to use. Choices: “client” - client mode “ap” - access point mode "" (empty string) - no configuration
Current value (from the default): "client"
From //src/connectivity/wlan/wlancfg/BUILD.gn:17
Compression setting for ZBI “storage” items. This can be “zstd”, optionally followed by “.LEVEL” where LEVEL
can be an integer or “max”.
Current value (from the default): "zstd"
From //build/zbi/zbi.gni:12
List of arguments to populate /boot/config/devmgr in the Zedboot image.
Current value (from the default): []
From //build/images/zedboot/zedboot_args.gni:7
Arguments to fx flash
script (along with any firmware_prebuilts
which specify a partition).
If fvm_partition
is provided, the flash script will flash the full OS, recovery + Zircon + FVM + SSH keys. In this case, the bootloader must also support fastboot oem add-staged-bootloader-file ssh.authorized_keys
.
Otherwise, the script will flash the recovery image to all slots, which doesn't require the FVM or SSH keys.
Current value (from the default): ""
From //build/images/args.gni:80
Current value (from the default): false
From //build/config/fuchsia/BUILD.gn:181
Current value (from the default): ""
From //build/images/args.gni:81
Current value (from the default): "//zircon"
From //src/graphics/lib/magma/gnbuild/magma.gni:18
Compilation database filter. Gets passed to --export-compile-commands=.
Current value (from the default): "default"
From //build/zircon/build_args.gni:16
Forcibly disable all assertions for the Zircon kernel. If this is set, the default is to use the value of zx_assert_level to control assertions when building the kernel.
Current value (from the default): false
From //build/zircon/build_args.gni:9
Zircon optimization level. Same acceptable values as optimize
. Note that this will be ignored, in favor of the global optimize
variable if the latter is one of: “none”, “sanitizer”, “profile” or “size”.
Current value (from the default): "default"
From //build/config/zircon/levels.gni:18
Current value (from the default): ""
From //build/images/args.gni:82
This should never be set as a build argument. It exists only to be set in toolchain_args
. For Zircon toolchains, this will be a scope whose schema is documented in //build/toolchain/zircon/zircon_toolchain.gni. For all other toolchains, this will be false.
This allows testing for a Zircon-specific toolchain with:
if (zircon_toolchain != false) { // code path for Zircon-specific toolchains } else { // code path for non-Zircon ones. }
Current value (from the default): false
From //build/config/BUILDCONFIG.gn:155
Where to emit a tracelog from Zircon's GN run. No trace will be produced if given the empty string. Path can be source-absolute or system-absolute.
Current value (from the default): ""
From //build/zircon/build_args.gni:13
Partition name from where image will be verified
Current value (from the default): "zircon"
From //build/images/vbmeta.gni:25
Controls which asserts are enabled.
ZX_ASSERT
is always enabled.
assert()
and ZX_DEBUG_ASSERT
.ZX_DEBUG_ASSERT
. Standard C assert()
remains enabled.Current value (from the default): 2
From //build/config/zircon/levels.gni:13
target_cpu = "arm64"
Path to the amlogic decoder firmware file. Overrides the default in the build.
Current value (from the default): ""
From //src/media/drivers/amlogic_decoder/BUILD.gn:13
The ARM floating point mode. This is either the string “hard”, “soft”, or “softfp”. An empty string means to use the default one for the arm_version.
Current value (from the default): ""
From //build/config/arm.gni:20
Whether to enable optional NEON code paths.
Current value (from the default): false
From //build/config/arm.gni:31
The ARM variant-specific tuning mode. This will be a string like “armv6” or “cortex-a15”. An empty string means to use the default for the arm_version.
Current value (from the default): ""
From //build/config/arm.gni:25
Whether to use the neon FPU instruction set or not.
Current value (from the default): true
From //build/config/arm.gni:28
Current value (from the default): 8
From //build/config/arm.gni:12
target_cpu = "x64"
TODO(fxbug.dev/32255): This is a temporary switch that will be removed.
Set this to make the ZBI compatible with older boot loaders such as a gigaboot or zedboot image already installed on a machine that's hard to update. This is an interim workaround only for people who have machines that are not physically accessible to update their boot images, and will be removed after everyone has had a chance to get hold of their machines.
Current value (from the default): false
From //zircon/kernel/BUILD.gn:33