GN Build Arguments

All builds

acpica_debug_output

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

active_partition

Current value (from the default): ""

From //build/images/args.gni:114

add_qemu_to_build_archives

Whether to include images necessary to run Fuchsia in QEMU in build archives.

Current value (from the default): false

From //build/images/args.gni:120

additional_boards

Additional boards (such as vendor boards) that are to be added to the build graph, and built when all boards for a given architecture are built. These boards MUST be valid in the configured default_toolchain, and be for the current ‘target_cpu’.

Current value (from the default): []

From //boards/BUILD.gn:13

additional_boot_args

List of arguments to add to /boot/config/additional_boot_args. These come after synthesized arguments to configure blobfs and pkgfs.

Current value (from the default): []

From //build/images/args.gni:24

additional_bootserver_arguments

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:126

all_cpu_kernel_boot_tests

Cause //zircon/kernel:boot_tests to generate the phys boot tests for all supported CPUs, not just $target_cpu.

Current value (from the default): false

From //zircon/kernel/BUILD.gn:24

all_cpu_phys_boot_tests

Cause //zircon/kernel/phys:boot_tests to generate the phys boot tests for all supported CPUs, not just $target_cpu.

Current value (from the default): false

From //zircon/kernel/phys/BUILD.gn:22

all_font_file_paths

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

all_toolchain_variants

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:2100

allowed_test_device_types

A list of device types this build is allowed to run tests on. If set, only these device types will be used for tests.

Current value (from the default): []

From //build/testing/test_spec.gni:12

always_zedboot

Build boot images that prefer Zedboot over local boot (only for EFI).

Current value (from the default): false

From //build/images/args.gni:141

amlogic_decoder_firmware_path

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:12

amlogic_display_is_dfv2

If true, the driver component fuchsia://fuchsia.com/amlogic-display# meta/amlogic-display.cm will be the DFv2 version of the driver component (:amlogic-display-dfv2). Otherwise, it will be the DFv1 version of the driver component (:amlogic-display-dfv1).

TODO(https://fxbug.dev/323061435): Enable the DFv2 amlogic-display driver by default.

Current value (from the default): false

From //src/graphics/display/drivers/amlogic-display/BUILD.gn:19

api_compatibility_testing

Current value (from the default): true

From //build/config/fuchsia/platform_version.gni:37

archivist_max_cached_logs_bytes

Current value (from the default): 4194304

From //src/diagnostics/archivist/configs.gni:6

arm_sdk_tools

If true, then the arm64 host tools are included in the SDK.

Current value (from the default): false

From //src/developer/ffx/plugins/emulator/emu_companion.gni:9

asan_default_options

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=32"]

From //build/config/sanitizers/sanitizer_default_options.gni:16

assembly_generate_fvm_fastboot

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/args.gni:149

assembly_generate_fvm_nand

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/args.gni:156

authorized_ssh_keys_label

Path to the file containing the authorized keys that are able to connect via ssh. This is in the format used by Bazel, and by GN‘s labels, but not by GN’s file path syntax:

authorized_ssh_keys_label = “//path/to/folder:file_name”

To GN, this path should be:

“//path/to/folder/file_name”

But to pass it as a file to the Bazel build, we need to use the “label” syntax, which is going to be fixed up below. LINT.IfChange

Current value (from the default): false

From //build/assembly/sshd_config.gni:19

avb_algorithm

Current value (from the default): "DEPRECATED"

From //build/images/vbmeta.gni:44

avb_atx_metadata

AVB metadata which will be used to validate public key

Current value for target_cpu = "arm64": "//third_party/android/platform/external/avb/test/data/atx_metadata.bin"

From //boards/arm64.gni:37

Overridden from the default: ""

From //build/images/vbmeta.gni:23

Current value for target_cpu = "x64": "//third_party/android/platform/external/avb/test/data/atx_metadata.bin"

From //boards/common/x64-common.gni:70

Overridden from the default: ""

From //build/images/vbmeta.gni:23

avb_key

a key which will be used to sign VBMETA and images for AVB

Current value for target_cpu = "arm64": "//third_party/android/platform/external/avb/test/data/testkey_atx_psk.pem"

From //boards/arm64.gni:39

Overridden from the default: ""

From //build/images/vbmeta.gni:20

Current value for target_cpu = "x64": "//third_party/android/platform/external/avb/test/data/testkey_atx_psk.pem"

From //boards/common/x64-common.gni:68

Overridden from the default: ""

From //build/images/vbmeta.gni:20

base_driver_package_labels

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:34

Overridden from the default: []

From //BUILD.gn:38

Current value for target_cpu = "x64": []

From //products/bringup.gni:34

Overridden from the default: []

From //BUILD.gn:38

base_package_labels

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": []

From //out/not-default/args.gn:17

Overridden from the default: []

From //BUILD.gn:45

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:17

Overridden from the default: []

From //BUILD.gn:45

basic_env_names

The list of environment names to include in “basic_envs”.

Current value (from the default): ["emu"]

From //build/testing/environments.gni:9

bazel_execution_logs

If true, emit additional execution logs, which contains information about remote executions and their action digests, cache status, remote inputs, and more. Caution: these logs can grow to be very large, due to the amount of information logged per action.

Current value (from the default): false

From //build/bazel/logging.gni:11

bazel_fuchsia_sdk_all_cpus

Set to true to populate the @fuchsia_sdk external repository with prebuilt binaries for all supported target CPU architectures. By default, only those for the current build configuration's target_cpu value will be generated to save about 3 minutes of build time when they are not needed.

Current value (from the default): false

From //build/bazel/bazel_fuchsia_sdk.gni:17

bazel_fuchsia_sdk_content

Determines which set of SDK atoms are used to populage the @fuchsia_sdk Bazel external repository in the current build configuration. Possible values are “core” or “driver”, see below for a description of each set. Note: this value will be changed to “core” once CI builders for the Fuchsia Bazel DDK are in place.

Current value (from the default): "driver"

From //build/bazel/bazel_fuchsia_sdk.gni:11

bazel_product_bundle_board

Current value for target_cpu = "arm64": "arm64"

From //boards/arm64.gni:44

Overridden from the default: false

From //build/images/args.gni:205

Current value for target_cpu = "x64": "x64"

From //boards/x64.gni:40

Overridden from the default: false

From //build/images/args.gni:205

bazel_product_bundle_prefix

Current value (from the default): false

From //build/images/args.gni:204

bazel_product_bundle_root

bazel_product_bundle_[root|prefix|board] together identifies the bazel_product_bundle target in GN target to use in Bazel assembly. The actual target used is:

${bazel_product_bundle_root}/${bazel_product_bundle_prefix}.${bazel_product_bundle_board}

NOTE: bazel_product_bundle_prefix should contain the fully qualified path prefix to the target. Setting both arguments is a prerequisite to enable Bazel assembly.

For example, given:

bazel_product_bundle_root = “//” bazel_product_bundle_prefix = “build/bazel/assembly:minimal” bazel_product_bundle_board = “x64”

The actual bazel_product_bundle used for Bazel assembly is:

//build/bazel/assembly:minimal.x64

Current value (from the default): "//"

From //build/images/args.gni:203

bazel_quiet

Suppress Bazel non-error output This is now disabled by default since bazel_action() uses the //:console pool to print its output directly to stdout/stderr during the Ninja build.

Current value (from the default): false

From //build/bazel/bazel_action.gni:18

bazel_upload_build_events

Configure bazel to stream build events and results to a service. This is useful for sharing build results and invocation details for reproducing and triaging issues. This option uses direct network access and requires authentication. The _infra variants are intended for use in build infrastructure. More information can be found at: https://bazel.build/remote/bep#build-event-service

Valid options: "": do not stream (default) “sponge”: uploads to Sponge2 (for users) “sponge_infra”: uploads to Sponge2 (for infra) “resultstore”: uploads to ResultStore (for users) “resultstore_infra”: uploads to ResultStore (for infra)

Current value (from the default): ""

From //build/bazel/remote_services.gni:30

bless_goldens

TODO(https://fxbug.dev/42051023): delete bless_goldens, to give users time to switch to new gn arg, update_goldens

Current value (from the default): false

From //build/testing/config.gni:11

blobfs_capacity

Maximum allowable contents for the /blob in a release mode build for both slot A and slot B of the system. False means no limit.

Current value for target_cpu = "arm64": 10485760000

From //boards/common/arm64-common.gni:26

Overridden from the default: false

From //build/images/filesystem_limits.gni:17

Current value for target_cpu = "x64": 10485760000

From //boards/common/x64-common.gni:72

Overridden from the default: false

From //build/images/filesystem_limits.gni:17

blobfs_enable_streaming_writes

TODO(bcastell): Streaming writes is now enabled by default. Remove this argument when out of tree users don't set this anymore.

Current value (from the default): true

From //src/storage/blobfs/BUILD.gn:11

blobfs_num_pager_threads

The number of pager threads to spawn for blobfs.

Current value (from the default): 2

From //src/storage/blobfs/bin/BUILD.gn:20

blobfs_page_in_metrics_recording

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:16

blobfs_size_creep_limit

How much the size of BlobFS contents can be increased in one CL.

Current value (from the default): 102400

From //build/images/size_checker/size_checker_input.gni:92

board_bootfs_labels

A list of binary labels to include in the ZBI.

Current value (from the default): []

From //build/board.gni:36

board_configs

Configs that are added when targeting this board.

Current value (from the default): []

From //build/board.gni:21

board_configuration_label

The label for the board configuration target to use with Product Assembly

Current value for target_cpu = "arm64": "//boards/arm64"

From //boards/arm64.gni:23

Overridden from the default: false

From //build/board.gni:83

Current value for target_cpu = "x64": "//boards/x64"

From //boards/x64.gni:23

Overridden from the default: false

From //build/board.gni:83

board_core_realm_shards

Core realm shards specific to this board. See //src/sys/core for more context.

Current value (from the default): []

From //build/board.gni:65

board_description

Human readable board description corresponding to the board name.

Current value for target_cpu = "arm64": "A generic emulated arm64 device."

From //boards/arm64.gni:26

Overridden from the default: ""

From //build/board.gni:14

Current value for target_cpu = "x64": "A generic x64 device"

From //boards/x64.gni:26

Overridden from the default: ""

From //build/board.gni:14

board_display_rotation

Amount of rotation in degrees to apply to a board. Expected values are 0, 90, 180, or 270.

Current value (from the default): 0

From //build/board.gni:18

board_driver_package_labels

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:25

board_extra_vbmeta_images

DEPRECATED: Remove when no boards set a value for these.

Current value (from the default): []

From //build/images/vbmeta.gni:43

board_fastboot_unlock_credentials

A list of paths to the unlock credentials file necessary to unlock this board's fastboot protocol.

Current value (from the default): []

From //build/board.gni:69

board_fshost_config

A list of fshost options to add to the fshost config.

Current value (from the default): { }

From //build/board.gni:53

board_host_labels

A list of binary host tool labels to also build.

Current value (from the default): []

From //build/board.gni:39

board_is_emu

Whether or not the board supports emulator/physical devices. This is used to determine if product bundle metadata should generate a physical/virtual device spec or both.

Current value for target_cpu = "arm64": true

From //boards/arm64.gni:29

Overridden from the default: false

From //build/board.gni:88

Current value for target_cpu = "x64": true

From //boards/x64.gni:38

Overridden from the default: false

From //build/board.gni:88

board_is_phys

Current value for target_cpu = "arm64": false

From //boards/arm64.gni:30

Overridden from the default: true

From //build/board.gni:89

Current value (from the default): true

From //build/board.gni:89

board_name

Board name used for paving and amber updates.

Current value for target_cpu = "arm64": "arm64"

From //boards/arm64.gni:25

Overridden from the default: ""

From //build/board.gni:11

Current value for target_cpu = "x64": "x64"

From //boards/x64.gni:25

Overridden from the default: ""

From //build/board.gni:11

board_package_labels

A list of 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:29

board_recovery_bootfs_labels

A list of binary labels to include in the recovery ZBI.

Current value (from the default): []

From //build/board.gni:50

board_recovery_package_labels

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:33

board_system_image_deps

A list of binary labels to include in the system_image package.

Current value (from the default): []

From //build/board.gni:61

board_tools

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/board.gni:80

board_zedboot_bootfs_labels

A list of binary labels to include in the zedboot ZBI.

Current value (from the default): []

From //build/board.gni:47

board_zedboot_cmdline_args

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:44

board_zedboot_fshost_config

A list of fshost options to add to the fshost config in the zedboot image.

Current value (from the default): { }

From //build/board.gni:57

bootfs_only

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:27

Overridden from the default: false

From //build/images/args.gni:15

Current value for target_cpu = "x64": true

From //products/bringup.gni:27

Overridden from the default: false

From //build/images/args.gni:15

bootstrap_files

List of files needed to bootstrap the device.

Flashing a device assumes a certain state; bootstrapping instead allows initially provisioning a device from unknown state, so may require additional resources that would not be included in an OTA.

Each entry in the list is a scope containing:

  • path: path to file.
  • partition (optional): fastboot flash partition.
  • condition (optional): a scope with variable and value keys; file is only flashed if fastboot getvar <variable> == .

Current value (from the default): []

From //build/images/args.gni:79

build_all_vp9_file_decoder_conformance_tests

Current value (from the default): false

From //src/media/codec/examples/BUILD.gn:11

build_id_format

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

build_info_board

Board configuration of the current build

Current value for target_cpu = "arm64": "arm64"

From //out/not-default/args.gn:5

Overridden from the default: "arm64"

From //build/info/info.gni:13

Current value for target_cpu = "x64": "x64"

From //out/not-default/args.gn:5

Overridden from the default: "x64"

From //build/info/info.gni:13

build_info_product

LINT.IfChange Product configuration of the current build

Current value for target_cpu = "arm64": "bringup"

From //out/not-default/args.gn:6

Overridden from the default: ""

From //build/info/info.gni:10

Current value for target_cpu = "x64": "bringup"

From //out/not-default/args.gn:6

Overridden from the default: ""

From //build/info/info.gni:10

build_info_version

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:17

build_only_labels

These labels are added as dependencies of ‘//:default’, but not as a dependency of anything else, and so are “build only”.

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:20

Overridden from the default: []

From //build/input/BUILD.gn:9

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:20

Overridden from the default: []

From //build/input/BUILD.gn:9

build_should_trace_actions

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:12

build_uefi_disk

Generate a UEFI disk image

Current value for target_cpu = "arm64": true

From //boards/arm64.gni:33

Overridden from the default: false

From //build/images/args.gni:30

Current value for target_cpu = "x64": true

From //boards/common/x64-common.gni:76

Overridden from the default: false

From //build/images/args.gni:30

build_usb_installer

Generate installer disk image (ISO) to be flashed to a USB drive. Will be located at obj/build/images/installer relative to the build directory. See https://fuchsia.dev/fuchsia-src/development/hardware/installer

Current value (from the default): false

From //build/images/args.gni:35

bump_api_level

If true, build for N+1 api level, where N is platform_version.in_development_api_level.

Current value (from the default): false

From //build/config/fuchsia/platform_version.gni:25

cache_package_labels

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 updated with an OTA, and can also be 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:18

Overridden from the default: []

From //BUILD.gn:54

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:18

Overridden from the default: []

From //BUILD.gn:54

camera_debug

Current value (from the default): false

From //src/camera/debug.gni:6

camera_gym_configuration_cycle_interval_ms

Current value (from the default): 10000

From //src/camera/bin/camera-gym/BUILD.gn:12

carnelian_enable_vulkan_validation

Include the vulkan validation layers in carnelian examples.

Current value (from the default): false

From //src/lib/ui/carnelian/BUILD.gn:14

carnelian_static_images_extras

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:17

carnelian_static_rives_extras

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:20

carnelian_static_txts_extras

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:23

check_output_dir_leaks

If enabled, check that the output dir path does not leak into the command or any of its output files. This is important for remote build consistency and caching.

Current value (from the default): true

From //build/tracer/tracer.gni:21

check_production_eligibility

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:132

check_repeatability

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:16

check_vtables_in_rodata

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:95

chromium_build_dir

This variable specifies a fully qualified Chromium build output directory, such as /home/$USER/chrome/src/out/fuchsia, from which web_engine will be obtained. All of those targets must exist in the output directory. If unset, the prebuilt packages from CIPD will be used.

Current value (from the default): ""

From //src/chromium/build_args.gni:11

cipd_assembly_artifact_targets

Targets to be traversed by //:cipd_assembly_artifacts for GN metadata only. These targets are expected to set “assembly_inputs” in metadata, which can include a JSON file describing artifacts to be uploaded to CPID.

NOTE: These targets are for GN metadata walk only. If the artifacts need to be built, they should be included in the build graph through other means.

Current value (from the default): ["//build/images:main_assembly"]

From //build/product.gni:59

clang_embed_bitcode

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

clang_enable_error_reproducers

Enable reproducers on error. This provides crash-like reproducers on compiler errors in addition to crashes. Note, this flag should be used by very few people at the moment because it depends on features that are not yet in prebuilt clang. It is only useful for clang canary builders, and folks with a custom clang.

Current value (from the default): false

From //build/config/clang/clang.gni:25

clang_ml_inliner

Controls whether to use the ML inliner in Clang to reduce size.

Current value (from the default): true

From //build/config/clang/clang.gni:28

clang_prefix

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

clang_tool_dir

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

clippy_cause_failure

Makes clippy targets fail to build when any “deny” lints are found

Current value (from the default): true

From //build/rust/config.gni:67

clippy_force_warn_all

Force the lint level for all clippy lints to “warn”. Note: this overrides both source attributes and our default lint levels, and should only be used to collect stats about clippy lints in our source tree.

Current value (from the default): false

From //build/rust/config.gni:64

clippy_warn_all

Set the lint level for all clippy lints to “warn”. Note: setting lint levels in source takes precedence over this.

Current value (from the default): false

From //build/rust/config.gni:59

cobalt_environment

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 false - use the default environment supplied by assembly

Current value (from the default): false

From //src/cobalt/bin/app/BUILD.gn:15

comparison_diagnostics_dir

When any of the {Rust,C++} {determinism,consistency} checks fail, copy the artifacts' difference-pairs to this directory for exporting from infra builds, and later inspection.

Current value (from the default): "//out/not-default/comparison-reports"

From //build/toolchain/rbe.gni:196

compress_debuginfo

Enable compression of debug sections.

Current value (from the default): "zstd"

From //build/config/compiler.gni:92

config_example_cpp_greeting

Set this in args.gn to override the greeting emitted by this example.

Current value (from the default): "World"

From //examples/components/config/cpp/BUILD.gn:10

config_example_rust_greeting

Set this in args.gn to override the greeting emitted by this example.

Current value (from the default): "World"

From //examples/components/config/rust/BUILD.gn:11

config_have_heap

Tells openweave to include files that require heap access.

Current value (from the default): true

From //third_party/openweave-core/config.gni:32

core_realm_shards

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): []

From //build/product.gni:27

crash_diagnostics_dir

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

crashpad_dependencies

Current value (from the default): "fuchsia"

From //third_party/crashpad/src/build/crashpad_buildconfig.gni:22

crashpad_http_transport_impl

Current value (from the default): "socket"

From //third_party/crashpad/src/util/net/tls.gni:19

crashpad_use_boringssl_for_http_transport_socket

Current value (from the default): true

From //third_party/crashpad/src/util/net/tls.gni:30

create_legacy_aib_archive

Create the package and archive for the legacy assembly input bundle. This can be a time-consuming operation, which due to limits in GN and groups, ends up being a blocking step in the build, so only enable this if we know that we want the legacy AIB packaged and archived for a given product:

Current value (from the default): false

From //build/images/fuchsia/BUILD.gn:27

current_cpu

Current value (from the default): ""

current_os

Current value (from the default): ""

custom_signing_script

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

custom_signing_script_deps

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

custom_signing_script_inputs

If custom_signing_script is not empty, these inputs will be listed in the assembly target so that the hermeticity checker knows to expect these files to be read.

Current value (from the default): []

From //build/images/custom_signing.gni:18

custom_signing_script_tools

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:26

custom_vulkan_loader_library_name

Current value (from the default): ""

From //third_party/Vulkan-Loader/BUILD.gn:20

cxx_rbe_check

Run one of the more expensive checks, intended for CI. All of these require cxx_rbe_enable=true.

One of:

  • “none”: No additional check.

  • “determinism”: Check of determinism of C++ targets by running locally twice and comparing outputs, failing if any differences are found. Even though this check doesn't involve RBE, it uses the same wrapper script, which knows what output files to expect and compare.

    Build outputs that depend on time are discouraged because they impact caching. Known bad preprocessing macros include DATE and TIME.

  • “consistency”: Check consistency between local and remote C++ compiles, by running both and comparing results.

Current value (from the default): "none"

From //build/toolchain/rbe.gni:191

cxx_rbe_download_obj_files

Controls whether or not to download intermediate .o files. When downloading is disabled, the build produces stubs that be used to retrieve remote artifacts later using build/rbe/dlwrap.py. TODO(b/284994230): This option is only available to developers, and not restricted environments that lack direct network access.

Current value (from the default): true

From //build/toolchain/rbe.gni:203

cxx_rbe_enable

Set to true to enable distributed compilation of C++ using RBE. Enabling this takes precedence over use_goma.

Current value for target_cpu = "arm64": false

From //out/not-default/args.gn:7

Overridden from the default: false

From //build/toolchain/rbe.gni:144

Current value for target_cpu = "x64": false

From //out/not-default/args.gn:7

Overridden from the default: false

From //build/toolchain/rbe.gni:144

cxx_rbe_exec_strategy

One of:

  • “remote”: Execute action remotely on cache miss. The remote cache is always updated with this result.

  • “local”: Lookup action in the remote cache, but execute action locally on cache miss. The locally produced result is not uploaded to the remote cache.

  • “remote_local_fallback”: Execute action remotely first. If that fails, run locally instead. The locally produced results are not uploaded to the remote cache.

  • “racing”: Race local vs. remote execution, take the first to finish.

(There are other rewrapper options that are not exposed.)

Current value (from the default): "remote_local_fallback"

From //build/toolchain/rbe.gni:167

cxx_rbe_minimalist_wrapper

Set to true to use a fast, minimalist wrapper, that lacks features of the python-based wrapper. Use with caution. This flag is only meaningful when cxx_rbe_enable is true.

Current value (from the default): true

From //build/toolchain/rbe.gni:149

data_filesystem_format

Set to one of “minfs”, “fxfs”, “f2fs” (unstable). If set to anything other than “minfs”, any existing minfs partition will be migrated in-place to the specified format when fshost mounts it.

Current value (from the default): "fxfs"

From //src/storage/fshost/generated_fshost_config.gni:12

debuginfo

  • none means no debugging information
  • backtrace means sufficient debugging information to symbolize backtraces
  • debug means debugging information suited for debugging

Current value (from the default): "debug"

From //build/config/compiler.gni:54

default_configs

Current value (from the default): []

From //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:34

default_public_deps

Current value (from the default): []

From //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:35

delegated_network_provisioning

DO NOT SET THIS IN A PRODUCT DEFINITION!! FOR DEVELOPER USE ONLY TODO(https://fxbug.dev/42082693): Remove this when we have a solution for changing the netcfg configuration at runtime. LINT.IfChange

Current value (from the default): false

From //src/connectivity/policy/netcfg/delegated_network_provisioning.gni:10

delivery_blob_type

Controls what type of delivery blob pkg-resolver fetches and blobfs accepts. Supported types can be found in //src/storage/blobfs/delivery_blob.h Valid values are integers, for example: 1 This arg is for local developer only, products should not set this arg.

Current value (from the default): 1

From //build/images/args.gni:138

deny_warnings

Controls whether to promote warnings to errors.

Current value (from the default): true

From //build/config/BUILD.gn:37

dev_bootfs_labels

List of labels for objects to include in the ZBI.

Current value (from the default): []

From //build/dev.gni:14

dev_build_only_deps

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:11

dev_kernel_cmdline

List of strings to append to the kernel command line.

Current value (from the default): []

From //build/dev.gni:23

dev_recovery_bootfs_labels

List of binary labels to include in the recovery ZBI.

Current value (from the default): []

From //build/dev.gni:20

dev_recovery_kernel_cmdline

List of strings to append to the recovery kernel command line.

Current value (from the default): []

From //build/dev.gni:29

dev_zedboot_bootfs_labels

List of binary labels to include in the zedboot ZBI.

Current value (from the default): []

From //build/dev.gni:17

dev_zedboot_kernel_cmdline

List of strings to append to the zedboot kernel command line.

Current value (from the default): []

From //build/dev.gni:26

developer_test_labels

A developer-only argument that is used to add tests to the build without going through the test-type validate that the above sets of tests are. These are always a dependency of the main product assembly.

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:29

Overridden from the default: []

From //BUILD.gn:115

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:29

Overridden from the default: []

From //BUILD.gn:115

devicetree_board_driver

Set to true if a devicetree based board driver is being used.

Current value (from the default): false

From //build/devicetree/args.gni:7

dir_docker

Current value (from the default): "//third_party/pigweed/src/docker"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:30

dir_pigweed

Location of the Pigweed repository.

Current value (from the default): "//third_party/pigweed/src"

From //build_overrides/pigweed.gni:11

dir_pw_alignment

Current value (from the default): "//third_party/pigweed/src/pw_alignment"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:31

dir_pw_allocator

Current value (from the default): "//third_party/pigweed/src/pw_allocator"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:32

dir_pw_analog

Current value (from the default): "//third_party/pigweed/src/pw_analog"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:33

dir_pw_android_toolchain

Current value (from the default): "//third_party/pigweed/src/pw_android_toolchain"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:34

dir_pw_arduino_build

Current value (from the default): "//third_party/pigweed/src/pw_arduino_build"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:35

dir_pw_assert

Current value (from the default): "//third_party/pigweed/src/pw_assert"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:36

dir_pw_assert_basic

Current value (from the default): "//third_party/pigweed/src/pw_assert_basic"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:37

dir_pw_assert_log

Current value (from the default): "//third_party/pigweed/src/pw_assert_log"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:38

dir_pw_assert_tokenized

Current value (from the default): "//third_party/pigweed/src/pw_assert_tokenized"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:39

dir_pw_assert_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_assert_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:40

dir_pw_async

Current value (from the default): "//third_party/pigweed/src/pw_async"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:41

dir_pw_async2

Current value (from the default): "//third_party/pigweed/src/pw_async2"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:42

dir_pw_async2_basic

Current value (from the default): "//third_party/pigweed/src/pw_async2_basic"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:43

dir_pw_async2_epoll

Current value (from the default): "//third_party/pigweed/src/pw_async2_epoll"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:44

dir_pw_async_basic

Current value (from the default): "//third_party/pigweed/src/pw_async_basic"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:45

dir_pw_base64

Current value (from the default): "//third_party/pigweed/src/pw_base64"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:46

dir_pw_bloat

Current value (from the default): "//third_party/pigweed/src/pw_bloat"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:47

dir_pw_blob_store

Current value (from the default): "//third_party/pigweed/src/pw_blob_store"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:48

dir_pw_bluetooth

Current value (from the default): "//third_party/pigweed/src/pw_bluetooth"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:49

dir_pw_bluetooth_hci

Current value (from the default): "//third_party/pigweed/src/pw_bluetooth_hci"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:50

dir_pw_bluetooth_profiles

Current value (from the default): "//third_party/pigweed/src/pw_bluetooth_profiles"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:52

dir_pw_bluetooth_proxy

Current value (from the default): "//third_party/pigweed/src/pw_bluetooth_proxy"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:53

dir_pw_bluetooth_sapphire

Current value (from the default): "//third_party/pigweed/src/pw_bluetooth_sapphire"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:55

dir_pw_boot

Current value (from the default): "//third_party/pigweed/src/pw_boot"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:56

dir_pw_boot_cortex_m

Current value (from the default): "//third_party/pigweed/src/pw_boot_cortex_m"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:57

dir_pw_build

Current value (from the default): "//third_party/pigweed/src/pw_build"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:58

dir_pw_build_android

Current value (from the default): "//third_party/pigweed/src/pw_build_android"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:59

dir_pw_build_info

Current value (from the default): "//third_party/pigweed/src/pw_build_info"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:60

dir_pw_build_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_build_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:61

dir_pw_bytes

Current value (from the default): "//third_party/pigweed/src/pw_bytes"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:62

dir_pw_channel

Current value (from the default): "//third_party/pigweed/src/pw_channel"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:63

dir_pw_checksum

Current value (from the default): "//third_party/pigweed/src/pw_checksum"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:64

dir_pw_chre

Current value (from the default): "//third_party/pigweed/src/pw_chre"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:65

dir_pw_chrono

Current value (from the default): "//third_party/pigweed/src/pw_chrono"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:66

dir_pw_chrono_embos

Current value (from the default): "//third_party/pigweed/src/pw_chrono_embos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:67

dir_pw_chrono_freertos

Current value (from the default): "//third_party/pigweed/src/pw_chrono_freertos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:68

dir_pw_chrono_rp2040

Current value (from the default): "//third_party/pigweed/src/pw_chrono_rp2040"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:69

dir_pw_chrono_stl

Current value (from the default): "//third_party/pigweed/src/pw_chrono_stl"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:70

dir_pw_chrono_threadx

Current value (from the default): "//third_party/pigweed/src/pw_chrono_threadx"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:71

dir_pw_chrono_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_chrono_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:72

dir_pw_cli

Current value (from the default): "//third_party/pigweed/src/pw_cli"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:73

dir_pw_compilation_testing

Current value (from the default): "//third_party/pigweed/src/pw_compilation_testing"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:75

dir_pw_config_loader

Current value (from the default): "//third_party/pigweed/src/pw_config_loader"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:76

dir_pw_console

Current value (from the default): "//third_party/pigweed/src/pw_console"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:77

dir_pw_containers

Current value (from the default): "//third_party/pigweed/src/pw_containers"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:78

dir_pw_cpu_exception

Current value (from the default): "//third_party/pigweed/src/pw_cpu_exception"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:79

dir_pw_cpu_exception_cortex_m

Current value (from the default): "//third_party/pigweed/src/pw_cpu_exception_cortex_m"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:81

dir_pw_cpu_exception_risc_v

Current value (from the default): "//third_party/pigweed/src/pw_cpu_exception_risc_v"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:83

dir_pw_crypto

Current value (from the default): "//third_party/pigweed/src/pw_crypto"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:84

dir_pw_digital_io

Current value (from the default): "//third_party/pigweed/src/pw_digital_io"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:85

dir_pw_digital_io_linux

Current value (from the default): "//third_party/pigweed/src/pw_digital_io_linux"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:86

dir_pw_digital_io_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_digital_io_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:88

dir_pw_digital_io_rp2040

Current value (from the default): "//third_party/pigweed/src/pw_digital_io_rp2040"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:89

dir_pw_docgen

Current value (from the default): "//third_party/pigweed/src/pw_docgen"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:90

dir_pw_doctor

Current value (from the default): "//third_party/pigweed/src/pw_doctor"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:91

dir_pw_emu

Current value (from the default): "//third_party/pigweed/src/pw_emu"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:92

dir_pw_env_setup

Current value (from the default): "//third_party/pigweed/src/pw_env_setup"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:93

dir_pw_env_setup_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_env_setup_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:94

dir_pw_file

Current value (from the default): "//third_party/pigweed/src/pw_file"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:95

dir_pw_format

Current value (from the default): "//third_party/pigweed/src/pw_format"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:96

dir_pw_function

Current value (from the default): "//third_party/pigweed/src/pw_function"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:97

dir_pw_fuzzer

Current value (from the default): "//third_party/pigweed/src/pw_fuzzer"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:98

dir_pw_grpc

Current value (from the default): "//third_party/pigweed/src/pw_grpc"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:99

dir_pw_hdlc

Current value (from the default): "//third_party/pigweed/src/pw_hdlc"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:100

dir_pw_hex_dump

Current value (from the default): "//third_party/pigweed/src/pw_hex_dump"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:101

dir_pw_i2c

Current value (from the default): "//third_party/pigweed/src/pw_i2c"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:102

dir_pw_i2c_linux

Current value (from the default): "//third_party/pigweed/src/pw_i2c_linux"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:103

dir_pw_i2c_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_i2c_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:104

dir_pw_i2c_rp2040

Current value (from the default): "//third_party/pigweed/src/pw_i2c_rp2040"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:105

dir_pw_ide

Current value (from the default): "//third_party/pigweed/src/pw_ide"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:106

dir_pw_interrupt

Current value (from the default): "//third_party/pigweed/src/pw_interrupt"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:107

dir_pw_interrupt_cortex_m

Current value (from the default): "//third_party/pigweed/src/pw_interrupt_cortex_m"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:109

dir_pw_interrupt_xtensa

Current value (from the default): "//third_party/pigweed/src/pw_interrupt_xtensa"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:110

dir_pw_interrupt_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_interrupt_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:111

dir_pw_intrusive_ptr

Current value (from the default): "//third_party/pigweed/src/pw_intrusive_ptr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:112

dir_pw_json

Current value (from the default): "//third_party/pigweed/src/pw_json"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:113

dir_pw_kvs

Current value (from the default): "//third_party/pigweed/src/pw_kvs"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:114

dir_pw_libc

Current value (from the default): "//third_party/pigweed/src/pw_libc"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:115

dir_pw_libcxx

Current value (from the default): "//third_party/pigweed/src/pw_libcxx"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:116

dir_pw_log

Current value (from the default): "//third_party/pigweed/src/pw_log"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:117

dir_pw_log_android

Current value (from the default): "//third_party/pigweed/src/pw_log_android"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:118

dir_pw_log_basic

Current value (from the default): "//third_party/pigweed/src/pw_log_basic"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:119

dir_pw_log_null

Current value (from the default): "//third_party/pigweed/src/pw_log_null"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:120

dir_pw_log_rpc

Current value (from the default): "//third_party/pigweed/src/pw_log_rpc"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:121

dir_pw_log_string

Current value (from the default): "//third_party/pigweed/src/pw_log_string"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:122

dir_pw_log_tokenized

Current value (from the default): "//third_party/pigweed/src/pw_log_tokenized"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:123

dir_pw_log_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_log_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:124

dir_pw_malloc

Current value (from the default): "//third_party/pigweed/src/pw_malloc"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:125

dir_pw_malloc_freelist

Current value (from the default): "//third_party/pigweed/src/pw_malloc_freelist"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:126

dir_pw_malloc_freertos

Current value (from the default): "//third_party/pigweed/src/pw_malloc_freertos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:127

dir_pw_metric

Current value (from the default): "//third_party/pigweed/src/pw_metric"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:128

dir_pw_minimal_cpp_stdlib

Current value (from the default): "//third_party/pigweed/src/pw_minimal_cpp_stdlib"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:130

dir_pw_module

Current value (from the default): "//third_party/pigweed/src/pw_module"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:131

dir_pw_multibuf

Current value (from the default): "//third_party/pigweed/src/pw_multibuf"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:132

dir_pw_multisink

Current value (from the default): "//third_party/pigweed/src/pw_multisink"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:133

dir_pw_package

Current value (from the default): "//third_party/pigweed/src/pw_package"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:134

dir_pw_perf_test

Current value (from the default): "//third_party/pigweed/src/pw_perf_test"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:135

dir_pw_persistent_ram

Current value (from the default): "//third_party/pigweed/src/pw_persistent_ram"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:136

dir_pw_polyfill

Current value (from the default): "//third_party/pigweed/src/pw_polyfill"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:137

dir_pw_preprocessor

Current value (from the default): "//third_party/pigweed/src/pw_preprocessor"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:138

dir_pw_presubmit

Current value (from the default): "//third_party/pigweed/src/pw_presubmit"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:139

dir_pw_protobuf

Current value (from the default): "//third_party/pigweed/src/pw_protobuf"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:140

dir_pw_protobuf_compiler

Current value (from the default): "//third_party/pigweed/src/pw_protobuf_compiler"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:141

dir_pw_random

Current value (from the default): "//third_party/pigweed/src/pw_random"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:142

dir_pw_result

Current value (from the default): "//third_party/pigweed/src/pw_result"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:143

dir_pw_ring_buffer

Current value (from the default): "//third_party/pigweed/src/pw_ring_buffer"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:144

dir_pw_router

Current value (from the default): "//third_party/pigweed/src/pw_router"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:145

dir_pw_rpc

Current value (from the default): "//third_party/pigweed/src/pw_rpc"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:146

dir_pw_rpc_transport

Current value (from the default): "//third_party/pigweed/src/pw_rpc_transport"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:147

dir_pw_rust

Current value (from the default): "//third_party/pigweed/src/pw_rust"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:148

dir_pw_sensor

Current value (from the default): "//third_party/pigweed/src/pw_sensor"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:149

dir_pw_snapshot

Current value (from the default): "//third_party/pigweed/src/pw_snapshot"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:150

dir_pw_software_update

Current value (from the default): "//third_party/pigweed/src/pw_software_update"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:151

dir_pw_span

Current value (from the default): "//third_party/pigweed/src/pw_span"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:152

dir_pw_spi

Current value (from the default): "//third_party/pigweed/src/pw_spi"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:153

dir_pw_spi_linux

Current value (from the default): "//third_party/pigweed/src/pw_spi_linux"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:154

dir_pw_spi_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_spi_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:155

dir_pw_spi_rp2040

Current value (from the default): "//third_party/pigweed/src/pw_spi_rp2040"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:156

dir_pw_status

Current value (from the default): "//third_party/pigweed/src/pw_status"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:157

dir_pw_stm32cube_build

Current value (from the default): "//third_party/pigweed/src/pw_stm32cube_build"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:158

dir_pw_stream

Current value (from the default): "//third_party/pigweed/src/pw_stream"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:159

dir_pw_stream_shmem_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_stream_shmem_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:161

dir_pw_stream_uart_linux

Current value (from the default): "//third_party/pigweed/src/pw_stream_uart_linux"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:162

dir_pw_stream_uart_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_stream_uart_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:164

dir_pw_string

Current value (from the default): "//third_party/pigweed/src/pw_string"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:165

dir_pw_symbolizer

Current value (from the default): "//third_party/pigweed/src/pw_symbolizer"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:166

dir_pw_sync

Current value (from the default): "//third_party/pigweed/src/pw_sync"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:167

dir_pw_sync_baremetal

Current value (from the default): "//third_party/pigweed/src/pw_sync_baremetal"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:168

dir_pw_sync_embos

Current value (from the default): "//third_party/pigweed/src/pw_sync_embos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:169

dir_pw_sync_freertos

Current value (from the default): "//third_party/pigweed/src/pw_sync_freertos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:170

dir_pw_sync_stl

Current value (from the default): "//third_party/pigweed/src/pw_sync_stl"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:171

dir_pw_sync_threadx

Current value (from the default): "//third_party/pigweed/src/pw_sync_threadx"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:172

dir_pw_sync_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_sync_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:173

dir_pw_sys_io

Current value (from the default): "//third_party/pigweed/src/pw_sys_io"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:174

dir_pw_sys_io_ambiq_sdk

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_ambiq_sdk"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:175

dir_pw_sys_io_arduino

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_arduino"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:176

dir_pw_sys_io_baremetal_lm3s6965evb

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:178

dir_pw_sys_io_baremetal_stm32f429

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:180

dir_pw_sys_io_emcraft_sf2

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_emcraft_sf2"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:182

dir_pw_sys_io_mcuxpresso

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_mcuxpresso"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:183

dir_pw_sys_io_rp2040

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_rp2040"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:184

dir_pw_sys_io_stdio

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_stdio"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:185

dir_pw_sys_io_stm32cube

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_stm32cube"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:186

dir_pw_sys_io_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_sys_io_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:187

dir_pw_system

Current value (from the default): "//third_party/pigweed/src/pw_system"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:188

dir_pw_target_runner

Current value (from the default): "//third_party/pigweed/src/pw_target_runner"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:189

dir_pw_third_party

Current value (from the default): "//third_party/pigweed/src/third_party"

From //third_party/pigweed/src/modules.gni:25

dir_pw_third_party_boringssl

If compiling backends with boringssl, this variable is set to the path to the boringssl source code. When set, a pw_source_set for the boringssl library is created at “$dir_pw_third_party/boringssl”.

Current value (from the default): ""

From //third_party/pigweed/src/third_party/boringssl/boringssl.gni:19

dir_pw_third_party_chre

If compiling backends with chre, this variable is set to the path to the chre installation. When set, a pw_source_set for the chre library is created at “$dir_pw_third_party/chre”.

Current value for target_cpu = "arm64": "//third_party/chre/src"

From //.gn:121

Overridden from the default: ""

From //third_party/pigweed/src/third_party/chre/chre.gni:19

Current value for target_cpu = "x64": "//third_party/chre/src"

From //.gn:121

Overridden from the default: ""

From //third_party/pigweed/src/third_party/chre/chre.gni:19

dir_pw_third_party_emboss

If compiling with Emboss, this variable is set to the path to the Emboss source code.

Current value for target_cpu = "arm64": "//third_party/github.com/google/emboss/src"

From //.gn:102

Overridden from the default: ""

From //third_party/pigweed/src/third_party/emboss/emboss.gni:20

Current value for target_cpu = "x64": "//third_party/github.com/google/emboss/src"

From //.gn:102

Overridden from the default: ""

From //third_party/pigweed/src/third_party/emboss/emboss.gni:20

dir_pw_third_party_fuchsia

Path to the Fuchsia sources to use in Pigweed‘s build. Defaults to Pigweed’s mirror of the few Fuchsia source files it uses.

Current value for target_cpu = "arm64": "//"

From //.gn:96

Overridden from the default: "//third_party/pigweed/src/third_party/fuchsia/repo"

From //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20

Current value for target_cpu = "x64": "//"

From //.gn:96

Overridden from the default: "//third_party/pigweed/src/third_party/fuchsia/repo"

From //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20

dir_pw_third_party_fuzztest

If compiling tests with FuzzTest, this variable is set to the path to the FuzzTest installation. When set, a pw_source_set for the FuzzTest library is created at “$dir_pw_third_party/fuzztest”.

Current value (from the default): ""

From //third_party/pigweed/src/third_party/fuzztest/fuzztest.gni:23

dir_pw_third_party_googletest

If compiling tests with googletest, this variable is set to the path to the googletest installation. When set, a pw_source_set for the googletest library is created at “$dir_pw_third_party/googletest”.

Current value (from the default): ""

From //third_party/pigweed/src/third_party/googletest/googletest.gni:19

dir_pw_third_party_mbedtls

If compiling backends with mbedtls, this variable is set to the path to the mbedtls source code. When set, a pw_source_set for the mbedtls library is created at “$dir_pw_third_party/mbedtls”.

Current value (from the default): ""

From //third_party/pigweed/src/third_party/mbedtls/mbedtls.gni:21

dir_pw_third_party_nanopb

If compiling protos for nanopb, this variable is set to the path to the nanopb installation. When set, a pw_source_set for the nanopb library is created at “$dir_pw_third_party/nanopb”.

Current value (from the default): ""

From //third_party/pigweed/src/third_party/nanopb/nanopb.gni:22

dir_pw_thread

Current value (from the default): "//third_party/pigweed/src/pw_thread"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:190

dir_pw_thread_embos

Current value (from the default): "//third_party/pigweed/src/pw_thread_embos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:191

dir_pw_thread_freertos

Current value (from the default): "//third_party/pigweed/src/pw_thread_freertos"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:192

dir_pw_thread_stl

Current value (from the default): "//third_party/pigweed/src/pw_thread_stl"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:193

dir_pw_thread_threadx

Current value (from the default): "//third_party/pigweed/src/pw_thread_threadx"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:194

dir_pw_thread_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_thread_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:195

dir_pw_tls_client

Current value (from the default): "//third_party/pigweed/src/pw_tls_client"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:196

dir_pw_tls_client_boringssl

Current value (from the default): "//third_party/pigweed/src/pw_tls_client_boringssl"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:198

dir_pw_tls_client_mbedtls

Current value (from the default): "//third_party/pigweed/src/pw_tls_client_mbedtls"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:200

dir_pw_tokenizer

Current value (from the default): "//third_party/pigweed/src/pw_tokenizer"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:201

dir_pw_toolchain

Current value (from the default): "//third_party/pigweed/src/pw_toolchain"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:202

dir_pw_toolchain_bazel

Current value (from the default): "//third_party/pigweed/src/pw_toolchain_bazel"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:203

dir_pw_trace

Current value (from the default): "//third_party/pigweed/src/pw_trace"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:204

dir_pw_trace_tokenized

Current value (from the default): "//third_party/pigweed/src/pw_trace_tokenized"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:205

dir_pw_transfer

Current value (from the default): "//third_party/pigweed/src/pw_transfer"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:206

dir_pw_uart

Current value (from the default): "//third_party/pigweed/src/pw_uart"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:207

dir_pw_unit_test

Current value (from the default): "//third_party/pigweed/src/pw_unit_test"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:208

dir_pw_unit_test_zephyr

Current value (from the default): "//third_party/pigweed/src/pw_unit_test_zephyr"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:209

dir_pw_varint

Current value (from the default): "//third_party/pigweed/src/pw_varint"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:210

dir_pw_watch

Current value (from the default): "//third_party/pigweed/src/pw_watch"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:211

dir_pw_web

Current value (from the default): "//third_party/pigweed/src/pw_web"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:212

dir_pw_work_queue

Current value (from the default): "//third_party/pigweed/src/pw_work_queue"

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:213

disable_boot_tests

Default value for disabled parameter for generated boot_test(). TODO(https://fxbug.dev/320511796): Cleanup when no longer necessary.

Current value (from the default): false

From //build/testing/boot_tests/boot_test.gni:12

disable_cuckoo_tests

Default value for disabled parameter for generated cuckoo_test(). TODO(https://fxbug.dev/320511796): Cleanup when no longer necessary.

Current value (from the default): false

From //build/testing/boot_tests/kernel_zbi_test.gni:21

disable_elf_checks

Disables ELF checks for packages.

Current value (from the default): false

From //build/dist/verify_manifest_elf_binaries.gni:10

disable_kernel_pci

Disable kernel PCI driver support. A counterpart of 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:94

discoverable_package_labels

If you add package labels to this variable, the packages will be included in the ‘discoverable’ package set, as defined by RFC-0212 “Package Sets”: https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0212_package_sets

They will be compiled, and published, but not added as dependencies of the assembled images, and so will not be able to cause the inclusion of ‘config_data’ or ‘shell_command’ entries.

As these cannot be part of the legacy AIB for a product, there is no “legacy” version of this argument.

Current value (from the default): []

From //BUILD.gn:75

dont_profile_source_files

List of GN paths to source files to NOT instrument by profile variants. These take precedence over profile_source_files.

Current value (from the default): []

From //build/config/profile/config.gni:15

dwarf_version

Explicitly specify DWARF version used.

Current value (from the default): 5

From //build/config/compiler.gni:68

e2e_test_labels

Host-driven, “end-to-end” tests that run on a Fuchsia image (either real hardware or emulated).

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:25

Overridden from the default: []

From //BUILD.gn:104

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:25

Overridden from the default: []

From //BUILD.gn:104

emu_window_size_height

Current value (from the default): false

From //build/product.gni:51

emu_window_size_width

Configuration to override the default window size for the virtual device in pixels.

Current value (from the default): false

From //build/product.gni:50

enable_bazel_remote_rbe

Configure bazel to build remotely with RBE where supported. This can speed up builds via remote caching. This option requires that bazel invocations have direct external network access, and that users are authenticated to access a remote execution service. The Remote Execution API can be found at: https://github.com/bazelbuild/remote-apis For an overview of remote execution for Bazel, see https://bazel.build/remote/rbe

Current value for target_cpu = "arm64": false

From //out/not-default/args.gn:8

Overridden from the default: false

From //build/bazel/remote_services.gni:14

Current value for target_cpu = "x64": false

From //out/not-default/args.gn:8

Overridden from the default: false

From //build/bazel/remote_services.gni:14

enable_frame_pointers

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(https://fxbug.dev/42107277): 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:33

enable_grpc_ares

Compiles with ares.

Current value (from the default): false

From //third_party/grpc/BUILD.gn:13

enable_lock_dep

Enable kernel lock dependency tracking.

Current value (from the default): false

From //zircon/kernel/params.gni:37

enable_lock_dep_metadata_only

Enable kernel lock dependency metadata only (ignored if enable_lock_dep is true).

Current value (from the default): false

From //zircon/kernel/params.gni:40

enable_lock_dep_tests

Enable kernel lock dependency tracking tests. By default this is enabled when tracking is enabled, but can also be enabled 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:155

enable_mdns_trace

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

enable_netboot

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:89

enable_netstack2_tracing

Current value (from the default): false

From //src/connectivity/network/BUILD.gn:10

enable_perfetto_benchmarks

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:195

enable_perfetto_fuzzers

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:198

enable_perfetto_grpc

Enables gRPC in the Perfetto codebase. gRPC significantly increases build times and the general footprint of Perfetto. As it only required for BigTrace and even then only to build the final ready-to-ship binary, don't enable this by default.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:322

enable_perfetto_heapprofd

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:157

enable_perfetto_integration_tests

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:193

enable_perfetto_ipc

Current value (from the default): true

From //third_party/perfetto/gn/perfetto.gni:150

enable_perfetto_llvm_demangle

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:316

enable_perfetto_platform_services

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:141

enable_perfetto_site

Allows to build the perfetto.dev website. WARNING: if this flag is enabled, the build performs globbing at generation time. Incremental builds that add/remove files will not be supported without rerunning gn.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:339

enable_perfetto_stderr_crash_dump

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:235

enable_perfetto_system_consumer

Current value (from the default): true

From //third_party/perfetto/gn/perfetto.gni:251

enable_perfetto_tools

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:187

enable_perfetto_trace_processor

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:173

enable_perfetto_trace_processor_httpd

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:302

enable_perfetto_trace_processor_json

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:295

enable_perfetto_trace_processor_linenoise

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:289

enable_perfetto_trace_processor_percentile

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:284

enable_perfetto_trace_processor_sqlite

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:279

enable_perfetto_traceconv

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:328

enable_perfetto_traced_perf

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:165

enable_perfetto_traced_probes

The traced_probes daemon is very Linux-specific, as it depends on ftrace and various /proc interfaces. There is no point making its code platform-neutral as it won't do anything useful on Windows. The only reason why we still build it on Mac OS is to be able to run the unittests there and making dev on mac less cumbersome. The traced_probes code happens to build cleanly and for now the mainteinance cost on Mac is extremely low.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:267

enable_perfetto_traced_relay

The relay service is enabled when platform services are enabled. TODO(chinglinyu) check if we can enable on Windows.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:271

enable_perfetto_ui

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:332

enable_perfetto_unittests

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:189

enable_perfetto_version_gen

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:204

enable_perfetto_watchdog

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:182

enable_perfetto_x64_cpu_opt

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:243

enable_perfetto_zlib

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:310

enable_power_manager_debug

Current value (from the default): false

From //src/power/power-manager/BUILD.gn:137

enable_recovery_ui_v2

Whether to use the new UX UI

Current value (from the default): true

From //src/recovery/system/system_recovery_args.gni:14

enable_recovery_ui_v2_debug_logging

Whether to log lots of debug info including PII

Current value (from the default): false

From //src/recovery/system/system_recovery_args.gni:17

enable_suspend

While suspend is being developed we define this flag which enables all suspend features. Developers working on suspend can then simply add this one flag to their build arguments.

Current value (from the default): false

From //build/suspend/config.gni:9

enable_virtual_heap

Enables the use of a virtually managed kernel heap instead of one managed directly out of the physmap. The virtual heap may have some performance and memory usage overheads, but will not exhaust due to fragmentation.

Current value (from the default): false

From //zircon/kernel/params.gni:118

escher_test_for_glsl_spirv_mismatch

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

escher_use_runtime_glsl

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

exclude_testonly_syscalls

If true, excludes syscalls with the [testonly] attribute.

Current value (from the default): false

From //zircon/vdso/vdso.gni:9

experimental_cxx_version

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. Note also that GN code should never use this variable directly, but always instead use the fuchsia_cxx_version variable.

Current value (from the default): 17

From //build/config/fuchsia_cxx_version.gni:10

experimental_thread_sampler_enabled

Include a mechanism for the kernel to sample threads and write the results to a buffer

Current value (from the default): false

From //zircon/kernel/params.gni:147

exported_package_labels

If you add labels to this variable the exported_fuchsia_package_archive() targets captured by these labels will be collected and exposed in the ‘package_archives’ build api module. Ordinary fuchsia_package_archive() targets are not captured.

Note: This variable is only used for metadata collection -- any package labels added here will still need to be included in the build graph elsewhere.

It's usually advisable to use labels of well-defined, curated group()s of packages instead of explicitly adding the labels of the exported_fuchsia_package_archive() targets directly.

Current value (from the default): []

From //BUILD.gn:89

extra_bazel_assembly_targets

Extra GN targets to include when Bazel assembly is enabled. This list is useful for including verification and other Bazel assembly specific targets.

Current value (from the default): []

From //build/images/args.gni:209

extra_gn_labels_for_bazel_inputs

A list of extra labels to bazel_input_xxx() targets that complement gn_labels_for_bazel_inputs. These labels can be defined anywhere, including the //vendor/... directory.

This can be set in args.gn by vendor-specific build configurations. Consider the following example from a fictitious //vendor/acme/proprietary/BUILD.gn file:

 # Generate the firmware for our device.
 action("generate_firmware") {
   ...
 }

 # Ensure the generated firmware is visible to Bazel as a filegroup()
 # @legacy_ninja_build_outputs repository//:acme_firmware
 bazel_input_resource("acme_firmware") {
   deps = [ ":generate_firmware" ]
   sources = get_target_outputs(deps[0])
   outputs = [ "{{source_file_part}}" ]
   visibility = [ ":*" ]
 }

 # Build the installer with Bazel.
 bazel_action("build_installer") {
   command = "build"
   bazel_targets = "//vendor/acme/proprietary/installer"
   bazel_inputs = [ ":acme_firmware" ]
   copy_outputs = [
     {
       bazel = "vendor/acme/proprietary/installer/installer"
       ninja = "installer"
     }
   ]
 }

Which requires the following, which could be in args.gn, or in a file imported from it (e.g. //vendor/acme/products/device.gni):

extra_gn_labels_for_bazel_inputs = [ “//vendor/acme/proprietary:acme_firmware” ]

In order to ensure that the @legacy_ninja_build_outputs//:acme_firmware filegroup() will be defined and properly generated before building vendor/acme/proprietary:build_installer with Ninja:

Current value (from the default): []

From //build/bazel/legacy_ninja_build_outputs.gni:123

extra_package_labels

Current value (from the default): []

From //third_party/cobalt/BUILD.gn:10

extra_variants

Additional variant toolchain configs to support. This is just added to known_variants.

Current value (from the default): []

From //build/config/BUILDCONFIG.gn:1835

extra_vbmeta_descriptors

Additional VBMeta Descriptors to add to the vbmeta image during assembly.

To add a descriptor, include GN code such as:

extra_vbmeta_descriptors = [{
  name = "zircon"         # name of the partition
  size = 12345            # size of the partition in bytes
  flags = 1               # custom vbmeta flags to add
  min_avb_version = "1.1" # minimum avb version
}]

Current value (from the default): false

From //build/images/vbmeta.gni:40

fastboot_product

Current value (from the default): ""

From //build/images/args.gni:115

ffmpeg_profile

Current value (from the default): "default"

From //src/media/lib/ffmpeg/BUILD.gn:53

ffx_build_dual_mode_plugins_as_subtools

Build any ffx plugins that can be built either as built-in or as separate subtools as subtools.

Note that if you change this and don't fx clean you may wind up with stale copies of either the main ffx binary (with all the plugins built in) or the separately compiled ones, and that might produce confusing ffx help or ffx commands output.

When all subtools that will be migrated to the SDK have been migrated, this config flag will be set to true by default, deprecated, and eventually removed: https://fxbug.dev/42068537

Current value (from the default): false

From //src/developer/ffx/config.gni:19

firmware_prebuilts

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 identifier
  • partition (optional): if specified, the fastboot flash partition

Current value (from the default): []

From //build/images/args.gni:60

firmware_prebuilts_path_suffix

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:66

flatland_verbose_logging

If true, Flatland will log an excruciating amount of data. For debugging.

Current value (from the default): false

From //src/ui/scenic/lib/utils/build_args.gni:7

flatland_visual_debugging

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

font_catalog_paths

Current value (from the default): ["//prebuilt/third_party/fonts/fuchsia.font_catalog.json"]

From //src/fonts/build/font_args.gni:17

font_pkg_entries

Merged contents of .font_pkgs.json files. Populated in fonts.gni.

Current value (from the default): []

From //src/fonts/build/font_args.gni:32

font_pkgs_paths

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

fonts_dir

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

freeze_api_level

Current value (from the default): false

From //build/config/fuchsia/platform_version.gni:27

fuchsia_async_trace_level_logging

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(https://fxbug.dev/42161120) move this to a toolchain to allow multiple products to build together

Current value (from the default): true

From //build/product.gni:32

fuchsia_product_assembly_config_label

The product assembly config used to configure the main Fuchsia image. For GN products, this is required. For Bazel products, this is optional. For Bazel products, netboot will only be available when this is supplied.

Current value (from the default): false

From //build/product.gni:38

fuchsia_sdk_root

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

futex_block_tracing_enabled

TODO(johngro): document

Current value (from the default): false

From //zircon/kernel/params.gni:73

futex_tracing_enabled

Enables kernel tracing of futex interactions

Current value (from the default): false

From //zircon/kernel/params.gni:76

fvm_partition

Current value (from the default): ""

From //build/images/args.gni:112

fxfs_blob

Use Fxfs's blob implementation Changes the flashing logic because the outputs changed. Toggles a bunch of tests to use fxfs.

Current value (from the default): true

From //src/storage/fshost/generated_fshost_config.gni:17

fxfs_partition

Current value (from the default): ""

From //build/images/args.gni:113

gcc_tool_dir

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:10

generate_cuckoo_tests

Defines the default value of kernel_zbi_test() template generate_cuckoo parameters. When true, all instances of kernel_zbi_tests() will default to generating a cuckoo_zbi_test() which is a full system image generated for exfiltrating instrumentation data from a target system.

Current value (from the default): false

From //build/testing/boot_tests/kernel_zbi_test.gni:17

generate_licenses_spdx_stubs

When true, generated_licenses_spdx template will generate stub SPDX files with placeholder license. License gathering will be skipped. Since license gathering is resource intensive, this is useful for non-production builds that would run faster. The global configuration can be overwritten in specific generated_licenses_spdx template invocation via the generate_stub parameter.

Current value (from the default): true

From //build/licenses/generated_licenses_spdx.gni:14

generate_plasa_artifacts

If set, causes the plasa artifacts to be generated. Not all builds need to use the plasa artifacts, so we set the default to skip the generation.

Current value (from the default): false

From //build/sdk/plasa/config.gni:8

gigaboot_backends

Specifies the gn target that implements the required backends defined in gigaboot/cpp/backends.h

Current value (from the default): "//src/firmware/gigaboot/cpp:backends_nuc"

From //src/firmware/gigaboot/cpp/backends.gni:8

gigaboot_eng_permanent_attributes

Permanent attributes file for eng gigaboot

Current value (from the default): "//third_party/android/platform/external/avb/test/data/atx_permanent_attributes.bin"

From //src/firmware/gigaboot/cpp/backends.gni:11

gigaboot_user_permanent_attributes

Permanent attributes file for prod-signed gigaboot. Setting this enables target //src/firmware/gigaboot/cpp:user-esp

Current value (from the default): ""

From //src/firmware/gigaboot/cpp/backends.gni:19

gigaboot_userdebug_permanent_attributes

Permanent attributes file for userdebug gigaboot. Setting this enables target //src/firmware/gigaboot/cpp:userdebug-esp

Current value (from the default): ""

From //src/firmware/gigaboot/cpp/backends.gni:15

go_vet_enabled

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:23

gocache_dir

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/.gocache"

From //build/go/go_build.gni:19

goma_dir

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:17

gpt_image

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:84

graphics_compute_generate_debug_shaders

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:29

graphics_compute_generate_spirv_debug_info

If you‘re using GPU-assisted validation then it’s useful to include debug info in combination with skipping the spirv-opt and spirv-reduce pass.

Current value (from the default): false

From //src/graphics/lib/compute/gn/glsl_shader_rules.gni:47

graphics_compute_skip_spirv_opt

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): false

From //src/graphics/lib/compute/gn/glsl_shader_rules.gni:40

grpc_use_static_linking

TODO(169395837): Somehow gRPC symbols cannot be found on Android. Keep using static linking for now. In windows and mac use static linking. Use static linking on Chrome OS as a workaround for the symbol lookup error(crbug/1241330) due to a gRPC version mismatch between what Chrome uses and what CrOS provides.

Current value (from the default): false

From //third_party/grpc/BUILD.gn:21

hangcheck_timeout_ms

Set this to accommodate long running tests

Current value (from the default): 0

From //src/graphics/drivers/msd-intel-gen/src/BUILD.gn:9

has_board

This is a build that imports a board (vs. sdk). If a board is set (fx set .) this is true.

Current value for target_cpu = "arm64": true

From //boards/common/arm64-common.gni:22

Overridden from the default: false

From //build/board.gni:8

Current value for target_cpu = "x64": true

From //boards/common/x64-common.gni:25

Overridden from the default: false

From //build/board.gni:8

hermetic_test_package_labels

Fully hermetic tests (both by packaging and at runtime)

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:23

Overridden from the default: []

From //BUILD.gn:96

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:23

Overridden from the default: []

From //BUILD.gn:96

host_byteorder

Current value (from the default): "undefined"

From //build/config/host_byteorder.gni:7

host_cpu

Current value (from the default): "x64"

host_labels

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.

These will be added to the build using the host toolchain.

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:9

Overridden from the default: []

From //BUILD.gn:122

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:9

Overridden from the default: []

From //BUILD.gn:122

host_os

Current value (from the default): "linux"

host_test_labels

Host-only tests. These cannot have any dependency on an assembled platform image, or the compiled OS itself, not even for their host_test_data().

These will be added to the build using the host toolchain.

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:26

Overridden from the default: []

From //BUILD.gn:110

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:26

Overridden from the default: []

From //BUILD.gn:110

host_tools_base_path_override

Set this to the path of a directory containing prebuilt binaries for the host tools generated by compiled_action(). This is useful when performing sub-builds (e.g. when generating the IDK which requires rebuilding SDK collections for different API levels and CPU architectures) to avoid rebuilding the host tools every time.

Current value (from the default): ""

From //build/host.gni:21

host_tools_dir

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

hwasan_default_options

Default HawrdwareAddressSanitizer options (before the HWASAN_OPTIONS environment variable is read at runtime). This can be set as a build argument to affect most “hwasan” 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 __hwasan_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): ["allocator_may_return_null=1"]

From //build/config/sanitizers/sanitizer_default_options.gni:94

i_can_haz_atlas_camera

If true, power on the Atlas camera at boot. TODO(https://fxbug.dev/42162166): remove once we have a better way to manage ACPI device power.

Current value (from the default): false

From //src/devices/board/lib/acpi/BUILD.gn:12

icons_path

Path to file to use for recovery logo

Current value (from the default): "//src/recovery/system/res/ota_icons.riv"

From //src/recovery/system/system_recovery_args.gni:7

icu_copy_icudata_to_root_build_dir

If set, the “:icudata” target will copy the ICU data to $root_build_dir.

Current value (from the default): false

From //build/icu.gni:27

icu_disable_thin_archive

If true, compile icu into a standalone static library. Currently this is only useful on Chrome OS.

Current value (from the default): false

From //build/icu.gni:19

icu_fuchsia_extra_compile_flags

Fuchsia sometimes requires extra compilation flags for ICU to adapt it to its current toolchain. Since it takes a while for ICU to roll through Fuchsia, it can take a long time from an ICU commit to a fix rolling into Fuchsia. This flag allows us to define the flag ahead of time in //build/icu.gni, and remove the rollout issues.

Current value (from the default): ["-Wno-newline-eof"]

From //build/icu.gni:38

icu_fuchsia_extra_configs

Similar to above, except it allows adding an entire config target.

Current value (from the default): []

From //build/icu.gni:41

icu_fuchsia_override_data_dir

If set to nonempty, this is the label of the directory to be used to pull the ICU data files content. The setting has effect only when building inside the Fuchsia source tree.

Current value (from the default): ""

From //build/icu.gni:24

icu_fuchsia_remove_configs

Similar to above, except it allows removing an entire config target, if it exists.

Current value (from the default): []

From //build/icu.gni:45

icu_major_version_number

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): "74"

From //third_party/icu/default/version.gni:13

icu_root

The GN files for the ICU library are located in this directory. Some Fuchsia builds use a different value here.

Current value (from the default): "//third_party/icu/default"

From //build/icu/config.gni:8

icu_tzres_path

Current value (from the default): "//prebuilt/third_party/tzres"

From //src/lib/icu/tzdata/icu_tzres_source.gni:26

icu_tzres_source

Which source location to use for ICU's time zone .res files: “git” or “prebuilt”.

If set to “git”, then the tzres files will contain the same time zone definitions as the ICU data monolith.

If set to “prebuilt”, then the tzres files will be retrieved from CIPD and may be newer than what's available in the ICU data monolith.

Current value (from the default): "prebuilt"

From //src/lib/icu/tzdata/icu_tzres_source.gni:16

icu_use_data_file

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 //build/icu.gni:10

icu_use_stub_data

If true, then this creates a stub data file. This should be disabled if a custom data file will be used instead, in order to avoid conflicting symbols.

Current value (from the default): true

From //build/icu.gni:15

icu_use_target_out_dir

If set, the built libraries will live in their respective default output directories, not the root_build_dir.

Current value (from the default): true

From //build/icu.gni:31

include_account_in_fvm

Include an account partition in the FVM image if set to true.

Current value (from the default): false

From //build/images/args.gni:144

include_clippy

Turns rust targets into a group with both the normal target and clippy target. This causes clippy targets to get included in the build. This gets enabled by default with fx set, but is defaulted off in GN so it won't be on in infra.

Current value (from the default): false

From //build/rust/config.gni:72

include_internal_fonts

Set to true to include internal fonts in the build.

Current value (from the default): false

From //src/fonts/build/font_args.gni:7

include_next_api_level

If true, generate golden files for next api level. This is used by platform-version-roller when the API level is incremented.

Current value (from the default): false

From //build/config/fuchsia/platform_version.gni:36

include_shell_commands_package

Include the shell commands package. Used as a parameter to assembled_system(). See documentation there.

Current value (from the default): false

From //build/images/args.gni:174

include_zxdb_large_tests

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

inet_config_enable_async_dns_sockets

Tells inet to support additionally support async dns sockets.

Current value (from the default): true

From //third_party/openweave-core/config.gni:17

inet_want_endpoint_dns

Tells inet to include support for the corresponding protocol.

Current value (from the default): true

From //third_party/openweave-core/config.gni:10

inet_want_endpoint_raw

Current value (from the default): true

From //third_party/openweave-core/config.gni:11

inet_want_endpoint_tcp

Current value (from the default): true

From //third_party/openweave-core/config.gni:12

inet_want_endpoint_tun

Current value (from the default): true

From //third_party/openweave-core/config.gni:14

inet_want_endpoint_udp

Current value (from the default): true

From //third_party/openweave-core/config.gni:13

instructions_path

Current value (from the default): "//src/recovery/system/res/instructions.txt"

From //src/recovery/system/system_recovery_args.gni:8

integration_tests_verbose_logging

By default, log verbose font messages in tests.

Current value (from the default): true

From //src/fonts/tests/integration/BUILD.gn:21

is_analysis

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:23

is_debug

Debug build.

Current value for target_cpu = "arm64": false

From //out/not-default/args.gn:10

Overridden from the default: true

From //build/config/BUILDCONFIG.gn:26

Current value for target_cpu = "x64": false

From //out/not-default/args.gn:10

Overridden from the default: true

From //build/config/BUILDCONFIG.gn:26

is_perfetto_build_generator

All the tools/gen_* scripts set this to true. This is mainly used to locate .gni files from //gn rather than //build.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:82

is_perfetto_embedder

This is for override via gn args (e.g. for tools/gen_xxx). Embedders based on GN (e.g. v8) should NOT set this and instead directly sets perfetto_build_with_embedder=true in their GN files.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:87

jtrace_enabled

Please refer to https://fuchsia.dev/fuchsia-src/development/debugging/jtrace for a description of these configuration options.

Note that the special value “auto” is used only by the default definitions of the entries (below). It acts as a special value which automatically chooses a default based on whether or not JTRACE is configured for persistent tracing, while still allowing a user to explicitly override the value regardless of whether persistent tracing is enabled or not.

Current value (from the default): false

From //zircon/kernel/params.gni:135

jtrace_last_entry_storage

Current value (from the default): 0

From //zircon/kernel/params.gni:136

jtrace_target_buffer_size

Current value (from the default): "auto"

From //zircon/kernel/params.gni:137

jtrace_use_large_entries

Current value (from the default): "auto"

From //zircon/kernel/params.gni:138

kernel_base

Current value (from the default): "0xffffffff00000000"

From //zircon/kernel/params.gni:28

kernel_debug_level

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(https://fxbug.dev/42117912): 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:106

kernel_debug_print_level

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:113

kernel_extra_defines

Extra macro definitions for kernel code, e.g. “DISABLE_KASLR”, “ENABLE_KERNEL_LL_DEBUG”.

Current value (from the default): []

From //zircon/kernel/params.gni:98

kernel_extra_deps

A list of GN labels comprising additional dependencies of the kernel proper. This can be useful - in a prototyping or ‘vendor’ capacity - for injecting new instances of subsystems that the kernel has defined modularly (e.g., pdev drivers or k commands).

Current value (from the default): []

From //zircon/kernel/BUILD.gn:40

kernel_no_userabi

Build a kernel with no user-space support, for development only.

Current value (from the default): false

From //zircon/kernel/params.gni:141

kernel_version_string

Version string embedded in the kernel for zx_system_get_version_string. If set to the default "", a string is generated based on the status of the fuchsia git repository.

Current value (from the default): ""

From //zircon/kernel/lib/version/BUILD.gn:18

kernel_zbi_extra_deps

A list of GN labels reaching zbi_input()-style targets to include in the kernel ZBI. These targets can be zbi_input(), kernel_cmdline(), etc. to inject ZBI items or resource(), etc. to inject items into the filesystem image that physboot decodes.

These are injected first, so an item that's itself a zbi_executable() or the like can be listed here to be used as a ZBI-to-ZBI boot shim (e.g. //zircon/kernel/arch/x86/phys/boot-shim:x86-legacy-zbi-boot-shim)

Current value (from the default): []

From //zircon/kernel/BUILD.gn:34

known_variants

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 = ["coverage", "debugdata", "instrumented", "llvm-profdata", "needs-writable-globals"]
}, {
  configs = ["//build/config/profile:coverage-rust"]
  tags = ["coverage", "debugdata", "instrumented", "llvm-profdata", "needs-writable-globals"]
}, {
  configs = ["//build/config/profile"]
  tags = ["debugdata", "instrumented", "llvm-profdata", "needs-writable-globals", "profile"]
}, {
  configs = ["//build/config/profile:coverage-cts"]
  tags = ["coverage", "debugdata", "instrumented", "llvm-profdata"]
}, {
  configs = ["//build/config/sanitizers:tsan"]
  tags = ["tsan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "uses-shadow", "kernel-excluded"]
}, {
  configs = ["//build/config/sanitizers:hwasan"]
  tags = ["hwasan", "instrumentation-runtime", "instrumented", "lsan", "needs-compiler-abi", "needs-writable-globals", "kernel-excluded", "replaces-allocator", "uses-shadow", "fuchsia-only"]
}, {
  configs = ["//build/config/sanitizers:hwasan", "//build/config/sanitizers:ubsan"]
  tags = ["hwasan", "instrumentation-runtime", "instrumented", "lsan", "needs-compiler-abi", "needs-writable-globals", "kernel-excluded", "replaces-allocator", "uses-shadow", "fuchsia-only", "ubsan"]
}, {
  configs = ["//build/config/sanitizers:ubsan"]
  remove_common_configs = ["//build/config:no_rtti"]
  tags = ["instrumented", "instrumentation-runtime", "needs-compiler-abi", "needs-writable-globals", "ubsan"]
}, {
  configs = ["//build/config/sanitizers:ubsan", "//build/config/sanitizers:sancov"]
  remove_common_configs = ["//build/config:no_rtti"]
  tags = ["instrumented", "instrumentation-runtime", "needs-compiler-abi", "needs-writable-globals", "kernel-excluded", "sancov", "ubsan"]
}, {
  configs = ["//build/config/sanitizers:asan"]
  host_only = {
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
  remove_common_configs = ["//build/config:default_frame_pointers"]
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "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:default_frame_pointers", "//build/config:no_rtti"]
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded", "ubsan"]
  toolchain_args = { }
}, {
  configs = ["//build/config/sanitizers:asan", "//build/config/sanitizers:sancov"]
  host_only = {
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
  remove_common_configs = ["//build/config:default_frame_pointers"]
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded", "sancov"]
  toolchain_args = { }
}, {
  configs = ["//build/config/sanitizers:asan", "//build/config:no-safe-stack"]
  host_only = {
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
  name = "kasan"
  remove_common_configs = []
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-only"]
  toolchain_args = { }
}, {
  configs = ["//build/config/sanitizers:asan", "//build/config:no-safe-stack", "//build/config/sanitizers:sancov"]
  host_only = {
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
  name = "kasan-sancov"
  remove_common_configs = []
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "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:default_frame_pointers", "//build/config:icf"]
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "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", "needs-compiler-abi", "ubsan"]
}, {
  name = "gcc"
  tags = ["gcc"]
}, {
  name = "cxx20"
  toolchain_args = {
  experimental_cxx_version = 20
}
}]

From //build/config/BUILDCONFIG.gn:1636

legacy_base_package_labels

Current value (from the default): []

From //BUILD.gn:46

legacy_cache_package_labels

Current value (from the default): []

From //BUILD.gn:55

link_rbe_check

Run one of the more expensive checks, intended for CI. All of these require link_rbe_enable=true.

One of:

  • “none”: No additional check.

  • “determinism”: Check of determinism of linking by running locally twice and comparing outputs, failing if any differences are found. Even though this check doesn't involve RBE, it uses the same wrapper script, which knows what output files to expect and compare.

  • “consistency”: Check consistency between local and remote link actions, by running both and comparing results.

Current value (from the default): "none"

From //build/toolchain/rbe.gni:250

link_rbe_enable

Set to true to enable remote linking using RBE. This covers actions that use ar, or use clang to drive linkers like lld.

Current value for target_cpu = "arm64": false

From //out/not-default/args.gn:11

Overridden from the default: false

From //build/toolchain/rbe.gni:212

Current value for target_cpu = "x64": false

From //out/not-default/args.gn:11

Overridden from the default: false

From //build/toolchain/rbe.gni:212

link_rbe_exec_strategy

One of:

  • “remote”: Execute action remotely on cache miss. The remote cache is always updated with this result.

  • “local”: Lookup action in the remote cache, but execute action locally on cache miss. The locally produced result is not uploaded to the remote cache.

  • “remote_local_fallback”: Execute action remotely first. If that fails, run locally instead. The locally produced results are not uploaded to the remote cache.

  • “racing”: Race local vs. remote execution, take the first to finish.

(There are other rewrapper options that are not exposed.)

Current value (from the default): "remote"

From //build/toolchain/rbe.gni:230

llvm_prefix

This directory contains the cipd packages for linux-x64, linux-arm64, and mac-x64. Rather than using the prebuilts provided with the source tree, you can download these individual packages from cipd and set this to the directory containing those packages.

Current value (from the default): "//prebuilt/third_party/llvm"

From //src/lib/llvm/BUILD.gn:10

local_bench

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

lock_tracing_enabled

Enable lock contention tracing.

Current value (from the default): false

From //zircon/kernel/params.gni:43

log_startup_sleep

Current value (from the default): "30000"

From //src/diagnostics/log_listener/BUILD.gn:12

lsan_default_options

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

magma_debug

Current value (from the default): false

From //src/graphics/magma/lib/magma/util/BUILD.gn:15

magma_enable_tracing

Enable this to include fuchsia tracing capability

Current value (from the default): true

From //src/graphics/lib/magma/gnbuild/magma.gni:12

magma_openvx_include

The path to OpenVX headers

Current value (from the default): ""

From //src/graphics/lib/magma/gnbuild/magma.gni:15

magma_openvx_package

The path to an OpenVX implementation

Current value (from the default): ""

From //src/graphics/lib/magma/gnbuild/magma.gni:18

max_blob_contents_size

Maximum allowable contents for the /blob in a release mode build. False means no limit. contents_size refers to contents stored within the filesystem (regardless of how they are stored).

Current value for target_cpu = "arm64": 5216665600

From //boards/common/arm64-common.gni:28

Overridden from the default: false

From //build/images/filesystem_limits.gni:12

Current value for target_cpu = "x64": 5216665600

From //boards/common/x64-common.gni:74

Overridden from the default: false

From //build/images/filesystem_limits.gni:12

max_log_disk_usage

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 //src/diagnostics/log_listener/BUILD.gn:11

mbedtls_config_file

Configuration file for MbedTLS.

Current value (from the default): "mbedtls-config.h"

From //third_party/openthread/third_party/mbedtls/BUILD.gn:30

min_crashlog_size

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

mini_chromium_is_chromeos_ash

Current value (from the default): false

From //third_party/mini_chromium/src/build/platform.gni:32

mini_chromium_is_chromeos_lacros

Current value (from the default): false

From //third_party/mini_chromium/src/build/platform.gni:31

monolithic_binaries

Only for local development. When true the binaries (perfetto, traced, ...) are monolithic and don't use a common shared library. This is mainly to avoid LD_LIBRARY_PATH dances when testing locally. On Windows we default to monolithic executables, because pairing dllexport/import adds extra complexity for little benefit. The only reason for monolithic_binaries=false is saving binary size, which matters mainly on Android. See also comments on PERFETTO_EXPORT_ENTRYPOINT in compiler.h.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:214

msd_arm_enable_all_cores

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

msd_arm_enable_cache_coherency

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

msd_arm_enable_protected_debug_swap_mode

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

msd_intel_gen_enable_hardware_unit_tests

Current value (from the default): false

From //src/graphics/drivers/msd-intel-gen/tests/integration/BUILD.gn:8

msd_vsi_vip_enable_suspend

Enable suspend. This will stop the ring buffer and suspend the clks when there are no submitted commands.

Current value (from the default): true

From //src/graphics/drivers/msd-vsi-vip/BUILD.gn:14

netsvc_extra_defines

Current value (from the default): []

From //src/bringup/bin/netsvc/BUILD.gn:9

openthread_config_anycast_locator_enable

Enable anycast locator functionality

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:82

openthread_config_assert_enable

Enable assertions.

Current value (from the default): true

From //third_party/openthread/etc/gn/openthread.gni:79

openthread_config_backbone_router_enable

Enable backbone router functionality

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:85

openthread_config_ble_tcat_enable

Enable BLE based commissioning functionality

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:88

openthread_config_border_agent_enable

Enable border agent support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:91

openthread_config_border_agent_id_enable

Enable border agent ID

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:94

openthread_config_border_router_enable

Enable border router support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:97

openthread_config_border_routing_enable

Enable border routing support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:100

openthread_config_channel_manager_enable

Enable channel manager support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:103

openthread_config_channel_monitor_enable

Enable channel monitor support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:106

openthread_config_child_supervision_enable

Enable child supervision support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:109

openthread_config_coap_api_enable

Enable coap api support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:112

openthread_config_coap_observe_api_enable

Enable coap observe (RFC7641) api support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:118

openthread_config_coap_secure_api_enable

Enable secure coap api support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:115

openthread_config_coexistence_enable

Enable radio coexistence

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:245

openthread_config_commissioner_enable

Enable commissioner support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:121

openthread_config_deps

Extra deps for OpenThread configuration.

Current value (from the default): []

From //third_party/openthread/etc/gn/openthread.gni:38

openthread_config_dhcp6_client_enable

Enable DHCP6 client support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:127

openthread_config_dhcp6_server_enable

Enable DHCP6 server support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:130

openthread_config_diag_enable

Enable diagnostic support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:133

openthread_config_dns_client_enable

Enable DNS client support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:136

openthread_config_dnssd_server_enable

Enable DNS-SD server support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:139

openthread_config_dua_enable

Enable Domain Unicast Address feature for Thread 1.2

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:145

openthread_config_ecdsa_enable

Enable ECDSA support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:142

openthread_config_enable_builtin_mbedtls_management

Current value (from the default): true

From //third_party/openthread/etc/gn/openthread.gni:242

openthread_config_file

OpenThread config header.

Current value (from the default): "<openthread-config-fuchsia.h>"

From //third_party/openthread/etc/gn/openthread.gni:35

openthread_config_full_logs

Enable full logs

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:229

openthread_config_heap_external_enable

Enable external heap support

Current value (from the default): true

From //third_party/openthread/etc/gn/openthread.gni:151

openthread_config_ip6_fragmentation_enable

Enable ipv6 fragmentation support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:154

openthread_config_ip6_slaac_enable

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:208

openthread_config_jam_detection_enable

Enable jam detection support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:157

openthread_config_joiner_enable

Enable joiner support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:160

openthread_config_legacy_enable

Enable legacy network support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:163

openthread_config_link_metrics_initiator_enable

Enable link metrics initiator

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:166

openthread_config_link_metrics_subject_enable

Enable link metrics subject

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:169

openthread_config_link_raw_enable

Enable link raw service

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:172

openthread_config_log_level_dynamic_enable

Enable dynamic log level control

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:175

openthread_config_log_output

Log output: none, debug_uart, app, platform

Current value (from the default): ""

From //third_party/openthread/etc/gn/openthread.gni:76

openthread_config_mac_csl_receiver_enable

Enable csl receiver

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:124

openthread_config_mac_filter_enable

Enable mac filter support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:178

openthread_config_message_use_heap

Enable use built-in heap for message buffers

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:181

openthread_config_mle_long_routes_enable

Enable MLE long routes extension (experimental, breaks Thread conformance]

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:184

openthread_config_mlr_enable

Enable Multicast Listener Registration feature for Thread 1.2

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:148

openthread_config_multiple_instance_enable

Enable multiple instances

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:190

openthread_config_ncp_hdlc_enable

Enable NCP HDLC support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:238

openthread_config_ncp_spi_enable

Enable NCP SPI support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:235

openthread_config_otns_enable

Enable OTNS support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:232

openthread_config_ping_sender

Enable ping sender support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:220

openthread_config_platform_netif_enable

Enable platform netif support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:193

openthread_config_platform_udp_enable

Enable platform UDP support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:196

openthread_config_reference_device_enable

Enable Thread Test Harness reference device support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:199

openthread_config_sntp_client_enable

Enable SNTP Client support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:211

openthread_config_srp_client_enable

Enable SRP Client support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:214

openthread_config_srp_server_enable

Enable SRP Server support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:217

openthread_config_thread_version

Thread version: 1.1, 1.2

Current value (from the default): "1.3"

From //third_party/openthread/etc/gn/openthread.gni:73

openthread_config_time_sync_enable

Enable the time synchronization service feature

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:223

openthread_config_tmf_netdata_service_enable

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:202

openthread_config_tmf_netdiag_client_enable

Enable TMF network diagnostics client

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:187

openthread_config_udp_forward_enable

Enable UDP forward support

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:226

openthread_core_config_deps

Extra deps for OpenThread core configuration.

Current value (from the default): []

From //third_party/openthread/etc/gn/openthread.gni:50

openthread_core_config_platform_check_file

OpenThread platform-specific config check header

Current value (from the default): ""

From //third_party/openthread/etc/gn/openthread.gni:47

openthread_enable_core_config_args

Configure OpenThread via GN arguments.

Current value (from the default): true

From //third_party/openthread/etc/gn/openthread.gni:67

openthread_external_mbedtls

Use external mbedtls. If blank, internal mbedtls will be used.

Current value (from the default): ""

From //third_party/openthread/etc/gn/openthread.gni:56

openthread_external_platform

Use external platform.

Current value (from the default): ""

From //third_party/openthread/etc/gn/openthread.gni:53

openthread_package_name

Package name for OpenThread.

Current value (from the default): "OPENTHREAD"

From //third_party/openthread/etc/gn/openthread.gni:59

openthread_package_version

Package version for OpenThread.

Current value (from the default): "1.0.0"

From //third_party/openthread/etc/gn/openthread.gni:62

openthread_project_core_config_file

OpenThread project-specific core config header

Current value (from the default): ""

From //third_party/openthread/etc/gn/openthread.gni:44

openthread_project_include_dirs

Include directories for project specific configs.

Current value (from the default): []

From //third_party/openthread/etc/gn/openthread.gni:41

openthread_settings_ram

Enable volatile-only storage of settings

Current value (from the default): false

From //third_party/openthread/etc/gn/openthread.gni:205

optimize

  • none: really unoptimized, usually only build-tested and not run
  • debug: “optimized for debugging”, light enough to avoid confusion
  • default: default optimization level
  • size: optimized for space rather than purely for speed
  • size_lto: optimize for space and use LTO
  • speed: optimized purely for speed
  • sanitizer: optimized for sanitizers (ASan, etc.)
  • profile: optimized for coverage/profile data collection
  • coverage: optimized for coverage data collection

Current value (from the default): "size"

From //build/config/compiler.gni:23

output_breakpad_syms

Sets if we should output breakpad symbols for Fuchsia binaries.

Current value (from the default): false

From //build/config/BUILDCONFIG.gn:29

output_gsym

Controls whether we should output GSYM files for Fuchsia binaries.

Current value (from the default): false

From //build/config/BUILDCONFIG.gn:32

override_target_api_level

Specify a specific target API level for the platform build.

For the normal platform build, the API level is “PLATFORM”, which is greater than (that is to say: “newer than”) all other API levels.

If this is not set to “PLATFORM”, then it must be set to a positive integer corresponding to a currently supported (not sunset) API level. In that case, the build will target the given API level.

This is primarily used by the IDK. Not all targets support the non-default value. In particular, :default currently fails.

Current value (from the default): "PLATFORM"

From //build/config/fuchsia/target_api_level.gni:17

package_flavor_selections

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 (from the default): []

From //build/packages/prebuilt_package_with_flavors.gni:29

partitions_config_contents

Current value for target_cpu = "arm64": ["//out/not-default/fuchsia.esp.blk"]

From //boards/arm64.gni:42

Overridden from the default: []

From //build/board.gni:94

Current value for target_cpu = "x64": ["//out/not-default/fuchsia.esp.blk"]

From //boards/common/x64-common.gni:64

Overridden from the default: []

From //build/board.gni:94

partitions_config_label

The partitions config information used to create an update package and product bundle.

Current value for target_cpu = "arm64": "//boards/partitions:arm64"

From //boards/arm64.gni:41

Overridden from the default: false

From //build/board.gni:93

Current value for target_cpu = "x64": "//boards/partitions:x64"

From //boards/common/x64-common.gni:63

Overridden from the default: false

From //build/board.gni:93

perfetto_build_with_android

The Android blueprint file generator set this to true (as well as is_perfetto_build_generator). This is just about being built in the Android tree (AOSP and internal) and is NOT related with the target OS. In standalone Android builds and Chromium Android builds, this is false.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:78

perfetto_enable_git_rev_version_header

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:257

perfetto_force_dcheck

Whether DCHECKs should be enabled or not. Values: “on” | “off” | ““. By default (””) DCHECKs are enabled only:

  • If DCHECK_ALWAYS_ON is defined (which is mainly a Chromium-ism).
  • On debug builds (i.e. if NDEBUG is NOT defined) but only in Chromium, Android and standalone builds.
  • On all other builds (e.g., SDK) it's off regardless of NDEBUG (unless DCHECK_ALWAYS_ON is defined). See base/logging.h for the implementation of all this.

Current value (from the default): ""

From //third_party/perfetto/gn/perfetto.gni:229

perfetto_force_dlog

Whether DLOG should be enabled on debug builds (""), all builds (“on”), or none (“off”). We disable it by default for embedders to avoid spamming their console.

Current value (from the default): ""

From //third_party/perfetto/gn/perfetto.gni:219

perfetto_use_pkgconfig

Used by CrOS builds. Uses pkg-config to determine the appropriate flags for including and linking system libraries. set host_pkg_config to the BUILD_PKG_CONFIG and set pkg_config to the target PKG_CONFIG. Note: that if this is enabled perfetto_use_system_protobuf should be also.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:349

perfetto_use_system_protobuf

Used by CrOS system builds. Uses the system version of protobuf from /usr/include instead of the hermetic one.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:353

perfetto_use_system_sqlite

Used by CrOS system builds. Uses the system version of sqlite from /usr/include instead of the hermetic one.

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:357

perfetto_use_system_zlib

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:359

perfetto_verbose_logs_enabled

Current value (from the default): true

From //third_party/perfetto/gn/perfetto.gni:275

persistent_ram_allocation_granularity

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:125

platform_enable_user_pci

Current value (from the default): false

From //src/devices/bus/drivers/pci/pci.gni:10

pre_erase_flash

Current value (from the default): false

From //build/images/args.gni:116

prebuilt_dart_sdk

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

prebuilt_fastboot

Current value (from the default): "//prebuilt/third_party/fastboot/fastboot"

From //build/images/tools/fastboot.gni:6

prebuilt_go_dir

prebuilt_go_dir [string] points to the directory containing the prebuilt host go binary. By default, this points to the //prebuilts directory.

Current value (from the default): "//prebuilt/third_party/go/linux-x64"

From //build/go/go_build.gni:28

product_assembly_overrides

This GN arg enables developer overrides for the given assembly targets

This is a list of scopes that take two fields:

  • assembly: (GN label pattern) the GN label(s) to apply the overrides to
  • overrides (GN label) the label of a set of developer overrides

Example:

product_assembly_overrides = [ { assembly = “//build/images/fuchsia/*” overrides = “//local:my_assembly_overrides” } ]

Current value (from the default): []

From //build/assembly/developer_overrides.gni:121

product_bootfs_labels

A list of binary labels to include in ZBIs built for this product.

Current value for target_cpu = "arm64": ["//products/kernel_cmdline:kernel.oom.behavior--jobkill", "//products/kernel_cmdline:oom.reboot-timeout--low"]

From //products/bringup.gni:37

Overridden from the default: []

From //build/product.gni:11

Current value for target_cpu = "x64": ["//products/kernel_cmdline:kernel.oom.behavior--jobkill", "//products/kernel_cmdline:oom.reboot-timeout--low"]

From //products/bringup.gni:37

Overridden from the default: []

From //build/product.gni:11

product_bootfs_packages

A list of packages to be included in the bootfs as meta.fars and content-id'd blobs.

Current value (from the default): []

From //build/product.gni:18

product_description

A human readable product description.

Current value (from the default): ""

From //build/product.gni:21

product_host_labels

A list of binary host tool labels to also build.

Current value (from the default): []

From //build/product.gni:14

profile_source_files

List of GN paths to source files to be instrumented by profile variants.

Current value (from the default): ["//*"]

From //build/config/profile/config.gni:7

profile_source_files_list_files

List GN path to files in Clang's -fprofile-list format describing files and functions to be instrumented by profile variants.

Current value (from the default): []

From //build/config/profile/config.gni:24

proprietary_codecs

Current value (from the default): false

From //build/config/features.gni:9

pw_assert_BACKEND

Backend for the pw_assert module's CHECK facade.

Current value for target_cpu = "arm64": "//third_party/pigweed/backends/pw_assert"

From //.gn:70

Overridden from the default: ""

From //third_party/pigweed/src/pw_assert/backend.gni:19

Current value for target_cpu = "x64": "//third_party/pigweed/backends/pw_assert"

From //.gn:70

Overridden from the default: ""

From //third_party/pigweed/src/pw_assert/backend.gni:19

pw_assert_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_assert/BUILD.gn:27

pw_assert_LITE_BACKEND

Backend for the pw_assert module's ASSERT facade.

Warning: This naming is transitional. Modifying this build argument WILL result in future breakages. (b/235149326)

Current value (from the default): "//third_party/pigweed/src/pw_assert:assert_compatibility_backend"

From //third_party/pigweed/src/pw_assert/backend.gni:25

pw_async_EXPERIMENTAL_MODULE_VISIBILITY

To depend on pw_async, add targets to this list.

WARNING: This is experimental and not guaranteed to work.

Current value for target_cpu = "arm64": ["//third_party/pigweed/backends/pw_async_fuchsia:*", "//third_party/pigweed:*", "//src/connectivity/bluetooth/core/bt-host/*"]

From //.gn:105

Overridden from the default: []

From //third_party/pigweed/src/pw_async/async.gni:21

Current value for target_cpu = "x64": ["//third_party/pigweed/backends/pw_async_fuchsia:*", "//third_party/pigweed:*", "//src/connectivity/bluetooth/core/bt-host/*"]

From //.gn:105

Overridden from the default: []

From //third_party/pigweed/src/pw_async/async.gni:21

pw_async_FAKE_DISPATCHER_BACKEND

Configures the backend to use for the //pw_async:fake_dispatcher facade.

Current value for target_cpu = "arm64": "//third_party/pigweed/backends/pw_async_fuchsia:fake_dispatcher"

From //.gn:114

Overridden from the default: ""

From //third_party/pigweed/src/pw_async/backend.gni:22

Current value for target_cpu = "x64": "//third_party/pigweed/backends/pw_async_fuchsia:fake_dispatcher"

From //.gn:114

Overridden from the default: ""

From //third_party/pigweed/src/pw_async/backend.gni:22

pw_async_TASK_BACKEND

Configures the backend to use for the //pw_async:task facade.

Current value for target_cpu = "arm64": "//third_party/pigweed/backends/pw_async_fuchsia:task"

From //.gn:111

Overridden from the default: ""

From //third_party/pigweed/src/pw_async/backend.gni:19

Current value for target_cpu = "x64": "//third_party/pigweed/backends/pw_async_fuchsia:task"

From //.gn:111

Overridden from the default: ""

From //third_party/pigweed/src/pw_async/backend.gni:19

pw_bloat_BLOATY_CONFIG

Path to the Bloaty configuration file that defines the memory layout and capacities for the target binaries.

Current value (from the default): ""

From //third_party/pigweed/src/pw_bloat/bloat.gni:23

pw_bloat_SHOW_SIZE_REPORTS

Controls whether to display size reports in the build output.

Current value (from the default): false

From //third_party/pigweed/src/pw_bloat/bloat.gni:40

pw_bloat_TOOLCHAINS

List of toolchains to use in pw_toolchain_size_diff templates.

Each entry is a scope containing the following variables:

name: Human-readable toolchain name. target: GN target that defines the toolchain. linker_script: Optional path to a linker script file to build for the toolchain's target. bloaty_config: Optional Bloaty confirugation file defining the memory layout of the binaries as specified in the linker script.

If this list is empty, pw_toolchain_size_diff targets become no-ops.

Current value (from the default): []

From //third_party/pigweed/src/pw_bloat/bloat.gni:37

pw_build_COLORIZE_OUTPUT

Controls whether compilers and other tools are told to use colorized output.

Current value (from the default): true

From //third_party/pigweed/src/pw_build/defaults.gni:61

pw_build_DEFAULT_MODULE_CONFIG

The default implementation for all Pigweed module configurations.

This variable makes it possible to configure multiple Pigweed modules from a single GN target. Module configurations can still be overridden individually by setting a module's config backend directly (e.g. pw_some_module_CONFIG = “//my_config”).

Modules are configured through compilation options. The configuration implementation might set individual compiler macros or forcibly include a config header with multiple options using the -include flag.

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_build/module_config.gni:28

pw_build_DEFAULT_VISIBILITY

Controls the default visibility of C/C++ libraries and executables (pw_source_set, pw_static_library, pw_shared_library pw_executable). This can be “*” or a list of paths.

This is useful for limiting usage of Pigweed modules via an explicit allowlist. For the GN build to work, pw_build_DEFAULT_VISIBILITY must always at least include the Pigweed repository (“$dir_pigweed/*”).

Explicitly setting a target's visibility overrides this default.

Current value (from the default): ["*"]

From //third_party/pigweed/src/pw_build/defaults.gni:58

pw_build_EXECUTABLE_TARGET_TYPE

The name of the GN target type used to build Pigweed executables.

If this is a custom template, the .gni file containing the template must be imported at the top of the target configuration file to make it globally available.

Current value (from the default): "executable"

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:39

pw_build_EXECUTABLE_TARGET_TYPE_FILE

The path to the .gni file that defines pw_build_EXECUTABLE_TARGET_TYPE.

If pw_build_EXECUTABLE_TARGET_TYPE is not the default of executable, this .gni file is imported to provide the template definition.

Current value (from the default): ""

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:45

pw_build_LINK_DEPS

Additional build targets to add as dependencies for pw_executable, pw_static_library, and pw_shared_library targets. The $dir_pw_build:link_deps target pulls in these libraries.

pw_build_LINK_DEPS can be used to break circular dependencies for low-level libraries such as pw_assert.

Current value for target_cpu = "arm64": ["//third_party/pigweed/src/pw_assert:impl", "//third_party/pigweed/src/pw_log:impl"]

From //.gn:90

Overridden from the default: []

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:26

Current value for target_cpu = "x64": ["//third_party/pigweed/src/pw_assert:impl", "//third_party/pigweed/src/pw_log:impl"]

From //.gn:90

Overridden from the default: []

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:26

pw_build_PIP_CONSTRAINTS

Current value (from the default): ["//third_party/pigweed/src/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list"]

From //third_party/pigweed/src/pw_build/python.gni:27

pw_build_PIP_REQUIREMENTS

Default pip requirements file for all Pigweed based projects.

Current value (from the default): []

From //third_party/pigweed/src/pw_build/python.gni:30

pw_build_PYLINT_OUTPUT_FORMAT

Output format for pylint. Options include “text” and “colorized”.

Current value (from the default): "colorized"

From //third_party/pigweed/src/pw_build/python.gni:38

pw_build_PYTHON_BUILD_VENV

Default gn build virtualenv target.

Current value (from the default): "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"

From //third_party/pigweed/src/pw_build/python_gn_args.gni:23

pw_build_PYTHON_PIP_DEFAULT_OPTIONS

General options passed to pip commands https://pip.pypa.io/en/stable/cli/pip/#general-options

Current value (from the default): ["--disable-pip-version-check"]

From //third_party/pigweed/src/pw_build/python_gn_args.gni:51

pw_build_PYTHON_PIP_DOWNLOAD_ALL_PLATFORMS

DOCSTAG: [default-pip-gn-args] Set pw_python_venv.vendor_wheel targets to download Python packages for all platform combinations. This takes a significant amount of time.

Current value (from the default): false

From //third_party/pigweed/src/pw_build/python_gn_args.gni:28

pw_build_PYTHON_PIP_INSTALL_DISABLE_CACHE

Adds ‘--no-cache-dir’ forcing pip to ignore any previously cached Python packages. On most systems this is located in ~/.cache/pip/

Current value (from the default): false

From //third_party/pigweed/src/pw_build/python_gn_args.gni:41

pw_build_PYTHON_PIP_INSTALL_FIND_LINKS

List of paths to folders containing Python wheels (.whl) or source tar files (.tar.gz). Pip will check each of these directories when looking for potential install candidates. Each path will be passed to all ‘pip install’ commands as ‘--find-links PATH’.

Current value (from the default): []

From //third_party/pigweed/src/pw_build/python_gn_args.gni:47

pw_build_PYTHON_PIP_INSTALL_OFFLINE

Adds --no-index forcing pip to not reach out to the internet (pypi.org) to download packages. Using this option requires setting pw_build_PYTHON_PIP_INSTALL_FIND_LINKS as well.

Current value (from the default): false

From //third_party/pigweed/src/pw_build/python_gn_args.gni:37

pw_build_PYTHON_PIP_INSTALL_REQUIRE_HASHES

Adds ‘--require-hashes’. This option enforces hash checking on Python package files.

Current value (from the default): false

From //third_party/pigweed/src/pw_build/python_gn_args.gni:32

pw_build_PYTHON_TEST_COVERAGE

If true, GN will run each Python test using the coverage command. A separate coverage data file for each test will be saved. To generate reports from this information run: pw presubmit --step gn_python_test_coverage

Current value (from the default): false

From //third_party/pigweed/src/pw_build/python.gni:35

pw_build_PYTHON_TOOLCHAIN

Python tasks, such as running tests and Pylint, are done in a single GN toolchain to avoid unnecessary duplication in the build.

Current value (from the default): "//third_party/pigweed/src/pw_build/python_toolchain:python"

From //third_party/pigweed/src/pw_build/python_gn_args.gni:20

pw_build_TEST_TRANSITIVE_PYTHON_DEPS

Whether or not to lint/test transitive deps of pw_python_package targets.

For example: if lib_a depends on lib_b, lib_a.tests will run after first running lib_b.tests if pw_build_TEST_TRANSITIVE_PYTHON_DEPS is true.

If pw_build_TEST_TRANSITIVE_PYTHON_DEPS is false, tests for a pw_python_package will run if you directly build the target (e.g. lib_b.tests) OR if the pw_python_package is placed in a pw_python_group AND you build the group.tests target.

This applies to mypy, pylint, and tests.

While this defaults to true for compatibility reasons, it‘s strongly recommended to turn this off so you’re not linting and testing all of your external dependencies.

Current value (from the default): true

From //third_party/pigweed/src/pw_build/python.gni:55

pw_build_TOOLCHAIN_LINK_DEPS

pw_build_TOOLCHAIN_LINK_DEPS is used by pw_toolchain module to set default libary dependencies. Generally, this is not intended to be user-facing, but if something is introduced here that you need to remove, you can do so by overriding this variable in your own toolchain.

Current value (from the default): []

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:32

pw_chre_CONFIG

The configuration for building CHRE.

Current value for target_cpu = "arm64": "//third_party/chre:chre_config"

From //.gn:122

Overridden from the default: "//third_party/chre:default_chre_config"

From //third_party/pigweed/src/third_party/chre/chre.gni:22

Current value for target_cpu = "x64": "//third_party/chre:chre_config"

From //.gn:122

Overridden from the default: "//third_party/chre:default_chre_config"

From //third_party/pigweed/src/third_party/chre/chre.gni:22

pw_chre_PLATFORM_BACKEND

CHRE's platform backend implementation. The default is the Pigweed backend.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_chre:chre_backend"

From //.gn:123

Overridden from the default: "//pw_chre:chre_backend"

From //third_party/pigweed/src/third_party/chre/chre.gni:28

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_chre:chre_backend"

From //.gn:123

Overridden from the default: "//pw_chre:chre_backend"

From //third_party/pigweed/src/third_party/chre/chre.gni:28

pw_chre_PLATFORM_BACKEND_HEADERS

CHRE's platform backend headers. The default is the Pigweed backend.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_chre:chre_backend_headers"

From //.gn:125

Overridden from the default: "//pw_chre:chre_backend_headers"

From //third_party/pigweed/src/third_party/chre/chre.gni:25

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_chre:chre_backend_headers"

From //.gn:125

Overridden from the default: "//pw_chre:chre_backend_headers"

From //third_party/pigweed/src/third_party/chre/chre.gni:25

pw_chrono_SYSTEM_CLOCK_BACKEND

Backend for the pw_chrono module's system_clock.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_chrono_stl:system_clock"

From //.gn:73

Overridden from the default: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:17

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_chrono_stl:system_clock"

From //.gn:73

Overridden from the default: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:17

pw_chrono_SYSTEM_TIMER_BACKEND

Backend for the pw_chrono module's system_timer.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_chrono_stl:system_timer"

From //.gn:81

Overridden from the default: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:20

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_chrono_stl:system_timer"

From //.gn:81

Overridden from the default: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:20

pw_command_launcher

Prefix for compilation commands (e.g. the path to a Goma or CCache compiler launcher). Example for ccache: gn gen out --args=‘pw_command_launcher=“ccache”’

Current value (from the default): ""

From //third_party/pigweed/src/pw_toolchain/generate_toolchain.gni:29

pw_compilation_testing_NEGATIVE_COMPILATION_ENABLED

Enables or disables negative compilation tests for the current toolchain. Disabled by default since negative compilation tests increase gn gen time significantly.

Current value (from the default): false

From //third_party/pigweed/src/pw_compilation_testing/negative_compilation_test.gni:24

pw_docgen_BUILD_DOCS

Whether or not the current target should build docs.

Current value (from the default): false

From //third_party/pigweed/src/pw_docgen/docs.gni:22

pw_docgen_GOOGLE_ANALYTICS_ID

Set to enable Google Analytics tracking of generated docs.

Current value (from the default): ""

From //third_party/pigweed/src/pw_docgen/docs.gni:25

pw_docgen_THREADS

Set to define the number of parallel threads to use during the Sphinx build.

Current value (from the default): ""

From //third_party/pigweed/src/pw_docgen/docs.gni:28

pw_env_setup_CIPD_BAZEL

Current value (from the default): "../../prebuilt/third_party/bazel/linux-x64/bin"

From //build_overrides/pigweed_environment.gni:24

pw_env_setup_CIPD_DEFAULT

Current value (from the default): "//prebuilt/third_party"

From //build_overrides/pigweed_environment.gni:18

pw_env_setup_CIPD_PIGWEED

Current value (from the default): "//prebuilt/third_party"

From //build_overrides/pigweed_environment.gni:19

pw_env_setup_CIPD_PYTHON

Current value (from the default): "../../prebuilt/third_party/python/linux-x64/bin"

From //build_overrides/pigweed_environment.gni:21

pw_function_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_function:enable_dynamic_allocation"

From //.gn:87

Overridden from the default: "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_function/function.gni:22

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_function:enable_dynamic_allocation"

From //.gn:87

Overridden from the default: "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_function/function.gni:22

pw_log_BACKEND

Backend for the pw_log module.

Current value for target_cpu = "arm64": "//third_party/pigweed/backends/pw_log"

From //.gn:71

Overridden from the default: ""

From //third_party/pigweed/src/pw_log/backend.gni:17

Current value for target_cpu = "x64": "//third_party/pigweed/backends/pw_log"

From //.gn:71

Overridden from the default: ""

From //third_party/pigweed/src/pw_log/backend.gni:17

pw_log_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_log/BUILD.gn:29

pw_log_GLOG_ADAPTER_CONFIG

The build target that overrides the default configuration options for the glog adapter portion of this module.

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_log/BUILD.gn:33

pw_module_docs

A list with all Pigweed modules docs groups. DO NOT SET THIS BUILD ARGUMENT!

Current value (from the default): ["//third_party/pigweed/src/docker:docs", "//third_party/pigweed/src/pw_alignment:docs", "//third_party/pigweed/src/pw_allocator:docs", "//third_party/pigweed/src/pw_analog:docs", "//third_party/pigweed/src/pw_android_toolchain:docs", "//third_party/pigweed/src/pw_arduino_build:docs", "//third_party/pigweed/src/pw_assert:docs", "//third_party/pigweed/src/pw_assert_basic:docs", "//third_party/pigweed/src/pw_assert_log:docs", "//third_party/pigweed/src/pw_assert_tokenized:docs", "//third_party/pigweed/src/pw_assert_zephyr:docs", "//third_party/pigweed/src/pw_async:docs", "//third_party/pigweed/src/pw_async2:docs", "//third_party/pigweed/src/pw_async2_basic:docs", "//third_party/pigweed/src/pw_async2_epoll:docs", "//third_party/pigweed/src/pw_async_basic:docs", "//third_party/pigweed/src/pw_base64:docs", "//third_party/pigweed/src/pw_bloat:docs", "//third_party/pigweed/src/pw_blob_store:docs", "//third_party/pigweed/src/pw_bluetooth:docs", "//third_party/pigweed/src/pw_bluetooth_hci:docs", "//third_party/pigweed/src/pw_bluetooth_profiles:docs", "//third_party/pigweed/src/pw_bluetooth_proxy:docs", "//third_party/pigweed/src/pw_bluetooth_sapphire:docs", "//third_party/pigweed/src/pw_boot:docs", "//third_party/pigweed/src/pw_boot_cortex_m:docs", "//third_party/pigweed/src/pw_build:docs", "//third_party/pigweed/src/pw_build_android:docs", "//third_party/pigweed/src/pw_build_info:docs", "//third_party/pigweed/src/pw_build_mcuxpresso:docs", "//third_party/pigweed/src/pw_bytes:docs", "//third_party/pigweed/src/pw_channel:docs", "//third_party/pigweed/src/pw_checksum:docs", "//third_party/pigweed/src/pw_chre:docs", "//third_party/pigweed/src/pw_chrono:docs", "//third_party/pigweed/src/pw_chrono_embos:docs", "//third_party/pigweed/src/pw_chrono_freertos:docs", "//third_party/pigweed/src/pw_chrono_rp2040:docs", "//third_party/pigweed/src/pw_chrono_stl:docs", "//third_party/pigweed/src/pw_chrono_threadx:docs", "//third_party/pigweed/src/pw_chrono_zephyr:docs", "//third_party/pigweed/src/pw_cli:docs", "//third_party/pigweed/src/pw_compilation_testing:docs", "//third_party/pigweed/src/pw_config_loader:docs", "//third_party/pigweed/src/pw_console:docs", "//third_party/pigweed/src/pw_containers:docs", "//third_party/pigweed/src/pw_cpu_exception:docs", "//third_party/pigweed/src/pw_cpu_exception_cortex_m:docs", "//third_party/pigweed/src/pw_cpu_exception_risc_v:docs", "//third_party/pigweed/src/pw_crypto:docs", "//third_party/pigweed/src/pw_digital_io:docs", "//third_party/pigweed/src/pw_digital_io_linux:docs", "//third_party/pigweed/src/pw_digital_io_mcuxpresso:docs", "//third_party/pigweed/src/pw_digital_io_rp2040:docs", "//third_party/pigweed/src/pw_docgen:docs", "//third_party/pigweed/src/pw_doctor:docs", "//third_party/pigweed/src/pw_emu:docs", "//third_party/pigweed/src/pw_env_setup:docs", "//third_party/pigweed/src/pw_env_setup_zephyr:docs", "//third_party/pigweed/src/pw_file:docs", "//third_party/pigweed/src/pw_format:docs", "//third_party/pigweed/src/pw_function:docs", "//third_party/pigweed/src/pw_fuzzer:docs", "//third_party/pigweed/src/pw_grpc:docs", "//third_party/pigweed/src/pw_hdlc:docs", "//third_party/pigweed/src/pw_hex_dump:docs", "//third_party/pigweed/src/pw_i2c:docs", "//third_party/pigweed/src/pw_i2c_linux:docs", "//third_party/pigweed/src/pw_i2c_mcuxpresso:docs", "//third_party/pigweed/src/pw_i2c_rp2040:docs", "//third_party/pigweed/src/pw_ide:docs", "//third_party/pigweed/src/pw_interrupt:docs", "//third_party/pigweed/src/pw_interrupt_cortex_m:docs", "//third_party/pigweed/src/pw_interrupt_xtensa:docs", "//third_party/pigweed/src/pw_interrupt_zephyr:docs", "//third_party/pigweed/src/pw_intrusive_ptr:docs", "//third_party/pigweed/src/pw_json:docs", "//third_party/pigweed/src/pw_kvs:docs", "//third_party/pigweed/src/pw_libc:docs", "//third_party/pigweed/src/pw_libcxx:docs", "//third_party/pigweed/src/pw_log:docs", "//third_party/pigweed/src/pw_log_android:docs", "//third_party/pigweed/src/pw_log_basic:docs", "//third_party/pigweed/src/pw_log_null:docs", "//third_party/pigweed/src/pw_log_rpc:docs", "//third_party/pigweed/src/pw_log_string:docs", "//third_party/pigweed/src/pw_log_tokenized:docs", "//third_party/pigweed/src/pw_log_zephyr:docs", "//third_party/pigweed/src/pw_malloc:docs", "//third_party/pigweed/src/pw_malloc_freelist:docs", "//third_party/pigweed/src/pw_malloc_freertos:docs", "//third_party/pigweed/src/pw_metric:docs", "//third_party/pigweed/src/pw_minimal_cpp_stdlib:docs", "//third_party/pigweed/src/pw_module:docs", "//third_party/pigweed/src/pw_multibuf:docs", "//third_party/pigweed/src/pw_multisink:docs", "//third_party/pigweed/src/pw_package:docs", "//third_party/pigweed/src/pw_perf_test:docs", "//third_party/pigweed/src/pw_persistent_ram:docs", "//third_party/pigweed/src/pw_polyfill:docs", "//third_party/pigweed/src/pw_preprocessor:docs", "//third_party/pigweed/src/pw_presubmit:docs", "//third_party/pigweed/src/pw_protobuf:docs", "//third_party/pigweed/src/pw_protobuf_compiler:docs", "//third_party/pigweed/src/pw_random:docs", "//third_party/pigweed/src/pw_result:docs", "//third_party/pigweed/src/pw_ring_buffer:docs", "//third_party/pigweed/src/pw_router:docs", "//third_party/pigweed/src/pw_rpc:docs", "//third_party/pigweed/src/pw_rpc_transport:docs", "//third_party/pigweed/src/pw_rust:docs", "//third_party/pigweed/src/pw_sensor:docs", "//third_party/pigweed/src/pw_snapshot:docs", "//third_party/pigweed/src/pw_software_update:docs", "//third_party/pigweed/src/pw_span:docs", "//third_party/pigweed/src/pw_spi:docs", "//third_party/pigweed/src/pw_spi_linux:docs", "//third_party/pigweed/src/pw_spi_mcuxpresso:docs", "//third_party/pigweed/src/pw_spi_rp2040:docs", "//third_party/pigweed/src/pw_status:docs", "//third_party/pigweed/src/pw_stm32cube_build:docs", "//third_party/pigweed/src/pw_stream:docs", "//third_party/pigweed/src/pw_stream_shmem_mcuxpresso:docs", "//third_party/pigweed/src/pw_stream_uart_linux:docs", "//third_party/pigweed/src/pw_stream_uart_mcuxpresso:docs", "//third_party/pigweed/src/pw_string:docs", "//third_party/pigweed/src/pw_symbolizer:docs", "//third_party/pigweed/src/pw_sync:docs", "//third_party/pigweed/src/pw_sync_baremetal:docs", "//third_party/pigweed/src/pw_sync_embos:docs", "//third_party/pigweed/src/pw_sync_freertos:docs", "//third_party/pigweed/src/pw_sync_stl:docs", "//third_party/pigweed/src/pw_sync_threadx:docs", "//third_party/pigweed/src/pw_sync_zephyr:docs", "//third_party/pigweed/src/pw_sys_io:docs", "//third_party/pigweed/src/pw_sys_io_ambiq_sdk:docs", "//third_party/pigweed/src/pw_sys_io_arduino:docs", "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb:docs", "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429:docs", "//third_party/pigweed/src/pw_sys_io_emcraft_sf2:docs", "//third_party/pigweed/src/pw_sys_io_mcuxpresso:docs", "//third_party/pigweed/src/pw_sys_io_rp2040:docs", "//third_party/pigweed/src/pw_sys_io_stdio:docs", "//third_party/pigweed/src/pw_sys_io_stm32cube:docs", "//third_party/pigweed/src/pw_sys_io_zephyr:docs", "//third_party/pigweed/src/pw_system:docs", "//third_party/pigweed/src/pw_target_runner:docs", "//third_party/pigweed/src/pw_thread:docs", "//third_party/pigweed/src/pw_thread_embos:docs", "//third_party/pigweed/src/pw_thread_freertos:docs", "//third_party/pigweed/src/pw_thread_stl:docs", "//third_party/pigweed/src/pw_thread_threadx:docs", "//third_party/pigweed/src/pw_thread_zephyr:docs", "//third_party/pigweed/src/pw_tls_client:docs", "//third_party/pigweed/src/pw_tls_client_boringssl:docs", "//third_party/pigweed/src/pw_tls_client_mbedtls:docs", "//third_party/pigweed/src/pw_tokenizer:docs", "//third_party/pigweed/src/pw_toolchain:docs", "//third_party/pigweed/src/pw_toolchain_bazel:docs", "//third_party/pigweed/src/pw_trace:docs", "//third_party/pigweed/src/pw_trace_tokenized:docs", "//third_party/pigweed/src/pw_transfer:docs", "//third_party/pigweed/src/pw_uart:docs", "//third_party/pigweed/src/pw_unit_test:docs", "//third_party/pigweed/src/pw_unit_test_zephyr:docs", "//third_party/pigweed/src/pw_varint:docs", "//third_party/pigweed/src/pw_watch:docs", "//third_party/pigweed/src/pw_web:docs", "//third_party/pigweed/src/pw_work_queue:docs"]

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:566

pw_module_tests

A list with all Pigweed module test groups. DO NOT SET THIS BUILD ARGUMENT!

Current value (from the default): ["//third_party/pigweed/src/docker:tests", "//third_party/pigweed/src/pw_alignment:tests", "//third_party/pigweed/src/pw_allocator:tests", "//third_party/pigweed/src/pw_analog:tests", "//third_party/pigweed/src/pw_android_toolchain:tests", "//third_party/pigweed/src/pw_arduino_build:tests", "//third_party/pigweed/src/pw_assert:tests", "//third_party/pigweed/src/pw_assert_basic:tests", "//third_party/pigweed/src/pw_assert_log:tests", "//third_party/pigweed/src/pw_assert_tokenized:tests", "//third_party/pigweed/src/pw_assert_zephyr:tests", "//third_party/pigweed/src/pw_async:tests", "//third_party/pigweed/src/pw_async2:tests", "//third_party/pigweed/src/pw_async2_basic:tests", "//third_party/pigweed/src/pw_async2_epoll:tests", "//third_party/pigweed/src/pw_async_basic:tests", "//third_party/pigweed/src/pw_base64:tests", "//third_party/pigweed/src/pw_bloat:tests", "//third_party/pigweed/src/pw_blob_store:tests", "//third_party/pigweed/src/pw_bluetooth:tests", "//third_party/pigweed/src/pw_bluetooth_hci:tests", "//third_party/pigweed/src/pw_bluetooth_profiles:tests", "//third_party/pigweed/src/pw_bluetooth_proxy:tests", "//third_party/pigweed/src/pw_bluetooth_sapphire:tests", "//third_party/pigweed/src/pw_boot:tests", "//third_party/pigweed/src/pw_boot_cortex_m:tests", "//third_party/pigweed/src/pw_build:tests", "//third_party/pigweed/src/pw_build_android:tests", "//third_party/pigweed/src/pw_build_info:tests", "//third_party/pigweed/src/pw_build_mcuxpresso:tests", "//third_party/pigweed/src/pw_bytes:tests", "//third_party/pigweed/src/pw_channel:tests", "//third_party/pigweed/src/pw_checksum:tests", "//third_party/pigweed/src/pw_chre:tests", "//third_party/pigweed/src/pw_chrono:tests", "//third_party/pigweed/src/pw_chrono_embos:tests", "//third_party/pigweed/src/pw_chrono_freertos:tests", "//third_party/pigweed/src/pw_chrono_rp2040:tests", "//third_party/pigweed/src/pw_chrono_stl:tests", "//third_party/pigweed/src/pw_chrono_threadx:tests", "//third_party/pigweed/src/pw_chrono_zephyr:tests", "//third_party/pigweed/src/pw_cli:tests", "//third_party/pigweed/src/pw_compilation_testing:tests", "//third_party/pigweed/src/pw_config_loader:tests", "//third_party/pigweed/src/pw_console:tests", "//third_party/pigweed/src/pw_containers:tests", "//third_party/pigweed/src/pw_cpu_exception:tests", "//third_party/pigweed/src/pw_cpu_exception_cortex_m:tests", "//third_party/pigweed/src/pw_cpu_exception_risc_v:tests", "//third_party/pigweed/src/pw_crypto:tests", "//third_party/pigweed/src/pw_digital_io:tests", "//third_party/pigweed/src/pw_digital_io_linux:tests", "//third_party/pigweed/src/pw_digital_io_mcuxpresso:tests", "//third_party/pigweed/src/pw_digital_io_rp2040:tests", "//third_party/pigweed/src/pw_docgen:tests", "//third_party/pigweed/src/pw_doctor:tests", "//third_party/pigweed/src/pw_emu:tests", "//third_party/pigweed/src/pw_env_setup:tests", "//third_party/pigweed/src/pw_env_setup_zephyr:tests", "//third_party/pigweed/src/pw_file:tests", "//third_party/pigweed/src/pw_format:tests", "//third_party/pigweed/src/pw_function:tests", "//third_party/pigweed/src/pw_fuzzer:tests", "//third_party/pigweed/src/pw_grpc:tests", "//third_party/pigweed/src/pw_hdlc:tests", "//third_party/pigweed/src/pw_hex_dump:tests", "//third_party/pigweed/src/pw_i2c:tests", "//third_party/pigweed/src/pw_i2c_linux:tests", "//third_party/pigweed/src/pw_i2c_mcuxpresso:tests", "//third_party/pigweed/src/pw_i2c_rp2040:tests", "//third_party/pigweed/src/pw_ide:tests", "//third_party/pigweed/src/pw_interrupt:tests", "//third_party/pigweed/src/pw_interrupt_cortex_m:tests", "//third_party/pigweed/src/pw_interrupt_xtensa:tests", "//third_party/pigweed/src/pw_interrupt_zephyr:tests", "//third_party/pigweed/src/pw_intrusive_ptr:tests", "//third_party/pigweed/src/pw_json:tests", "//third_party/pigweed/src/pw_kvs:tests", "//third_party/pigweed/src/pw_libc:tests", "//third_party/pigweed/src/pw_libcxx:tests", "//third_party/pigweed/src/pw_log:tests", "//third_party/pigweed/src/pw_log_android:tests", "//third_party/pigweed/src/pw_log_basic:tests", "//third_party/pigweed/src/pw_log_null:tests", "//third_party/pigweed/src/pw_log_rpc:tests", "//third_party/pigweed/src/pw_log_string:tests", "//third_party/pigweed/src/pw_log_tokenized:tests", "//third_party/pigweed/src/pw_log_zephyr:tests", "//third_party/pigweed/src/pw_malloc:tests", "//third_party/pigweed/src/pw_malloc_freelist:tests", "//third_party/pigweed/src/pw_malloc_freertos:tests", "//third_party/pigweed/src/pw_metric:tests", "//third_party/pigweed/src/pw_minimal_cpp_stdlib:tests", "//third_party/pigweed/src/pw_module:tests", "//third_party/pigweed/src/pw_multibuf:tests", "//third_party/pigweed/src/pw_multisink:tests", "//third_party/pigweed/src/pw_package:tests", "//third_party/pigweed/src/pw_perf_test:tests", "//third_party/pigweed/src/pw_persistent_ram:tests", "//third_party/pigweed/src/pw_polyfill:tests", "//third_party/pigweed/src/pw_preprocessor:tests", "//third_party/pigweed/src/pw_presubmit:tests", "//third_party/pigweed/src/pw_protobuf:tests", "//third_party/pigweed/src/pw_protobuf_compiler:tests", "//third_party/pigweed/src/pw_random:tests", "//third_party/pigweed/src/pw_result:tests", "//third_party/pigweed/src/pw_ring_buffer:tests", "//third_party/pigweed/src/pw_router:tests", "//third_party/pigweed/src/pw_rpc:tests", "//third_party/pigweed/src/pw_rpc_transport:tests", "//third_party/pigweed/src/pw_rust:tests", "//third_party/pigweed/src/pw_sensor:tests", "//third_party/pigweed/src/pw_snapshot:tests", "//third_party/pigweed/src/pw_software_update:tests", "//third_party/pigweed/src/pw_span:tests", "//third_party/pigweed/src/pw_spi:tests", "//third_party/pigweed/src/pw_spi_linux:tests", "//third_party/pigweed/src/pw_spi_mcuxpresso:tests", "//third_party/pigweed/src/pw_spi_rp2040:tests", "//third_party/pigweed/src/pw_status:tests", "//third_party/pigweed/src/pw_stm32cube_build:tests", "//third_party/pigweed/src/pw_stream:tests", "//third_party/pigweed/src/pw_stream_shmem_mcuxpresso:tests", "//third_party/pigweed/src/pw_stream_uart_linux:tests", "//third_party/pigweed/src/pw_stream_uart_mcuxpresso:tests", "//third_party/pigweed/src/pw_string:tests", "//third_party/pigweed/src/pw_symbolizer:tests", "//third_party/pigweed/src/pw_sync:tests", "//third_party/pigweed/src/pw_sync_baremetal:tests", "//third_party/pigweed/src/pw_sync_embos:tests", "//third_party/pigweed/src/pw_sync_freertos:tests", "//third_party/pigweed/src/pw_sync_stl:tests", "//third_party/pigweed/src/pw_sync_threadx:tests", "//third_party/pigweed/src/pw_sync_zephyr:tests", "//third_party/pigweed/src/pw_sys_io:tests", "//third_party/pigweed/src/pw_sys_io_ambiq_sdk:tests", "//third_party/pigweed/src/pw_sys_io_arduino:tests", "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb:tests", "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429:tests", "//third_party/pigweed/src/pw_sys_io_emcraft_sf2:tests", "//third_party/pigweed/src/pw_sys_io_mcuxpresso:tests", "//third_party/pigweed/src/pw_sys_io_rp2040:tests", "//third_party/pigweed/src/pw_sys_io_stdio:tests", "//third_party/pigweed/src/pw_sys_io_stm32cube:tests", "//third_party/pigweed/src/pw_sys_io_zephyr:tests", "//third_party/pigweed/src/pw_system:tests", "//third_party/pigweed/src/pw_target_runner:tests", "//third_party/pigweed/src/pw_thread:tests", "//third_party/pigweed/src/pw_thread_embos:tests", "//third_party/pigweed/src/pw_thread_freertos:tests", "//third_party/pigweed/src/pw_thread_stl:tests", "//third_party/pigweed/src/pw_thread_threadx:tests", "//third_party/pigweed/src/pw_thread_zephyr:tests", "//third_party/pigweed/src/pw_tls_client:tests", "//third_party/pigweed/src/pw_tls_client_boringssl:tests", "//third_party/pigweed/src/pw_tls_client_mbedtls:tests", "//third_party/pigweed/src/pw_tokenizer:tests", "//third_party/pigweed/src/pw_toolchain:tests", "//third_party/pigweed/src/pw_toolchain_bazel:tests", "//third_party/pigweed/src/pw_trace:tests", "//third_party/pigweed/src/pw_trace_tokenized:tests", "//third_party/pigweed/src/pw_transfer:tests", "//third_party/pigweed/src/pw_uart:tests", "//third_party/pigweed/src/pw_unit_test:tests", "//third_party/pigweed/src/pw_unit_test_zephyr:tests", "//third_party/pigweed/src/pw_varint:tests", "//third_party/pigweed/src/pw_watch:tests", "//third_party/pigweed/src/pw_web:tests", "//third_party/pigweed/src/pw_work_queue:tests"]

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:393

pw_modules

A list with paths to all Pigweed module. DO NOT SET THIS BUILD ARGUMENT!

Current value (from the default): ["//third_party/pigweed/src/docker", "//third_party/pigweed/src/pw_alignment", "//third_party/pigweed/src/pw_allocator", "//third_party/pigweed/src/pw_analog", "//third_party/pigweed/src/pw_android_toolchain", "//third_party/pigweed/src/pw_arduino_build", "//third_party/pigweed/src/pw_assert", "//third_party/pigweed/src/pw_assert_basic", "//third_party/pigweed/src/pw_assert_log", "//third_party/pigweed/src/pw_assert_tokenized", "//third_party/pigweed/src/pw_assert_zephyr", "//third_party/pigweed/src/pw_async", "//third_party/pigweed/src/pw_async2", "//third_party/pigweed/src/pw_async2_basic", "//third_party/pigweed/src/pw_async2_epoll", "//third_party/pigweed/src/pw_async_basic", "//third_party/pigweed/src/pw_base64", "//third_party/pigweed/src/pw_bloat", "//third_party/pigweed/src/pw_blob_store", "//third_party/pigweed/src/pw_bluetooth", "//third_party/pigweed/src/pw_bluetooth_hci", "//third_party/pigweed/src/pw_bluetooth_profiles", "//third_party/pigweed/src/pw_bluetooth_proxy", "//third_party/pigweed/src/pw_bluetooth_sapphire", "//third_party/pigweed/src/pw_boot", "//third_party/pigweed/src/pw_boot_cortex_m", "//third_party/pigweed/src/pw_build", "//third_party/pigweed/src/pw_build_android", "//third_party/pigweed/src/pw_build_info", "//third_party/pigweed/src/pw_build_mcuxpresso", "//third_party/pigweed/src/pw_bytes", "//third_party/pigweed/src/pw_channel", "//third_party/pigweed/src/pw_checksum", "//third_party/pigweed/src/pw_chre", "//third_party/pigweed/src/pw_chrono", "//third_party/pigweed/src/pw_chrono_embos", "//third_party/pigweed/src/pw_chrono_freertos", "//third_party/pigweed/src/pw_chrono_rp2040", "//third_party/pigweed/src/pw_chrono_stl", "//third_party/pigweed/src/pw_chrono_threadx", "//third_party/pigweed/src/pw_chrono_zephyr", "//third_party/pigweed/src/pw_cli", "//third_party/pigweed/src/pw_compilation_testing", "//third_party/pigweed/src/pw_config_loader", "//third_party/pigweed/src/pw_console", "//third_party/pigweed/src/pw_containers", "//third_party/pigweed/src/pw_cpu_exception", "//third_party/pigweed/src/pw_cpu_exception_cortex_m", "//third_party/pigweed/src/pw_cpu_exception_risc_v", "//third_party/pigweed/src/pw_crypto", "//third_party/pigweed/src/pw_digital_io", "//third_party/pigweed/src/pw_digital_io_linux", "//third_party/pigweed/src/pw_digital_io_mcuxpresso", "//third_party/pigweed/src/pw_digital_io_rp2040", "//third_party/pigweed/src/pw_docgen", "//third_party/pigweed/src/pw_doctor", "//third_party/pigweed/src/pw_emu", "//third_party/pigweed/src/pw_env_setup", "//third_party/pigweed/src/pw_env_setup_zephyr", "//third_party/pigweed/src/pw_file", "//third_party/pigweed/src/pw_format", "//third_party/pigweed/src/pw_function", "//third_party/pigweed/src/pw_fuzzer", "//third_party/pigweed/src/pw_grpc", "//third_party/pigweed/src/pw_hdlc", "//third_party/pigweed/src/pw_hex_dump", "//third_party/pigweed/src/pw_i2c", "//third_party/pigweed/src/pw_i2c_linux", "//third_party/pigweed/src/pw_i2c_mcuxpresso", "//third_party/pigweed/src/pw_i2c_rp2040", "//third_party/pigweed/src/pw_ide", "//third_party/pigweed/src/pw_interrupt", "//third_party/pigweed/src/pw_interrupt_cortex_m", "//third_party/pigweed/src/pw_interrupt_xtensa", "//third_party/pigweed/src/pw_interrupt_zephyr", "//third_party/pigweed/src/pw_intrusive_ptr", "//third_party/pigweed/src/pw_json", "//third_party/pigweed/src/pw_kvs", "//third_party/pigweed/src/pw_libc", "//third_party/pigweed/src/pw_libcxx", "//third_party/pigweed/src/pw_log", "//third_party/pigweed/src/pw_log_android", "//third_party/pigweed/src/pw_log_basic", "//third_party/pigweed/src/pw_log_null", "//third_party/pigweed/src/pw_log_rpc", "//third_party/pigweed/src/pw_log_string", "//third_party/pigweed/src/pw_log_tokenized", "//third_party/pigweed/src/pw_log_zephyr", "//third_party/pigweed/src/pw_malloc", "//third_party/pigweed/src/pw_malloc_freelist", "//third_party/pigweed/src/pw_malloc_freertos", "//third_party/pigweed/src/pw_metric", "//third_party/pigweed/src/pw_minimal_cpp_stdlib", "//third_party/pigweed/src/pw_module", "//third_party/pigweed/src/pw_multibuf", "//third_party/pigweed/src/pw_multisink", "//third_party/pigweed/src/pw_package", "//third_party/pigweed/src/pw_perf_test", "//third_party/pigweed/src/pw_persistent_ram", "//third_party/pigweed/src/pw_polyfill", "//third_party/pigweed/src/pw_preprocessor", "//third_party/pigweed/src/pw_presubmit", "//third_party/pigweed/src/pw_protobuf", "//third_party/pigweed/src/pw_protobuf_compiler", "//third_party/pigweed/src/pw_random", "//third_party/pigweed/src/pw_result", "//third_party/pigweed/src/pw_ring_buffer", "//third_party/pigweed/src/pw_router", "//third_party/pigweed/src/pw_rpc", "//third_party/pigweed/src/pw_rpc_transport", "//third_party/pigweed/src/pw_rust", "//third_party/pigweed/src/pw_sensor", "//third_party/pigweed/src/pw_snapshot", "//third_party/pigweed/src/pw_software_update", "//third_party/pigweed/src/pw_span", "//third_party/pigweed/src/pw_spi", "//third_party/pigweed/src/pw_spi_linux", "//third_party/pigweed/src/pw_spi_mcuxpresso", "//third_party/pigweed/src/pw_spi_rp2040", "//third_party/pigweed/src/pw_status", "//third_party/pigweed/src/pw_stm32cube_build", "//third_party/pigweed/src/pw_stream", "//third_party/pigweed/src/pw_stream_shmem_mcuxpresso", "//third_party/pigweed/src/pw_stream_uart_linux", "//third_party/pigweed/src/pw_stream_uart_mcuxpresso", "//third_party/pigweed/src/pw_string", "//third_party/pigweed/src/pw_symbolizer", "//third_party/pigweed/src/pw_sync", "//third_party/pigweed/src/pw_sync_baremetal", "//third_party/pigweed/src/pw_sync_embos", "//third_party/pigweed/src/pw_sync_freertos", "//third_party/pigweed/src/pw_sync_stl", "//third_party/pigweed/src/pw_sync_threadx", "//third_party/pigweed/src/pw_sync_zephyr", "//third_party/pigweed/src/pw_sys_io", "//third_party/pigweed/src/pw_sys_io_ambiq_sdk", "//third_party/pigweed/src/pw_sys_io_arduino", "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb", "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429", "//third_party/pigweed/src/pw_sys_io_emcraft_sf2", "//third_party/pigweed/src/pw_sys_io_mcuxpresso", "//third_party/pigweed/src/pw_sys_io_rp2040", "//third_party/pigweed/src/pw_sys_io_stdio", "//third_party/pigweed/src/pw_sys_io_stm32cube", "//third_party/pigweed/src/pw_sys_io_zephyr", "//third_party/pigweed/src/pw_system", "//third_party/pigweed/src/pw_target_runner", "//third_party/pigweed/src/pw_thread", "//third_party/pigweed/src/pw_thread_embos", "//third_party/pigweed/src/pw_thread_freertos", "//third_party/pigweed/src/pw_thread_stl", "//third_party/pigweed/src/pw_thread_threadx", "//third_party/pigweed/src/pw_thread_zephyr", "//third_party/pigweed/src/pw_tls_client", "//third_party/pigweed/src/pw_tls_client_boringssl", "//third_party/pigweed/src/pw_tls_client_mbedtls", "//third_party/pigweed/src/pw_tokenizer", "//third_party/pigweed/src/pw_toolchain", "//third_party/pigweed/src/pw_toolchain_bazel", "//third_party/pigweed/src/pw_trace", "//third_party/pigweed/src/pw_trace_tokenized", "//third_party/pigweed/src/pw_transfer", "//third_party/pigweed/src/pw_uart", "//third_party/pigweed/src/pw_unit_test", "//third_party/pigweed/src/pw_unit_test_zephyr", "//third_party/pigweed/src/pw_varint", "//third_party/pigweed/src/pw_watch", "//third_party/pigweed/src/pw_web", "//third_party/pigweed/src/pw_work_queue"]

From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:220

pw_preprocessor_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_preprocessor/BUILD.gn:26

pw_protobuf_compiler_GENERATE_LEGACY_ENUM_SNAKE_CASE_NAMES

pwpb previously generated field enum names in SNAKE_CASE rather than kConstantCase. Set this variable to temporarily enable legacy SNAKE_CASE support while you migrate your codebase to kConstantCase. b/266298474

Current value (from the default): false

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:28

pw_protobuf_compiler_PROTOC_BINARY

To override the protobuf compiler used set this to the path, relative to the root_build_dir, to the protoc binary.

Current value for target_cpu = "arm64": "host_x64/protoc"

From //.gn:118

Overridden from the default: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:55

Current value for target_cpu = "x64": "host_x64/protoc"

From //.gn:118

Overridden from the default: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:55

pw_protobuf_compiler_PROTOC_TARGET

To override the protobuf compiler used set this to the GN target that builds the protobuf compiler.

Current value for target_cpu = "arm64": "//third_party/protobuf:protoc"

From //.gn:117

Overridden from the default: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:38

Current value for target_cpu = "x64": "//third_party/protobuf:protoc"

From //.gn:117

Overridden from the default: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:38

pw_protobuf_compiler_TOOLCHAIN

Current value (from the default): "//third_party/pigweed/src/pw_protobuf_compiler/toolchain:protocol_buffer"

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:22

pw_rbe_arm_gcc_config

Current value (from the default): ""

From //third_party/pigweed/src/pw_toolchain/rbe.gni:30

pw_rbe_clang_config

Current value (from the default): ""

From //third_party/pigweed/src/pw_toolchain/rbe.gni:29

pw_span_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Most modules depend on pw_build_DEFAULT_MODULE_CONFIG as the default config, but since this module's config options require interaction with the build system, this defaults to an internal config to properly support pw_span_ENABLE_ASSERTS.

Current value (from the default): "//third_party/pigweed/src/pw_span:span_asserts"

From //third_party/pigweed/src/pw_span/BUILD.gn:38

pw_span_ENABLE_ASSERTS

Whether or not to enable bounds-checking asserts in pw::span. Enabling this may significantly increase binary size, and can introduce dependency cycles if your pw_assert backend‘s headers depends directly or indirectly on pw_span. It’s recommended to enable this for debug builds if possible.

Current value (from the default): false

From //third_party/pigweed/src/pw_span/BUILD.gn:28

pw_status_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_status/BUILD.gn:26

pw_string_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_string/BUILD.gn:27

pw_sync_BINARY_SEMAPHORE_BACKEND

Backend for the pw_sync module's binary semaphore.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"

From //.gn:83

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:17

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"

From //.gn:83

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:17

pw_sync_CONDITION_VARIABLE_BACKEND

Backend for the pw_sync module's condition variable.

Current value (from the default): ""

From //third_party/pigweed/src/pw_sync/backend.gni:20

pw_sync_COUNTING_SEMAPHORE_BACKEND

Backend for the pw_sync module's counting semaphore.

Current value (from the default): ""

From //third_party/pigweed/src/pw_sync/backend.gni:23

pw_sync_INTERRUPT_SPIN_LOCK_BACKEND

Backend for the pw_sync module's interrupt spin lock.

Current value (from the default): ""

From //third_party/pigweed/src/pw_sync/backend.gni:35

pw_sync_MUTEX_BACKEND

Backend for the pw_sync module's mutex.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_sync_stl:mutex_backend"

From //.gn:74

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:26

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_sync_stl:mutex_backend"

From //.gn:74

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:26

pw_sync_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK

Whether the GN asserts should be silenced in ensuring that a compatible backend for pw_chrono_SYSTEM_CLOCK_BACKEND is chosen. Set to true to disable the asserts.

Current value (from the default): false

From //third_party/pigweed/src/pw_sync/backend.gni:46

pw_sync_RECURSIVE_MUTEX_BACKEND

Backend for the pw_sync module's recursive mutex.

Current value (from the default): ""

From //third_party/pigweed/src/pw_sync/backend.gni:32

pw_sync_THREAD_NOTIFICATION_BACKEND

Backend for the pw_sync module's thread notification.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"

From //.gn:78

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:38

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"

From //.gn:78

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:38

pw_sync_TIMED_MUTEX_BACKEND

Backend for the pw_sync module's timed mutex.

Current value (from the default): ""

From //third_party/pigweed/src/pw_sync/backend.gni:29

pw_sync_TIMED_THREAD_NOTIFICATION_BACKEND

Backend for the pw_sync module's timed thread notification.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"

From //.gn:79

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:41

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"

From //.gn:79

Overridden from the default: ""

From //third_party/pigweed/src/pw_sync/backend.gni:41

pw_third_party_boringssl_ALIAS

Create a “$dir_pw_third_party/boringssl” target that aliases an existing target. This can be used to fix a diamond dependency conflict if a downstream project uses its own boringssl target and cannot be changed to use Pigweed's boringssl exclusively.

Current value for target_cpu = "arm64": "//third_party/boringssl"

From //.gn:99

Overridden from the default: ""

From //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25

Current value for target_cpu = "x64": "//third_party/boringssl"

From //.gn:99

Overridden from the default: ""

From //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25

pw_third_party_emboss_CONFIG

Current value (from the default): "//third_party/pigweed/src/third_party/emboss:default_overrides"

From //third_party/pigweed/src/third_party/emboss/emboss.gni:24

pw_third_party_mbedtls_CONFIG_HEADER

Current value (from the default): "//third_party/pigweed/src/third_party/mbedtls/configs/config_default.h"

From //third_party/pigweed/src/third_party/mbedtls/mbedtls.gni:25

pw_third_party_nanopb_AGGRESSIVE_NANOPB_PB2_REGEN

Regenerates $dir_pw_third_party_nanopb/generator/proto/nanopb_pb2.py whenever the generate_nanopb_proto action is run. If this is set to false, the file will only be regenerated if protoc is newer than the generated nanopb_pb2.py.

Aggressive regeneration is NOT safe if this build will run in parallel with other build systems that try to read nanopb_pb2.py.

Current value (from the default): true

From //third_party/pigweed/src/third_party/nanopb/nanopb.gni:36

pw_third_party_nanopb_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/third_party/nanopb/nanopb.gni:27

pw_thread_ID_BACKEND

Backend for the pw_thread module's pw::thread::Id.

Current value (from the default): ""

From //third_party/pigweed/src/pw_thread/backend.gni:17

pw_thread_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK

Whether the GN asserts should be silenced in ensuring that a compatible backend for pw_chrono_SYSTEM_CLOCK_BACKEND is chosen. Set to true to disable the asserts.

Current value (from the default): false

From //third_party/pigweed/src/pw_thread/backend.gni:34

pw_thread_SLEEP_BACKEND

Backend for the pw_thread module's pw::thread::sleep_{for,until}.

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_thread_stl:sleep"

From //.gn:76

Overridden from the default: ""

From //third_party/pigweed/src/pw_thread/backend.gni:20

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_thread_stl:sleep"

From //.gn:76

Overridden from the default: ""

From //third_party/pigweed/src/pw_thread/backend.gni:20

pw_thread_TEST_THREAD_CONTEXT_BACKEND

Backend for the pw_thread module's pw::thread::test_thread_context.

Current value (from the default): ""

From //third_party/pigweed/src/pw_thread/backend.gni:29

pw_thread_THREAD_BACKEND

Backend for the pw_thread module's pw::thread::Thread to create threads.

Current value (from the default): ""

From //third_party/pigweed/src/pw_thread/backend.gni:23

pw_thread_THREAD_ITERATION_BACKEND

Backend for the pw_thread module's pw::thread::thread_iteration.

Current value (from the default): ""

From //third_party/pigweed/src/pw_thread/backend.gni:37

pw_thread_YIELD_BACKEND

Backend for the pw_thread module's pw::thread::yield.

Current value (from the default): ""

From //third_party/pigweed/src/pw_thread/backend.gni:26

pw_toolchain_CLANG_PREFIX

This flag allows you to specify a prefix to use for clang, clang++, and llvm-ar binaries to use when compiling with a clang-based toolchain. This is useful for debugging toolchain-related issues by building with an externally-provided toolchain.

Pigweed toolchains should NOT override this variable so projects or users can control it via .gn or by setting it as a regular gn argument (e.g. gn gen --args='pw_toolchain_CLANG_PREFIX=/path/to/my-llvm-').

Examples: pw_toolchain_CLANG_PREFIX = "" command: “clang” (from PATH)

pw_toolchain_CLANG_PREFIX = “my-” command: “my-clang” (from PATH)

pw_toolchain_CLANG_PREFIX = “/bin/my-” command: “/bin/my-clang” (absolute path)

pw_toolchain_CLANG_PREFIX = “//environment/clang_next/” command: “../environment/clang_next/clang” (relative path)

GN templates should use pw_toolchain_clang_tools.* to get the intended command string rather than relying directly on pw_toolchain_CLANG_PREFIX.

If the prefix begins with “//”, it will be rebased to be relative to the root build directory.

Current value (from the default): "//prebuilt/third_party/bin/"

From //third_party/pigweed/src/pw_toolchain/clang_tools.gni:56

pw_toolchain_COVERAGE_ENABLED

Indicates if this toolchain supports generating coverage reports from pw_test targets.

For example, the static analysis toolchains that run clang-tidy instead of the test binary itself cannot generate coverage reports.

This is typically set by individual toolchains and not by GN args.

Current value (from the default): false

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:32

pw_toolchain_FUZZING_ENABLED

Indicates if this toolchain supports building fuzzers. This is typically set by individual toolchains and not by GN args.

Current value (from the default): false

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:39

pw_toolchain_OSS_FUZZ_ENABLED

Indicates if this build is a part of OSS-Fuzz, which needs to be able to provide its own compiler and flags. This violates the build hermeticisim and should only be used for OSS-Fuzz.

Current value (from the default): false

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:44

pw_toolchain_PROFILE_SOURCE_FILES

List of source files to selectively collect coverage.

Current value (from the default): []

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:35

pw_toolchain_RBE_DEBUG

Current value (from the default): false

From //third_party/pigweed/src/pw_toolchain/rbe.gni:26

pw_toolchain_RUST_PREFIX

This flag allows you to specify a prefix for rustc.

This follows the same rules as pw_toolchain_CLANG_PREFIX, see above for more information.

If the prefix begins with “//”, it will be rebased to be relative to the root build directory.

Current value (from the default): "//prebuilt/third_party/rust/bin/"

From //third_party/pigweed/src/pw_toolchain/clang_tools.gni:65

pw_toolchain_SANITIZERS

Sets the sanitizer to pass to clang. Valid values are “address”, “memory”, “thread”, “undefined”, “undefined_heuristic”.

Current value (from the default): []

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:23

pw_toolchain_SCOPE

Scope defining the current toolchain. Contains all of the arguments required by the generate_toolchain template. This should NOT be manually modified.

Current value (from the default): { }

From //third_party/pigweed/src/pw_toolchain/generate_toolchain.gni:23

pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS

Disable clang-tidy for specific include paths. In the clang-tidy command, include paths that end with one of these, or match as a regular expression, are switched from -I to -isystem, which causes clang-tidy to ignore them. Unfortunately, clang-tidy provides no other way to filter header files.

For example, the following ignores header files in “repo/include”:

pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS = [“repo/include”]

While the following ignores all third-party header files:

pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS = [“./third_party/.”]

Current value (from the default): []

From //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:48

pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES

Regular expressions matching the paths of the source files to be excluded from the analysis. clang-tidy provides no alternative option.

For example, the following disables clang-tidy on all source files in the third_party directory:

pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES = [“third_party/.*”]

Current value (from the default): []

From //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:33

pw_toolchain_USE_RBE

Current value (from the default): false

From //third_party/pigweed/src/pw_toolchain/rbe.gni:20

pw_unit_test_AUTOMATIC_RUNNER

Path to a test runner to automatically run unit tests after they are built.

If set, a pw_test target‘s <target_name>.run action will invoke the test runner specified by this argument, passing the path to the unit test to run. If this is unset, the pw_test target’s <target_name>.run step will do nothing.

Targets that don't support parallelized execution of tests (e.g. a on-device test runner that must flash a device and run the test in serial) should set pw_unit_test_POOL_DEPTH to 1.

Type: string (name of an executable on the PATH, or path to an executable) Usage: toolchain-controlled only

Current value (from the default): ""

From //third_party/pigweed/src/pw_unit_test/test.gni:63

pw_unit_test_AUTOMATIC_RUNNER_ARGS

Optional list of arguments to forward to the automatic runner.

Type: list of strings (args to pass to pw_unit_test_AUTOMATIC_RUNNER) Usage: toolchain-controlled only

Current value (from the default): []

From //third_party/pigweed/src/pw_unit_test/test.gni:69

pw_unit_test_AUTOMATIC_RUNNER_TIMEOUT

Optional timeout to apply when running tests via the automatic runner. Timeout is in seconds. Defaults to empty which means no timeout.

Current value (from the default): ""

From //third_party/pigweed/src/pw_unit_test/test.gni:73

pw_unit_test_BACKEND

The unit test framework implementation. Defaults to pw_unit_test:light, which implements a subset of GoogleTest safe to run on device. Set to //pw_unit_test:googletest when using GoogleTest.

Type: string (GN path to a source set) Usage: toolchain-controlled only

Current value for target_cpu = "arm64": "//third_party/pigweed/src/pw_unit_test:googletest"

From //.gn:129

Overridden from the default: "//third_party/pigweed/src/pw_unit_test:light"

From //third_party/pigweed/src/pw_unit_test/test.gni:31

Current value for target_cpu = "x64": "//third_party/pigweed/src/pw_unit_test:googletest"

From //.gn:129

Overridden from the default: "//third_party/pigweed/src/pw_unit_test:light"

From //third_party/pigweed/src/pw_unit_test/test.gni:31

pw_unit_test_CONFIG

The build target that overrides the default configuration options for this module. This should point to a source set that provides defines through a public config (which may -include a file or add defines directly).

Current value (from the default): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_unit_test/BUILD.gn:29

pw_unit_test_EXECUTABLE_TARGET_TYPE

The name of the GN target type used to build pw_unit_test executables.

Type: string (name of a GN template) Usage: toolchain-controlled only

Current value (from the default): "pw_executable"

From //third_party/pigweed/src/pw_unit_test/test.gni:102

pw_unit_test_EXECUTABLE_TARGET_TYPE_FILE

The path to the .gni file that defines pw_unit_test_EXECUTABLE_TARGET_TYPE.

If pw_unit_test_EXECUTABLE_TARGET_TYPE is not the default of pw_executable, this .gni file is imported to provide the template definition.

Type: string (path to a .gni file) Usage: toolchain-controlled only

Current value (from the default): ""

From //third_party/pigweed/src/pw_unit_test/test.gni:112

pw_unit_test_GOOGLETEST_BACKEND

The GoogleTest library target. This is not a pw_unit_test backend (anymore). Use this to depend on the GoogleTest library directly WITHOUT using the pw_unit_test facade. The //pw_unit_test:googletest backend depends on this library target. Defaults to //third_party/googletest.

Type: string (GN path to a source set) Usage: toolchain-controlled only

Current value for target_cpu = "arm64": "//third_party/googletest:gmock_no_testonly"

From //.gn:128

Overridden from the default: "//third_party/pigweed/src/third_party/googletest"

From //third_party/pigweed/src/pw_unit_test/test.gni:41

Current value for target_cpu = "x64": "//third_party/googletest:gmock_no_testonly"

From //.gn:128

Overridden from the default: "//third_party/pigweed/src/third_party/googletest"

From //third_party/pigweed/src/pw_unit_test/test.gni:41

pw_unit_test_MAIN

Implementation of a main function for pw_test unit test binaries. Must be set to an appropriate target for the pw_unit_test backend.

Type: string (GN path to a source set) Usage: toolchain-controlled only

Current value for target_cpu = "arm64": "//src/lib/fxl/test:gtest_main"

From //.gn:127

Overridden from the default: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"

From //third_party/pigweed/src/pw_unit_test/test.gni:48

Current value for target_cpu = "x64": "//src/lib/fxl/test:gtest_main"

From //.gn:127

Overridden from the default: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"

From //third_party/pigweed/src/pw_unit_test/test.gni:48

pw_unit_test_POOL_DEPTH

The maximum number of unit tests that may be run concurrently for the current toolchain. Setting this to 0 disables usage of a pool, allowing unlimited parallelization.

Note: A single target with two toolchain configurations (e.g. release/debug) will use two separate test runner pools by default. Set pw_unit_test_POOL_TOOLCHAIN to the same toolchain for both targets to merge the pools and force serialization.

Type: integer Usage: toolchain-controlled only

Current value (from the default): 0

From //third_party/pigweed/src/pw_unit_test/test.gni:86

pw_unit_test_POOL_TOOLCHAIN

The toolchain to use when referring to the pw_unit_test runner pool. When this is disabled, the current toolchain is used. This means that every toolchain will use its own pool definition. If two toolchains should share the same pool, this argument should be by one of the toolchains to the GN path of the other toolchain.

Type: string (GN path to a toolchain) Usage: toolchain-controlled only

Current value (from the default): ""

From //third_party/pigweed/src/pw_unit_test/test.gni:96

pw_unit_test_TESTONLY

If true, the pw_unit_test target, pw_test targets, and pw_test_group targets will define testonly = true. This is false by default for backwards compatibility.

Current value for target_cpu = "arm64": true

From //.gn:130

Overridden from the default: false

From //third_party/pigweed/src/pw_unit_test/test.gni:117

Current value for target_cpu = "x64": true

From //.gn:130

Overridden from the default: false

From //third_party/pigweed/src/pw_unit_test/test.gni:117

qemu_boot_format

Boot format to use with QEMU. This chooses the boot format to use with QEMU, determining which boot shim implementation is used as QEMU “kernel”. Valid alternatives vary by machine, but include “linuxboot”.

Current value (from the default): "linuxboot"

From //zircon/kernel/phys/qemu.gni:93

qr_codes_path

Current value (from the default): "//src/recovery/system/res/qr_codes.riv"

From //src/recovery/system/system_recovery_args.gni:11

recovery_label

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:165

recovery_logo_path

Current value (from the default): "//src/recovery/system/res/fuchsia-logo.riv"

From //src/recovery/system/system_recovery_args.gni:9

recovery_only

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:20

remove_default_configs

Current value for target_cpu = "arm64": ["//third_party/pigweed/src/pw_build:reduced_size"]

From //.gn:139

Overridden from the default: []

From //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36

Current value for target_cpu = "x64": ["//third_party/pigweed/src/pw_build:reduced_size"]

From //.gn:139

Overridden from the default: []

From //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36

remove_default_public_deps

Current value (from the default): []

From //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:37

repository_publish_blob_copy_mode

Controls which mode to use when copying blobs into the repository. Supported modes are:

  • copy: copy the blob if the blob does not already exist in the repository. This will use copy-on-write to efficiently copy the blob on file systems that support it.

  • copy-overwrite: always copy the blob, overwriting any blob that exists in the blob repository. This will use copy-on-write to efficiently copy the blob on file systems that support it.

  • hard-link: hard link the blob into the repository, or copy if we cannot create a hard link between the blob and the blob repository. Note that it is possible to modify the blob through the hard link, which would result in the blob not matching the blob's merkle.

Current value (from the default): "hard-link"

From //src/sys/pkg/bin/package-tool/package-tool.gni:279

restat_cc

Set to true to make C++ compiles preserve timestamps of unchanged outputs. re-client provides this feature out-of-the-box with --preserve_unchanged_output_mtime, so it makes sense to default to true when using cxx_rbe_enable. When not using re-client, you can still get write-if-change behavior through the restat_wrapper script, but at the cost of the wrapper overhead (tradeoff vs. action pruning).

Current value (from the default): false

From //build/toolchain/restat.gni:27

restat_rust

Set to true to make Rust compiles preserve timestamps of unchanged outputs.

Current value (from the default): true

From //build/toolchain/restat.gni:19

roboto_font_path

Current value (from the default): "//prebuilt/third_party/fonts/roboto/Roboto-Regular.ttf"

From //src/recovery/system/system_recovery_args.gni:10

rust_cap_lints

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:55

rust_debug_assertions

Enable debug assertions, e.g. for overflow checking.

Current value (from the default): false

From //build/config/rust/BUILD.gn:33

rust_emit_rmeta

Set to true to emit additional .rmeta files when compiling Rust rlibs. The .rmeta metadata files can be used by downstream build actions to quickly evaluate transitive dependencies (and remote inputs). This is required to support skipping downloads of rlibs.

Current value (from the default): true

From //build/toolchain/rbe.gni:132

rust_incremental

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:30

rust_lto

Sets the default LTO type for rustc builds.

Current value (from the default): ""

From //build/rust/config.gni:47

rust_one_rlib_per_dir

To avoid build nondeterminism due to extern search paths resolving to more than one path during a build, enable this option to place every rlib into its own exclusive directory. This requires rustc_use_response_file = true due to the command-line bloat this causes. See http://g-issues.fuchsia.dev/issues/319148874 for more details.

Current value (from the default): false

From //build/rust/build.gni:19

rust_parallel_frontend_threads

Enable the rust parallel front-end with N threads

Current value (from the default): false

From //build/config/rust/BUILD.gn:36

rust_rbe_check

Run one of the more expensive checks, intended for CI. All of these require rust_rbe_enable=true.

One of:

  • “none”: No additional check.

  • “determinism”: Check of determinism of rustc targets by running locally twice and comparing outputs, failing if any differences are found. Even though this check doesn't involve RBE, it uses the same wrapper script, which knows what output files to expect and compare.

    Build outputs that depend on time are discouraged because they impact caching. If your result depends on the current time, this check will definitely fail. If it depends on only the date, there is still a nonzero chance of failure, if the rerun falls on the next day.

  • “consistency”: Check consistency between local and remote rust compiles, by running both and comparing results.

Current value (from the default): "none"

From //build/toolchain/rbe.gni:119

rust_rbe_download_rlibs

TODO(b/42084033): Controls whether or not to download (intermediate) rlibs from remote Rust build actions.

Current value (from the default): true

From //build/toolchain/rbe.gni:136

rust_rbe_download_unstripped_binaries

Controls whether or not to download (often large) unstripped Rust binaries. When downloading is disabled, the build produces stubs that be used to retrieve remote artifacts later using build/rbe/dlwrap.py. TODO(b/284994230): This option is only available to developers, and not restricted environments that lack direct network access.

Current value (from the default): true

From //build/toolchain/rbe.gni:126

rust_rbe_enable

Set to true to enable distributed compilation of Rust using RBE.

Current value for target_cpu = "arm64": false

From //out/not-default/args.gn:12

Overridden from the default: false

From //build/toolchain/rbe.gni:75

Current value for target_cpu = "x64": false

From //out/not-default/args.gn:12

Overridden from the default: false

From //build/toolchain/rbe.gni:75

rust_rbe_exec_strategy

One of:

  • “remote”: Execute action remotely on cache miss. The remote cache is always updated with this result.

  • “local”: Lookup action in the remote cache, but execute action locally on cache miss. The locally produced result is not uploaded to the remote cache.

  • “remote_local_fallback”: Execute action remotely first. If that fails, run locally instead. The locally produced results are not uploaded to the remote cache.

  • “racing”: Race local vs. remote execution, take the first to finish.

(There are other rewrapper options that are not exposed.)

Current value (from the default): "remote"

From //build/toolchain/rbe.gni:93

rust_toolchain_triple_suffix

Sets the fuchsia toolchain target triple suffix (after arch)

Current value (from the default): "fuchsia"

From //build/rust/config.gni:50

rust_v0_symbol_mangling

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).

Current value (from the default): true

From //build/config/rust/BUILD.gn:26

rust_virtio_net

If true, uses the new Rust virtio-net device instead of the legacy C++ device.

Current value (from the default): true

From //src/virtualization/bin/args.gni:7

rustc_prefix

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"

From //build/rust/config.gni:19

rustc_use_response_files

Place lengthy rustdeps and externs (GN) into ninja response files. Response files are needed to get around command line length limitations. rustc support for response files (as needed in our GN build) was added with revision ‘git_revision:dfe53afaebd817f334d8ef9dc75a5cd2562cf6e6’. This optional will eventually become permanently true.

Current value (from the default): false

From //build/rust/build.gni:11

rustc_version_description

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:44

rustc_version_string

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): "LBYFiFzFndX6bEpG56fkO3Dmb05wpgcfFzMYZG5u3dwC"

From //build/rust/config.gni:38

scenic_enable_vulkan_validation

Include the vulkan validation layers in scenic.

Current value (from the default): false

From //src/ui/scenic/lib/utils/build_args.gni:10

scheduler_extra_invariant_validation

Enables extra (expensive) validation of scheduler invariants to assist in debugging changes to the scheduler's behavior.

Current value (from the default): false

From //zircon/kernel/params.gni:60

scheduler_lock_spin_tracing_compressed

Enables compressed records when tracing lock-spin events. The events will be more difficult to interpret in a trace visualizer, but will take less space and provide the same information to scripts which parse lock trace data.

Current value (from the default): false

From //zircon/kernel/params.gni:70

scheduler_lock_spin_tracing_enabled

Enables scheduler lock-spinning trace events for trace-based scheduler performance analysis.

Current value (from the default): false

From //zircon/kernel/params.gni:64

scheduler_queue_tracing_enabled

Enables scheduler queue tracing for trace-based scheduler performance analysis.

Current value (from the default): false

From //zircon/kernel/params.gni:56

scheduler_tracing_level

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:52

scudo_default_options

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:82

sdk_archive_labels

Extra idk_archive() labels to be uploaded to the artifacts store. This is an extension mechanism for IDK bits outside of the main repository.

Current value for target_cpu = "arm64": []

From //products/bringup.gni:35

Overridden from the default: []

From //BUILD.gn:132

Current value for target_cpu = "x64": []

From //products/bringup.gni:35

Overridden from the default: []

From //BUILD.gn:132

sdk_cross_compile_host_tools

Whether to cross-compile SDK tools for all supported host toolchains, rather than just the current host toolchains. For example, if this is true then for instance if building on linux x64 then you'll also build SDK host tools for linux arm64.

Current value (from the default): false

From //sdk/config.gni:13

sdk_id

Identifier for the Core SDK.

Current value (from the default): "20.99991231.0.1"

From //sdk/config.gni:7

sdk_inside_sub_build

Whether currently building a sub-build (vs. the main build). Can be true for any API level, including the default level.

Current value (from the default): false

From //build/sdk/config.gni:12

sdk_max_simultaneous_sub_builds

An upper bound on the maximum number of subbuilds that may be running at the same time. A larger number means these good things:

  • Better parallelization of the inherently single-threaded parts of GN and ninja.
  • Better parallelization in the face of “stragglers” in the build - situations where each subbuild is executing a small number of actions.

But also these bad things:

  • More memory usage, potentially leading to swapping and slowdowns.
  • More CPU contention when the build process is actually CPU-bound.
  • Potentially forcing a lower value of sdk_sub_build_parallelism, since the total load is proportional to sdk_max_simultaneous_sub_builds * sdk_sub_build_parallelism.

5 was chosen mostly because it's the number of fingers on each of my hands.

Current value (from the default): 5

From //build/sdk/config.gni:29

sdk_sub_build_max_load_average

Value of -l to pass to ninja during a subbuild. If the system load average on the system goes beyond this value, ninja will throttle itself. If left blank, the subbuild script will make a guess.

Current value (from the default): ""

From //build/sdk/config.gni:41

sdk_sub_build_parallelism

Value of -j to pass to ninja during a subbuild. Note that up to sdk_max_simultaneous_sub_builds subbuilds may be happening in parallel, so the number of concurrent actions may go as high as this number times the number of concurrent subbuilds. If left blank, the subbuild script will make a guess.

Current value (from the default): ""

From //build/sdk/config.gni:36

select_variant

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 `"fuchsia_driver"`

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:2090

select_variant_canonical

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:2095

select_variant_shortcuts

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"
}]
}, {
  name = "host_tsan"
  select_variant = [{
  host = true
  variant = "tsan"
}]
}, {
  name = "kubsan"
  select_variant = [{
  dir = ["//zircon/kernel"]
  variant = "ubsan"
}]
}]

From //build/config/BUILDCONFIG.gn:1881

size_checker_input

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.

core_creep_limit(number): maximum size creep (in bytes) per-CL allocated for the core system and/or services. This may be enforced by Gerrit.

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. creep_limit(number): maxmium size creep (in bytes) per-CL allocated for the component. This may be enforced by Gerrit.

distributed_shlibs(string array): a list of shared libraries which are distributed in the Fuchsia SDK for partners to use in their prebuilt packages.

distributed_shlibs_limit(number): maximum size (in bytes) allocated for distributed shared libraries.

distributed_shlibs_creep_limit(number): maximum size creep (in bytes) allocated for distributed shared libraries. This may be enforced by Gerrit.

icu_data(string array): a list of files which contribute to the ICU data limit.

icu_data_limit(number): maximum size (in bytes) allocated to ICU data files.

icu_data_creep_limit(number): maximum size creep (in bytes) allocated to ICU data files. This may be enforced by Gerrit.

Example: size_checker_input = { asset_ext = [ “.ttf” ] asset_limit = 10240 core_limit = 10240 core_creep_limit = 320 distributed_shlibs = [ “lib/ld.so.1”, “lib/libc++.so.2”, ] distributed_shlibs_limit = 10240 distributed_shlibs_creep_limit = 320 icu_data = [ “icudtl.dat” ] icu_data_limit = 20480 icu_data_creep_limit = 320 components = [ { component = “Foo” src = [ “topaz/runtime/foo_runner” ] limit = 10240 creep_limit = 320 }, { component = “Bar” src = [ “build/images” ] limit = 20480 creep_limit = 640 }, ] }

Current value (from the default): { }

From //build/images/size_checker/size_checker_input.gni:84

skip_buildtools_check

Skip buildtools dependency checks (needed for ChromeOS).

Current value (from the default): false

From //third_party/perfetto/gn/perfetto.gni:342

smp_max_cpus

Current value (from the default): 16

From //zircon/kernel/params.gni:20

spinel_platform_header

Platform portability header for spinel.

Current value (from the default): "\"spinel_platform.h\""

From //third_party/openthread/src/lib/spinel/BUILD.gn:32

stack_size_section

Whether to emit a stack-size section in the output file https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fstack-size-section

Current value (from the default): false

From //build/config/clang/stack_size_section.gni:8

starnix_disable_logging

Whether or not logging is disabled globally.

Current value (from the default): false

From //src/starnix/kernel/args.gni:7

starnix_enable_alternate_anon_allocs

Whether to use an alternate strategy for anonymous memory allocations.

Current value (from the default): false

From //src/starnix/kernel/args.gni:27

starnix_enable_trace_and_debug_logs_in_release

Compiles-in trace and debug logging in release builds. By default, these logs are compiled-out for performance reasons. For more information, see https://fuchsia-review.googlesource.com/c/fuchsia/+/929995.

Current value (from the default): false

From //src/starnix/kernel/args.gni:18

starnix_enable_tracing

Whether or not tracing is enabled globally.

Current value (from the default): true

From //src/starnix/kernel/args.gni:10

starnix_enable_tracing_firehose

Whether or not high-throughput tracing (e.g. per-syscall) is enabled globally.

Current value (from the default): false

From //src/starnix/kernel/args.gni:13

starnix_log_dev_null_writes_at_info

Whether to log writes to /dev/null at the INFO level.

Current value (from the default): false

From //src/starnix/kernel/args.gni:30

starnix_syscall_stats

Whether or not syscall status inspect is enabled globally.

Current value (from the default): false

From //src/starnix/kernel/args.gni:21

starnix_unified_aspace

Whether or not unified address spaces are leveraged.

Current value (from the default): true

From //src/starnix/kernel/args.gni:24

storage_enable_tracing

Whether or not tracing is enabled for storage.

Current value (from the default): false

From //src/storage/lib/trace/BUILD.gn:10

target_cpu

Current value for target_cpu = "arm64": "arm64"

From //out/not-default/args.gn:13

Overridden from the default: ""

Current value for target_cpu = "x64": "x64"

From //out/not-default/args.gn:13

Overridden from the default: ""

target_os

Current value (from the default): ""

target_persistent_debuglog_size

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

target_sysroot

The absolute path of the sysroot that is used with the target toolchain.

Current value (from the default): ""

From //build/config/sysroot.gni:7

termina_extras_tests

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/termina_guest_manager/BUILD.gn:14

termina_fxfs_stateful_image

Whether to use Fxfs for the stateful image

Current value (from the default): false

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:25

termina_hermetic_bootstrap

If ‘true’, bundle the container image with the termina_guest_manager package and use that to initialize the linux container.

If this is ‘false’, no container image will be bundled and instead the container will be downloaded by the target at runtime. This makes the build smaller but requires the target device to have a functional internet connection at runtime.

Current value (from the default): false

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:40

termina_stateful_partition_size_bytes

Default stateful image size (40GiB).

If you change this value you will need to rebuild the guest partition using ‘guest wipe termina’ for the new size to take effect.

Current value (from the default): 42949672960

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:31

termina_user_extras

Point this to the location of external files to be included as extras

Current value (from the default): []

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:22

termina_volatile_block

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/termina_guest_manager/BUILD.gn:19

terminal_bold_font_path

Current value (from the default): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Bold.ttf"

From //src/ui/bin/terminal/terminal_args.gni:12

terminal_bold_italic_font_path

Current value (from the default): "//prebuilt/third_party/fonts/robotomono/RobotoMono-BoldItalic.ttf"

From //src/ui/bin/terminal/terminal_args.gni:20

terminal_fallback_font_paths

Paths to files to use for fallback fonts

Current value (from the default): []

From //src/ui/bin/terminal/terminal_args.gni:23

terminal_font_path

Current value (from the default): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Regular.ttf"

From //src/ui/bin/terminal/terminal_args.gni:8

terminal_italic_font_path

Current value (from the default): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Italic.ttf"

From //src/ui/bin/terminal/terminal_args.gni:16

test_durations_file

A file 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:128

test_package_labels

Non-hermetic tests (at runtime). Non-test packages found in this group will be flagged as an error by the build.

Current value for target_cpu = "arm64": []

From //out/not-default/args.gn:24

Overridden from the default: []

From //BUILD.gn:100

Current value for target_cpu = "x64": []

From //out/not-default/args.gn:24

Overridden from the default: []

From //BUILD.gn:100

testonly_in_containers

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:19

thinlto_cache_dir

ThinLTO cache directory path.

Current value (from the default): "thinlto-cache"

From //build/config/lto/config.gni:10

thinlto_jobs

Number of parallel ThinLTO jobs.

Current value (from the default): 8

From //build/config/lto/config.gni:7

time_trace

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

toolchain_variant

This should never be set as a build argument. It exists only to be set in toolchain_args. See //docs/concepts/build_system/internals/toolchains/build_arguments.md#toolchain_variant for details and documentation for each field.

Current value (from the default):

{
  base = "//build/toolchain/fuchsia:arm64"
}

From //build/config/BUILDCONFIG.gn:106

truncate_build_info_commit_date

Truncate the date in the build_info to midnight UTC, and replace the commit hash with one that's synthesized from that date. LINT.IfChange

Current value (from the default): false

From //build/info/BUILD.gn:13

tsan_default_options

Default ThreadSanitizer options (before the TSAN_OPTIONS environment variable is read at runtime). This can be set as a build argument to affect most “tsan” variants in $variants (which see), or overrideen 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 __tsan_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.

TODO(https://fxbug.dev/42171381): ignore_noninstrumented_modules=1 can be reevaluated when/if we have an instrumented libstd for Rust.

Current value (from the default): ["ignore_noninstrumented_modules=1"]

From //build/config/sanitizers/sanitizer_default_options.gni:65

ubsan_default_options

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

universal_variants

Current value (from the default):

[{
  configs = []
  name = "debug"
  toolchain_args = {
  is_debug = true
}
}]

From //build/config/BUILDCONFIG.gn:1865

universe_package_labels

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": ["//bundles/kitchen_sink"]

From //out/not-default/args.gn:19

Overridden from the default: []

From //BUILD.gn:63

Current value for target_cpu = "x64": ["//bundles/kitchen_sink"]

From //out/not-default/args.gn:19

Overridden from the default: []

From //BUILD.gn:63

update_goldens

Set to true for the golden_file template to implicitly write updated goldens instead of failing the action or test.

Current value (from the default): false

From //build/testing/config.gni:8

update_kernels

(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:41

update_package_size_creep_limit

How much the size of Update Package can be increased in one CL. Deprecated

Current value (from the default): 90112

From //build/images/size_checker/size_checker_input.gni:89

update_product_epoch

The epoch to use in the update (OTA) package. Before applying an update, Fuchsia confirms that the epoch in the update package is not smaller than the epoch installed on the system. This prevents Fuchsia from downloading an update that may not boot.

The product epoch is added to the platform epoch before placed in the update package. Having a separate platform epoch ensures that every time the platform introduces a backwards-incompatible change, each product gets their epoch increased.

Current value (from the default): 0

From //build/images/args.gni:52

use_bazel_images_only

If true, the images.json build API modules will only include images identified by bazel_product_bundle_target and its dependencies.

NOTE: This field is highly experimental, do not set it unless you know exactly what you are doing.

Current value (from the default): false

From //build/images/args.gni:181

use_blink

Current value (from the default): false

From //build/config/features.gni:13

use_bringup_assembly

Is the assemble_system() instantiation used by the product the standard one or the bringup one?

Current value for target_cpu = "arm64": true

From //products/bringup.gni:26

Overridden from the default: false

From //build/product.gni:8

Current value for target_cpu = "x64": true

From //products/bringup.gni:26

Overridden from the default: false

From //build/product.gni:8

use_ccache

Set to true to enable compiling with ccache

Current value (from the default): false

From //build/toolchain/ccache.gni:9

use_dbus

Current value (from the default): false

From //build/config/features.gni:11

use_direct_for_carnelian_examples

Include a config in the example packages to attempt to use view mode direct.

Current value (from the default): false

From //src/lib/ui/carnelian/BUILD.gn:30

use_elf_kernel

Build an ELF kernel rather than a ZBI image kernel.

Current value (from the default): false

From //zircon/kernel/params.gni:144

use_gigaboot

Build the gigaboot bootloader.

Current value for target_cpu = "arm64": true

From //boards/arm64.gni:34

Overridden from the default: false

From //build/images/args.gni:27

Current value for target_cpu = "x64": true

From //boards/common/x64-common.gni:77

Overridden from the default: false

From //build/images/args.gni:27

use_gio

Current value (from the default): false

From //build/config/features.gni:12

use_goma

Set to true to enable distributed compilation using Goma. This has lower precedence than use_reclient_cxx in //build/toolchain/rbe.gni.

Current value for target_cpu = "arm64": false

From //out/not-default/args.gn:14

Overridden from the default: false

From //build/toolchain/goma.gni:13

Current value for target_cpu = "x64": false

From //out/not-default/args.gn:14

Overridden from the default: false

From //build/toolchain/goma.gni:13

use_llvm_libc_string_functions

NOTE: Experimental Use the llvm-libc implementations of string functions.

Current value (from the default): false

From //zircon/system/ulib/c/libc.gni:18

use_null_vulkan_on_host

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): true

From //src/lib/vulkan/build/config.gni:33

use_oz

Controls whether to use -Oz when optimize is set to "size".

Current value (from the default): false

From //build/config/compiler.gni:43

use_prebuilt_codec_runner_intel_gen

True if a prebuilt codec_runner_intel_gen package is used. If false, the codec_runner will be built from scratch (requires a checkout of the intel media-driver repo).

Current value (from the default): true

From //src/media/codec/codecs/vaapi/BUILD.gn:11

use_prebuilt_ffmpeg

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

TODO(https://fxbug.dev/42068172): This isn't currently working. Use the method below.

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 build/secondary/third_party/ffmpeg
git clone https://fuchsia.googlesource.com/third_party/ffmpeg build/secondary/third_party/ffmpeg
mkdir third_party/yasm
git clone https://fuchsia.googlesource.com/third_party/yasm third_party/yasm
mkdir third_party/ffmpeg/src
git clone https://chromium.googlesource.com/chromium/third_party/ffmpeg third_party/ffmpeg/src

Current value (from the default): true

From //src/media/lib/ffmpeg/BUILD.gn:33

use_spinel_for_carnelian_examples

Include a config in the example packages to attempt to use Spinel

Current value (from the default): false

From //src/lib/ui/carnelian/BUILD.gn:26

use_swiftshader_vulkan_icd_on_host

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:42

use_udev

Current value (from the default): false

From //build/config/features.gni:10

use_vbmeta

If true, then a vbmeta image will be generated for provided ZBI and the paving script will pave vbmeta images to the target device. LINT.IfChange

Current value for target_cpu = "arm64": true

From //boards/arm64.gni:35

Overridden from the default: false

From //build/images/vbmeta.gni:15

Current value for target_cpu = "x64": true

From //boards/common/x64-common.gni:66

Overridden from the default: false

From //build/images/vbmeta.gni:15

use_vboot

Use vboot images

Current value (from the default): false

From //build/images/args.gni:11

use_virtio_gpu_v2

Current value (from the default): false

From //src/graphics/display/drivers/virtio-guest/BUILD.gn:8

using_fuchsia_sdk

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

vbmeta_a_partition

Current value (from the default): ""

From //build/images/args.gni:109

vbmeta_b_partition

Current value (from the default): ""

From //build/images/args.gni:110

vbmeta_r_partition

Current value (from the default): ""

From //build/images/args.gni:111

vboot_keys

vboot signing key directory. Must contain kernel.keyblock and kernel_data_key.vbprivk. Defaults to the public ChromeOS test keys.

Current value (from the default): "//third_party/vboot_reference/tests/devkeys"

From //build/images/vboot/vboot.gni:16

vboot_verbose

If true, vboot() image builds print out the exact “futility” command line.

Current value (from the default): false

From //build/images/vboot/vboot.gni:12

verbose_image_assembly

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:170

vim3_mcu_fan_default_level

The default fan level used by the VIM3 MCU driver.

Valid values are between 0 (completely off) and 3 (full power).

Do not depend on this setting in checked-in code. This setting is intended to facilitate at-desk development, and will be replaced by a more robust configuration mechanism.

Current value (from the default): 1

From //src/devices/mcu/drivers/vim3-mcu/BUILD.gn:18

virtcon_boot_animation_path

Current value (from the default): "//src/bringup/bin/virtcon/data/boot-animation.riv"

From //src/bringup/bin/virtcon/virtcon_args.gni:8

virtmagma_debug

Enable verbose logging in virtmagma-related code

Current value (from the default): false

From //src/graphics/lib/magma/include/virtio/virtmagma_debug.gni:7

virtual_alloc_host_size_shift

Set the page size shift of the host. This is used when running the allocator in a host environment where page size constants may not exist. If this does not much the actual host page size then a run time error will occur.

Current value (from the default): 12

From //zircon/kernel/lib/virtual_alloc/BUILD.gn:13

virtual_device_name_prefix

TODO(https://fxbug.dev/42175904): move to board definitions. Adds a prefix to the start of the virtual device name. Used to distinguish between similar virtual device‘s using different configuration’s such as emu_window_size.

Current value (from the default): ""

From //build/product.gni:47

vm_tracing_level

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. 2 = Adds duration events related to accessed faults and page faults. 3 = Adds duration events for PMM allocations and frees.

Current value (from the default): 0

From //zircon/kernel/params.gni:90

vulkan_host_runtime_dir

|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:17

vulkan_sdk

Current value (from the default): ""

From //src/graphics/examples/vkproto/common/common.gni:48

wait_queue_depth_tracing_enabled

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:81

warn_on_sdk_changes

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:8

wayland_bridge_protocol_logging

Whether protocol logging should be enabled

Current value (from the default): false

From //src/ui/wayland/bin/bridge/BUILD.gn:12

wayland_server_fatal_object_lookup_failures

Enable this to make object lookup failures fatal for debugging.

Current value (from the default): false

From //src/lib/ui/wayland/server/BUILD.gn:12

weave_build_legacy_wdm

Tells openweave to support legacy WDM mode.

Current value (from the default): false

From //third_party/openweave-core/config.gni:29

weave_build_warm

Tells openweave to build WARM libraries.

Current value (from the default): true

From //third_party/openweave-core/config.gni:26

weave_system_config_use_sockets

Tells openweave components to use bsd-like sockets.

Current value (from the default): true

From //third_party/openweave-core/config.gni:7

weave_with_nlfaultinjection

Tells openweave components to support fault injection.

Current value (from the default): false

From //third_party/openweave-core/config.gni:20

weave_with_verhoeff

Tells openweave to support Verhoeff checksum.

Current value (from the default): true

From //third_party/openweave-core/config.gni:23

wlancfg_config_type

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:19

zedboot_additional_boot_args

List of arguments to populate /boot/config/additional_boot_args in the Zedboot image.

Current value (from the default): []

From //build/images/zedboot/zedboot_args.gni:7

zedboot_product_assembly_config_label

The product assembly config used to configure the Zedboot image.

Current value for target_cpu = "arm64": "//products/zedboot"

From //products/bringup.gni:42

Overridden from the default: false

From //build/product.gni:41

Current value for target_cpu = "x64": "//products/zedboot"

From //products/bringup.gni:42

Overridden from the default: false

From //build/product.gni:41

zircon_a_partition

Arguments to fx flash script (along with any firmware_prebuilts which specify a partition).

If (exactly one of) fvm_partition or fxfs_partition is provided, the flash script will flash the full OS, recovery + Zircon + FVM (or Fxfs) + 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:106

zircon_asserts

Current value (from the default): false

From //build/config/fuchsia/BUILD.gn:178

zircon_b_partition

Current value (from the default): ""

From //build/images/args.gni:107

zircon_kernel_disable_asserts

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_optimize

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”, or “profile”.

“Default” optimization offers a good balance of size and speed, as measured by size comparisons of release builds and extensive microbenchmarks. See: https://fuchsia-review.googlesource.com/c/fuchsia/+/600221/comments/3a4855ec_cf46619c

Current value (from the default): "default"

From //build/config/zircon/levels.gni:22

zircon_r_partition

Current value (from the default): ""

From //build/images/args.gni:108

zircon_toolchain

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:123

zircon_tracelog

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

zvb_partition_name

Partition name from where image will be verified

Current value (from the default): "zircon"

From //build/images/vbmeta.gni:26

zx_assert_level

Controls which asserts are enabled.

ZX_ASSERT is always enabled.

  • 0 disables standard C assert() and ZX_DEBUG_ASSERT.
  • 1 disables ZX_DEBUG_ASSERT. Standard C assert() remains enabled.
  • 2 enables all asserts.

Current value (from the default): 2

From //build/config/zircon/levels.gni:13

target_cpu = "arm64"

arm_use_neon

Whether to use the neon FPU instruction set or not. TODO(https://fxbug.dev/42168336): move this to boards.

Current value (from the default): true

From //build/config/arm.gni:9

disable_prebuilt_arm_mali_vulkan

Disable packaging a prebuilt ARM Mali Vulkan ICD. This can save space if a test ICD is being used instead.

Current value (from the default): false

From //src/graphics/drivers/arm-mali/icd/prebuilt_arm_mali.gni:8

target_cpu = "x64"

anv_enable_external_sync_fd

TODO(https://fxbug.dev/42146493) - remove once external sync FD extensions fully supported

Current value (from the default): false

From //third_party/mesa/src/intel/vulkan/BUILD.gn:29

anv_enable_raytracing

Current value (from the default): false

From //third_party/mesa/src/intel/vulkan/BUILD.gn:30

anv_use_max_ram

Give maximum possible memory to Vulkan heap

Current value (from the default): false

From //third_party/mesa/src/intel/vulkan/BUILD.gn:33

build_libvulkan_goldfish

Current value (from the default): "//third_party/android/device/generic/goldfish-opengl:libvulkan_goldfish"

From //src/graphics/lib/goldfish-vulkan/gnbuild/BUILD.gn:13