所有版本
acpica_debug_output
在 ACPI 库(由 ACPI 总线驱动程序使用)中启用调试输出。
当前值(来自默认值): false
来自 //zircon/system/ulib/acpica/acpica.gni:7
add_qemu_to_build_archives
是否在 build 归档中包含在 QEMU 中运行 Fuchsia 所需的映像。
当前值(来自默认值): false
additional_bazel_sdk_labels
要包含在 bazel_sdk_info API 模块中的额外 generate_fuchsia_bazel_sdk 目标。这样就可以在主代码库之外定义 bazel SDK。
当前值(来自默认值): []
additional_default_targets
平台构建者可以将目标添加到此列表中,以便使用 //:default 目标构建这些目标
当前值(来自默认值): []
additional_tefmocheck_labels
要包含在清单中的其他 tefmocheck 目标标签的列表。 默认值为空。
当前值(来自默认值): []
all_cpu_kernel_boot_tests
使 //zircon/kernel:boot_tests 为所有受支持的 CPU(而不仅仅是 $target_cpu)生成 phys 启动测试。
当前值(来自默认值): false
来自 //zircon/kernel/BUILD.gn:23
all_cpu_phys_boot_tests
使 //zircon/kernel/phys:boot_tests 为所有受支持的 CPU(而不仅仅是 $target_cpu)生成 phys 启动测试。
当前值(来自默认值): false
来自 //zircon/kernel/phys/BUILD.gn:25
all_font_file_paths
每个字体资源的文件路径列表。在 fonts.gni 中填充。
当前值(来自默认值): []
来自 //src/fonts/build/font_args.gni:35
all_toolchain_variants
切勿将这些参数设置为 build 参数。 它将在下方设置,并通过 toolchain_args 传递给其他工具链(请参阅 variant_toolchain.gni)。
当前值(来自默认值): []
来自 //build/config/BUILDCONFIG.gn:787
allowed_test_device_types
此 build 获准在其中运行测试的设备类型列表。如果设置了此选项,则只有这些设备类型会用于测试。
当前值(来自默认值): []
来自 //build/testing/device_types.gni:11
allowed_test_host_device_types
此 build 允许在其中运行测试的主机设备类型列表。如果设置,则只有这些主机设备类型会用于测试。
当前值(来自默认值): []
来自 //build/testing/device_types.gni:15
amlogic_decoder_firmware_path
amlogic 解码器固件文件的路径。替换 build 中的默认值。
当前值(来自默认值): ""
来自 //src/media/drivers/amlogic_decoder/BUILD.gn:13
arm_sdk_tools
如果为 true,则 SDK 中会包含 arm64 主机工具。
当前值(来自默认值): false
来自 //src/developer/ffx/plugins/emulator/emu_companion.gni:9
asan_default_options
默认 AddressSanitizer 选项(在运行时读取 ASAN_OPTIONS 环境变量之前)。这可以设置为 build 参数,以影响 $variants 中的大多数“asan”变体(请参阅相关内容),也可以在其中一个变体的 $toolchain_args 中替换。这可以是字符串列表,也可以是单个字符串。
请注意,即使此列表为空,此 build 中的程序也无法定义自己的 __asan_default_options C 函数。而是可以在其 deps 中使用 sanitizer_extra_options() 目标,然后以这种方式注入的任何选项都可以替换此列表中该选项的设置。
当前值(来自默认值): ["detect_stack_use_after_return=1", "quarantine_size_mb=32"]
来自 //build/config/sanitizers/sanitizer_default_options.gni:18
assembly_board_configs
平台构建者应在其 product.gni 文件中填充此列表。 结果将由 infra 构建并上传到 CIPD。
当前值(来自默认值): []
assembly_partitions_configs
平台构建者应在其 product.gni 文件中填充此列表。结果将由 infra 构建并上传到 CIPD。
当前值(来自默认值): []
assembly_product_configs
平台构建者应在其 product.gni 文件中填充此列表。 结果将由 infra 构建并上传到 CIPD。
当前值(来自默认值): []
avb_atx_metadata
将用于验证公钥的 AVB 元数据
target_cpu = "arm64" 的当前值: "//third_party/android/platform/external/avb/test/data/atx_metadata.bin"
已覆盖默认值: ""
来自 //build/images/vbmeta.gni:20
当前值(来自默认值): ""
来自 //build/images/vbmeta.gni:20
avb_key
用于为 VBMETA 和映像签名的密钥,以便进行 AVB
target_cpu = "arm64" 的当前值: "//third_party/android/platform/external/avb/test/data/testkey_atx_psk.pem"
已覆盖默认值: ""
来自 //build/images/vbmeta.gni:17
当前值(来自默认值): ""
来自 //build/images/vbmeta.gni:17
basic_env_names
要包含在“basic_envs”中的环境名称列表。
当前值(来自默认值): ["emu"]
来自 //build/testing/environments.gni:7
bazel_auto_refresh_compdb
在构建 bazel_actions 后自动刷新 compile_commands.json。
注意:启用此功能会使构建过程增加几秒钟的开销。
当前值(来自默认值): false
来自 //build/bazel/bazel_action.gni:15
bazel_execution_logs
如果为 true,则发出额外的执行日志,其中包含有关远程执行及其操作摘要、缓存状态、远程输入等的信息。
当前值(来自默认值): true
来自 //build/bazel/config/logging.gni:9
bazel_product_bundle_board
target_cpu = "arm64" 的当前值: "arm64"
已覆盖默认值: false
target_cpu = "riscv64" 的当前值: "riscv64"
已覆盖默认值: false
target_cpu = "x64" 的当前值: "x64"
已覆盖默认值: false
bazel_product_bundle_full
bazel_productbundle[full|root|prefix|board] 共同标识 GN 目标中的 bazel_product_bundle 目标,以便在 Bazel 组装中使用。实际使用的目标为:
${bazel_product_bundle_full}.${bazel_product_bundle_board}(如果定义了 ${bazel_product_bundle_full}),否则为 ${bazel_product_bundle_root}/${bazel_product_bundle_prefix}.${bazel_product_bundle_board}。
注意:bazel_product_bundle_prefix 应包含目标的完全限定路径前缀。设置这两个参数是启用 Bazel 组装的前提条件。
例如,假设:
bazel_product_bundle_root = "//" bazel_product_bundle_prefix = "build/bazel/assembly:minimal" bazel_product_bundle_board = "x64"
用于 Bazel 组装的实际 bazel_product_bundle 为:
//build/bazel/assembly:minimal.x64
当前值(来自默认值): false
bazel_product_bundle_prefix
target_cpu = "arm64" 的当前值: "//products/core:product_bundle"
已覆盖默认值: false
target_cpu = "riscv64" 的当前值: "//products/minimal:product_bundle"
已覆盖默认值: false
target_cpu = "x64" 的当前值: "//products/core:product_bundle"
已覆盖默认值: false
bazel_product_bundle_root
当前值(来自默认值): "//"
bazel_rbe_download_outputs
控制下载哪些 bazel 远程构建的输出。 请参阅 https://bazel.build/reference/command-line-reference#flag--remote_download_outputs 有效选项:all、minimal、toplevel(自 Bazel 7.1 起为默认选项) - “toplevel”和“minimal”可以节省大量下载带宽 - “all”有助于调试远程构建问题
当前值(来自默认值): "toplevel"
来自 //build/bazel/remote_services.gni:32
bazel_rbe_exec_strategy
当 Bazel 配置为使用 RBE 时,此选项控制所使用的执行策略。
支持的选项: “remote”:缓存未命中时,远程构建(默认) “local”:缓存未命中时,本地构建 “nocache”:强制执行,就像缓存未命中一样。
当前值(来自默认值): "remote"
来自 //build/bazel/remote_services.gni:25
blobfs_page_in_metrics_recording
在配置 gn args 时,请将此项设置为 true,以启用 blobfs 调入指标记录。这还会将 blobfs 的检查 VMO 大小增加到 2 MiB,以容纳大量指标条目。
当前值(来自默认值): false
来自 //src/storage/blobfs/BUILD.gn:12
board_configuration_label
要与 Product Assembly 搭配使用的板配置目标的标签
target_cpu = "arm64" 的当前值: "//boards/arm64"
已覆盖默认值: false
target_cpu = "riscv64" 的当前值: "//boards/riscv64"
已覆盖默认值: false
target_cpu = "x64" 的当前值: "//boards/x64"
已覆盖默认值: false
board_description
与主板名称对应的人类可读主板说明。
target_cpu = "arm64" 的当前值: "A generic emulated arm64 device."
已覆盖默认值: ""
target_cpu = "riscv64" 的当前值: "A generic emulated riscv64 device."
已覆盖默认值: ""
target_cpu = "x64" 的当前值: "A generic x64 device"
已覆盖默认值: ""
board_is_emu
开发板是否支持模拟器设备。 这用于确定产品 bundle 元数据是应生成虚拟设备规格,还是同时生成虚拟设备规格和物理设备规格。
target_cpu = "arm64" 的当前值: true
已覆盖默认值: false
target_cpu = "riscv64" 的当前值: true
已覆盖默认值: false
target_cpu = "x64" 的当前值: true
已覆盖默认值: false
board_name
用于铺装和琥珀色更新的主板名称。
target_cpu = "arm64" 的当前值: "arm64"
已覆盖默认值: ""
target_cpu = "riscv64" 的当前值: "riscv64"
已覆盖默认值: ""
target_cpu = "x64" 的当前值: "x64"
已覆盖默认值: ""
board_tools
要包含在 build 输出中的开发板专用工具的路径列表。
大多数开发者工具只需在树内使用,无需包含在此处。此 arg 仅适用于可能需要与 build 文件一起分发的工具,例如用于从 SoC 恢复模式刷写的工具。
以这种方式包含的资源仅会尽力包含,不会为归档用户形成任何类型的稳定协定。
当前值(来自默认值): []
build_all_vp9_file_decoder_conformance_tests
当前值(来自默认值): false
来自 //src/media/codec/examples/BUILD.gn:11
build_id_format
用于 Fuchsia 目标代码的 build ID 算法。这不适用于主机或客户机代码。该值是链接器的 --build-id=... 开关的实参。如果留空(默认),则使用链接器的默认格式。
当前值(来自默认值): ""
来自 //build/config/build_id.gni:10
build_info_board
当前 build 的板配置
target_cpu = "arm64" 的当前值: "arm64"
来自 //out/not-default/args.gn:8
已覆盖默认值: "arm64"
target_cpu = "riscv64" 的当前值: "riscv64"
来自 //out/not-default/args.gn:8
已覆盖默认值: "riscv64"
target_cpu = "x64" 的当前值: "x64"
来自 //out/not-default/args.gn:8
已覆盖默认值: "x64"
build_info_product
LINT.IfChange 当前 build 的产品配置
target_cpu = "arm64" 的当前值: "core"
来自 //out/not-default/args.gn:9
已覆盖默认值: ""
target_cpu = "riscv64" 的当前值: "minimal"
来自 //out/not-default/args.gn:9
已覆盖默认值: ""
target_cpu = "x64" 的当前值: "core"
来自 //out/not-default/args.gn:9
已覆盖默认值: ""
build_info_version
当前 build 的逻辑版本。如果未设置,则默认为最近一次更新的时间戳。
当前值(来自默认值): ""
build_only_labels
这些标签通过“//:build_only”以传递方式添加为“//:default”的依赖项。这些变量用于添加需要构建但不属于任何产品、开发板等的目标。
对于只想构建和定义树的一小部分子集的子 build,这些目标也可作为“//:default”的替代方案。
target_cpu = "arm64" 的当前值: []
来自 //out/not-default/args.gn:13
已覆盖默认值: []
target_cpu = "riscv64" 的当前值: []
来自 //out/not-default/args.gn:13
已覆盖默认值: []
target_cpu = "x64" 的当前值: []
来自 //out/not-default/args.gn:13
已覆盖默认值: []
build_should_trace_actions
如果启用,系统将跟踪操作的所有文件系统活动,并根据其声明的输入和输出以及 depfile(如果存在)进行检查。 访问未声明的输入或输出的操作会导致构建失败。
当前值(来自默认值): false
来自 //build/tracer/tracer.gni:12
call_graph_section
是否在输出文件中发出调用图部分 https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fexperimental-call-graph-section
当前值(来自默认值): true
来自 //build/config/clang/call_graph_section.gni:8
camera_debug
当前值(来自默认值): false
camera_gym_configuration_cycle_interval_ms
当前值(来自默认值): 10000
来自 //src/camera/bin/camera-gym/BUILD.gn:13
carnelian_static_images_extras
将此项指向要作为额外内容包含的外部图片文件的位置
当前值(来自默认值): []
来自 //src/lib/ui/carnelian/BUILD.gn:12
carnelian_static_rives_extras
将此项指向要作为额外内容包含的外部 Rive 文件的位置
当前值(来自默认值): []
来自 //src/lib/ui/carnelian/BUILD.gn:15
carnelian_static_txts_extras
将此项指向要作为额外内容包含的外部 txt 文件的位置
当前值(来自默认值): []
来自 //src/lib/ui/carnelian/BUILD.gn:18
channel_message_body_tracing_enabled
在 IPC 跟踪记录中包含部分通道消息正文。# 这是一项本地调试功能,不适用于生产环境。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:124
check_output_dir_leaks
如果已启用,请检查输出目录路径是否未泄露到命令或其任何输出文件中。这对于远程构建一致性和缓存非常重要。
当前值(来自默认值): true
来自 //build/tracer/tracer.gni:21
check_repeatability
如果启用,则运行每个受影响的操作两次(一次使用重命名的输出),并比较输出的内容以确保可重现性。
当前值(来自默认值): false
来自 //build/tracer/tracer.gni:16
check_vtables_in_rodata
检查 binaries.json 中列出的 Fuchsia 二进制文件中的所有 vtable 是否都位于只读数据部分。此检查将在完整 build 结束时运行。
这主要供 clang canary 构建器使用。
当前值(来自默认值): false
chromium_build_dir
此变量指定一个完全限定的 Chromium build 输出目录(例如 /home/$USER/chrome/src/out/fuchsia),系统将从该目录中获取 web_engine。
所有这些目标都必须存在于输出目录中。
如果未设置,系统将使用 CIPD 中的预构建软件包。
当前值(来自默认值): ""
来自 //src/chromium/build_args.gni:11
cipd_assembly_artifact_targets
仅针对 GN 元数据由 //:cipd_assembly_artifacts 遍历的目标。 这些目标应在元数据中设置“assembly_inputs”,其中可以包含一个 JSON 文件,用于描述要上传到 CPID 的工件。
注意:这些目标仅适用于 GN 元数据遍历。如果需要构建工件,则应通过其他方式将其包含在构建图中。
当前值(来自默认值): ["//build/images:main_assembly"]
clang_embed_bitcode
在 ELF 文件中将 LLVM 位码嵌入为 .llvmbc 部分。这主要适用于使用 bitcode 进行分析的外部工具。
当前值(来自默认值): false
来自 //build/config/clang/clang.gni:12
clang_enable_error_reproducers
启用错误重现器。除了崩溃之外,这还会在编译器错误时提供类似崩溃的重现器。 请注意,目前应该很少有人使用此标志,因为它依赖于预构建 clang 中尚不具备的功能。 它仅适用于 clang canary 构建器和使用自定义 clang 的用户。
当前值(来自默认值): false
来自 //build/config/clang/clang.gni:20
clang_ml_inliner
控制是否在 Clang 中使用机器学习内联器来缩减大小。
当前值(来自默认值): true
来自 //build/config/clang/clang.gni:23
clang_prefix
预构建提供的默认 clang 工具链。Go 工具链也会使用此变量。 LINT.IfChange
当前值(来自默认值): "//prebuilt/third_party/clang/linux-x64/bin"
来自 //build/config/clang/clang_prefix.gni:11
clang_tool_dir
Clang 工具链二进制文件(“clang”“llvm-nm”等)所在的目录。如果此值为“”,则行为取决于 $clang_prefix。 此工具链应同时支持 Fuchsia 目标和主机。
当前值(来自默认值): ""
来自 //build/toolchain/zircon/clang.gni:11
clang_toolchain_info
一个包含当前 Clang 工具链相关信息的作用域。 切勿将其设置为 build 参数。
当前值(来自默认值):
{
aarch64_unknown_fuchsia = {
libclang_rt_profile_a = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.profile.a"
libunwind_so = "lib/aarch64-unknown-fuchsia/libunwind.so.1.0"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.lsan.a"
clang_rt_cxx = ""
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
aarch64_unknown_linux_gnu = {
libclang_rt_profile_a = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
armv7_unknown_linux_gnueabihf = {
libclang_rt_profile_a = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.hwasan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.hwasan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
fallback = {
libclang_rt_profile_a = ""
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = { }
}
riscv64_unknown_fuchsia = {
libclang_rt_profile_a = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.profile.a"
libunwind_so = "lib/riscv64-unknown-fuchsia/libunwind.so.1.0"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
riscv64_unknown_linux_gnu = {
libclang_rt_profile_a = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
runtimes = [{
cflags = []
ldflags = []
runtime = [{
breakpad = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.sym"
debug = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.debug"
dist = "aarch64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.sym"
debug = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.debug"
dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.sym"
debug = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.debug"
dist = "aarch64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.sym"
debug = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.sym"
debug = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.sym"
debug = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.sym"
debug = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.debug"
dist = "aarch64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.sym"
debug = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.sym"
debug = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.debug"
dist = "aarch64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.sym"
debug = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.debug"
dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.sym"
debug = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.debug"
dist = "aarch64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.sym"
debug = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
breakpad = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.sym"
debug = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.sym"
debug = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.sym"
debug = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = []
ldflags = ["-static-libstdc++"]
runtime = []
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.sym"
debug = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.sym"
debug = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.sym"
debug = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.sym"
debug = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.debug"
dist = "aarch64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.sym"
debug = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.sym"
debug = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.debug"
dist = "aarch64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.sym"
debug = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.debug"
dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.sym"
debug = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.debug"
dist = "aarch64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.sym"
debug = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
breakpad = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.sym"
debug = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.sym"
debug = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.sym"
debug = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = []
ldflags = []
runtime = [{
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/d4/543e0d613d29fb6da69d24094d68c6af75a939.debug"
dist = "riscv64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = []
runtime = [{
debug = "debug/.build-id/52/6f9b59180aaf3d092b4441b145ff1408d81329.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
debug = "debug/.build-id/a4/6eb67351f1301859cd64dda4b62f1e61d91b0d.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/d1/5ee3f465371e696c6f82f7c1339a9797806126.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/a5/fef44be170726f450f137b629d8d78b397baef.debug"
dist = "riscv64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = []
runtime = [{
debug = "debug/.build-id/18/893fd84153684436cc423817d9f008da2f6382.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/d4/543e0d613d29fb6da69d24094d68c6af75a939.debug"
dist = "riscv64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = []
runtime = [{
debug = "debug/.build-id/c9/02badf5cfc0d6b0f3c3002d35f4c5248d2d59c.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/95/14b1660e3b2170310031d84f705eb72a9548cc.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = []
ldflags = ["-static-libstdc++"]
runtime = []
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = ["-static-libstdc++"]
runtime = [{
debug = "debug/.build-id/52/6f9b59180aaf3d092b4441b145ff1408d81329.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
debug = "debug/.build-id/a4/6eb67351f1301859cd64dda4b62f1e61d91b0d.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/d1/5ee3f465371e696c6f82f7c1339a9797806126.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/a5/fef44be170726f450f137b629d8d78b397baef.debug"
dist = "riscv64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = ["-static-libstdc++"]
runtime = [{
debug = "debug/.build-id/18/893fd84153684436cc423817d9f008da2f6382.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/d4/543e0d613d29fb6da69d24094d68c6af75a939.debug"
dist = "riscv64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = ["-static-libstdc++"]
runtime = [{
debug = "debug/.build-id/c9/02badf5cfc0d6b0f3c3002d35f4c5248d2d59c.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/95/14b1660e3b2170310031d84f705eb72a9548cc.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = []
ldflags = []
runtime = [{
breakpad = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.sym"
debug = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.debug"
dist = "x86_64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.sym"
debug = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.debug"
dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.sym"
debug = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.debug"
dist = "x86_64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.sym"
debug = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.sym"
debug = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.sym"
debug = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.sym"
debug = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.debug"
dist = "x86_64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.sym"
debug = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.sym"
debug = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.debug"
dist = "x86_64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.sym"
debug = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.debug"
dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.sym"
debug = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.debug"
dist = "x86_64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = []
ldflags = ["-static-libstdc++"]
runtime = []
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.sym"
debug = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.sym"
debug = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.sym"
debug = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.sym"
debug = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.debug"
dist = "x86_64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.sym"
debug = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.sym"
debug = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.debug"
dist = "x86_64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.sym"
debug = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.debug"
dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.sym"
debug = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.debug"
dist = "x86_64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}]
x86_64_pc_windows_msvc = {
libclang_rt_profile_a = "../../../../out/not-default/libclang_rt.profile.lib"
libunwind_so = "../../../../out/not-default/libunwind.dll"
resource_dir = "lib/clang/24"
variants = { }
}
x86_64_unknown_fuchsia = {
libclang_rt_profile_a = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.profile.a"
libunwind_so = "lib/x86_64-unknown-fuchsia/libunwind.so.1.0"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
x86_64_unknown_linux_gnu = {
libclang_rt_profile_a = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
}
来自 //build/config/clang/clang_toolchain_info.gni:42
clippy_cause_failure
在发现任何“deny”lint 时,使 clippy 目标无法构建
当前值(来自默认值): true
clippy_force_warn_all
强制将所有 clippy lint 的 lint 级别设为“warn”。 注意:这会覆盖源代码属性和我们的默认 lint 级别,并且只能用于收集源代码树中 clippy lint 的相关统计信息。
当前值(来自默认值): false
clippy_ignore_rustc
默认情况下,构建 clippy 目标会输出 lint 以及通过检查构建 crate 发出的任何 rustc 诊断信息。此标志会使 build 中的输出仅包含 lint,以避免重复 rustc 的诊断(在构建实际目标时会发出)。请注意,fx clippy 仍会发出 rustc 诊断信息以及 clippy lint,只是不会显示在 ninja 的 stderr 中
当前值(来自默认值): false
来自 //build/rust/config.gni:102
clippy_warn_all
将所有 clippy lint 的 lint 级别设置为“warn”。 注意:在源代码中设置 lint 级别优先于此设置。
当前值(来自默认值): false
cobalt_environment
选择要将数据发送到的 Cobalt 环境。选项: “LOCAL”- 将日志数据记录到本地文件中 “DEVEL”- 用于测试的非生产环境 “PROD”- 生产环境 false - 使用程序集提供的默认环境
当前值(来自默认值): false
来自 //src/cobalt/bin/app/BUILD.gn:16
comparison_diagnostics_dir
当任何 {Rust,C++} {determinism,consistency} 检查失败时,将工件的差异对复制到此目录,以便从基础架构 build 中导出,并在稍后进行检查。
当前值(来自默认值): "//out/not-default/comparison-reports"
来自 //build/toolchain/rbe.gni:229
compilation_mode
要使用的整体编译模式。有效值包括:
* debug:适用于启用了调试功能的 build。
* balanced:进行一些优化,但优先考虑编译速度,而不是运行时性能。
* release:所有优化,用于正式版发布。* sanitizer:适用于经过排错程序插桩的 build。
LINT.IfChange
target_cpu = "arm64" 的当前值: "release"
来自 //out/not-default/args.gn:5
已覆盖默认值: "balanced"
来自 //build/config/compilation_modes.gni:20
target_cpu = "riscv64" 的当前值: "release"
来自 //out/not-default/args.gn:5
已覆盖默认值: "balanced"
来自 //build/config/compilation_modes.gni:20
target_cpu = "x64" 的当前值: "release"
来自 //out/not-default/args.gn:5
已覆盖默认值: "balanced"
来自 //build/config/compilation_modes.gni:20
compilation_settings_overrides
编译模式的已替换设置。这是一组变量的替换值,这些变量的默认值由所选的编译模式(见上文)设置。
* optimize:要使用的优化模式。有效值包括:
* none:完全未优化,通常仅经过构建测试,未运行
* debug:“针对调试进行了优化”,足够轻量,可避免混淆
* moderate:中等优化级别(clang 的默认 -O2)
* size:针对空间而非纯粹针对速度进行了优化
* size_thinlto:针对空间进行了优化,并使用 Thin LTO
* size_lto:针对空间进行了优化,并使用 LTO
* speed:纯粹针对速度进行了优化
* sanitizer:针对排错程序(ASan 等)进行了优化
* profile:针对覆盖率/配置文件数据收集进行了优化
* coverage:针对覆盖率数据收集进行了优化
当前值(来自默认值): { }
来自 //build/config/compilation_modes.gni:39
compress_debuginfo
LINT.IfChange(compress_debuginfo) 启用调试部分压缩。
当前值(来自默认值): "zstd"
来自 //build/config/compiler.gni:129
config_example_cpp_greeting
在 args.gn 中设置此项,以替换此示例发出的问候语。
当前值(来自默认值): "World"
来自 //examples/components/config/cpp/BUILD.gn:10
config_example_rust_greeting
在 args.gn 中设置此项,以替换此示例发出的问候语。
当前值(来自默认值): "World"
来自 //examples/components/config/rust/BUILD.gn:11
config_have_heap
告知 openweave 包含需要堆访问权限的文件。
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:32
console_enable_history
控制 Zircon 内核控制台是否在命令历史记录存储和 shell 导航功能中进行编译。默认值为 true,但可以针对每个 build 停用。
当前值(来自默认值): true
来自 //zircon/kernel/lib/console/config.gni:11
crash_diagnostics_dir
Clang 崩溃报告目录路径。使用空路径可完全停用。
当前值(来自默认值): "//out/not-default/clang-crashreports"
来自 //build/config/clang/crash_diagnostics.gni:7
crashpad_dependencies
当前值(来自默认值): "fuchsia"
来自 //third_party/crashpad/src/build/crashpad_buildconfig.gni:22
crashpad_http_transport_impl
当前值(来自默认值): "socket"
来自 //third_party/crashpad/src/util/net/tls.gni:19
crashpad_use_boringssl_for_http_transport_socket
当前值(来自默认值): true
来自 //third_party/crashpad/src/util/net/tls.gni:30
ctf_api_level
当前值(来自默认值): "NEXT"
来自 //sdk/ctf/build/ctf_api_level.gni:6
ctf_output_directory
当前值(来自默认值): "frozen-ctf-artifacts-subbuild"
来自 //sdk/ctf/build/ctf_output_directory.gni:6
current_build_target_api_level
当前 build 或子 build 的目标 API 级别。
默认值为“PLATFORM”,对应于主平台 build。
其他有效值为“NEXT”“HEAD”或一个字符串,该字符串是与当前受支持(未停用)的 API 级别对应的正整数的十进制表示。
只有 IDK 子 build 才能将其设置为“PLATFORM”以外的值,这些子 build 会配置一个窄 GN 图。请参阅 //sdk/working_with_subbuilds.md。 如果此变量设置为非默认值,则该图之外的目标可能会失败。
为 IDK 生成工件的模板会使用该实参。不建议其他用途(包括由各个目标定义使用),并且 IDK atom 目标定义不得使用此 GN 参数。如需了解详情,请参阅 https://fxbug.dev/448185526。
当前值(来自默认值): "PLATFORM"
来自 //build/config/fuchsia/target_api_level.gni:22
current_cpu
当前值(来自默认值): ""
current_os
当前值(来自默认值): ""
custom_vulkan_loader_library_name
当前值(来自默认值): ""
来自 //third_party/Vulkan-Loader/src/BUILD.gn:20
cxx_rbe_check
运行一项更昂贵的检查,适用于 CI。 所有这些都需要 cxx_rbe_enable=true。
以下权限之一:
“none”:不进行额外检查。
"determinism": 通过在本地运行两次并比较输出来检查 C++ 目标的确定性,如果发现任何差异,则失败。 即使此检查不涉及 RBE,它也会使用相同的封装容器脚本,该脚本知道要预期和比较哪些输出文件。
不建议使用依赖于时间的构建输出,因为它们会影响缓存。已知的不良预处理宏包括 DATE 和 TIME。
“一致性”: 通过运行本地和远程 C++ 编译并比较结果,检查两者之间的一致性。
当前值(来自默认值): "none"
来自 //build/toolchain/rbe.gni:214
cxx_rbe_download_obj_files
控制是否下载中间 .o 文件。 停用下载功能后,构建会生成桩,这些桩可用于稍后使用 build/rbe/dlwrap.py 检索远程工件。 TODO(b/284994230): This option is only available to developers, and not restricted environments that lack direct network access.
当前值(来自默认值): true
来自 //build/toolchain/rbe.gni:236
cxx_rbe_enable
设置为 true 可使用 RBE 启用 C++ 的分布式编译。 远程执行可提高构建并行性和缓存。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:164
cxx_rbe_exec_strategy
以下权限之一:
"remote":在缓存未命中时远程执行操作。远程缓存始终会使用此结果进行更新。
"local":在远程缓存中查找操作,但在缓存未命中时在本地执行操作。本地生成的结果不会上传到远程缓存。
"remote_local_fallback":首先远程执行操作。 如果失败,请改为在本地运行。本地生成的结果不会上传到远程缓存。
“racing”:本地执行与远程执行竞速,以先完成者为准。
“nocache”:强制执行远程执行,而不使用缓存的结果。 这对于对缓存未命中场景进行基准测试非常有用。
(还有其他未公开的 rewrapper 选项。)
当前值(来自默认值): "remote_local_fallback"
来自 //build/toolchain/rbe.gni:190
cxx_rbe_full_toolchain
reclient 拥有决定远程编译需要哪些输入的逻辑,但在某些情况下,它可能会落后于上游工具链开发。 此选项会强制将整个工具链目录作为输入包含在内,这通常可以保证正常运行,因为它不假设工具链的工作方式,但会产生性能开销。 此方法主要用于调试和作为紧急权宜解决方法。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:224
cxx_rbe_minimalist_wrapper
设置为 true 可使用快速、极简的封装容器,该封装容器缺少基于 Python 的封装容器的功能,并且接近于对 rewrapper 的裸调用。
仅当 cxx_rbe_enable 为 true 时,此标志才有意义。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:169
data_filesystem_format
设置为“minfs”“fxfs”“f2fs”之一。 如果设置为“minfs”以外的任何值,则当 fshost 装载任何现有 minfs 分区时,该分区都会就地迁移到指定格式。
当前值(来自默认值): "fxfs"
来自 //src/storage/fshost/generated_fshost_config.gni:12
debuginfo
none表示没有调试信息backtrace表示有足够的调试信息来符号化回溯debug表示适合调试的调试信息
当前值(来自默认值): "debug"
来自 //build/config/compiler.gni:88
default_configs
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:34
default_public_deps
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:35
default_test_durations_file
一个文件,其中包含所有 build 配置的默认历史测试时长数据,用作 test_durations_file 中缺失的单个测试的后备。
当前值(来自默认值): ""
delivery_blob_type
控制 pkg-resolver 提取和 blobfs 接受的传送 blob 类型。 支持的类型可在 //src/storage/blobfs/delivery_blob.h 中找到 有效值为整数,例如:1 此实参仅供本地开发者使用,产品不应设置此实参。
当前值(来自默认值): 1
deny_warnings
控制是否将警告升级为错误。
当前值(来自默认值): true
developer_test_labels
一个仅限开发者使用的参数,用于将测试添加到 build 中,而无需通过上述测试集所经历的测试类型验证。 这些始终是主产品组件的依赖项。
当前值(来自默认值): []
dir_docker
当前值(来自默认值): "//third_party/pigweed/src/docker"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:30
dir_pigweed
Pigweed 代码库的位置。
当前值(来自默认值): "//third_party/pigweed/src"
来自 //build_overrides/pigweed.gni:11
dir_pw_alignment
当前值(来自默认值): "//third_party/pigweed/src/pw_alignment"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:31
dir_pw_allocator
当前值(来自默认值): "//third_party/pigweed/src/pw_allocator"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:32
dir_pw_allocator_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_allocator_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:33
dir_pw_analog
当前值(来自默认值): "//third_party/pigweed/src/pw_analog"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:34
dir_pw_android_toolchain
当前值(来自默认值): "//third_party/pigweed/src/pw_android_toolchain"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:35
dir_pw_arduino_build
当前值(来自默认值): "//third_party/pigweed/src/pw_arduino_build"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:36
dir_pw_assert
当前值(来自默认值): "//third_party/pigweed/src/pw_assert"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:37
dir_pw_assert_basic
当前值(来自默认值): "//third_party/pigweed/src/pw_assert_basic"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:38
dir_pw_assert_fuchsia
当前值(来自默认值): "//third_party/pigweed/src/pw_assert_fuchsia"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:39
dir_pw_assert_log
当前值(来自默认值): "//third_party/pigweed/src/pw_assert_log"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:40
dir_pw_assert_tokenized
当前值(来自默认值): "//third_party/pigweed/src/pw_assert_tokenized"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:41
dir_pw_assert_trap
当前值(来自默认值): "//third_party/pigweed/src/pw_assert_trap"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:42
dir_pw_assert_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_assert_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:43
dir_pw_async
当前值(来自默认值): "//third_party/pigweed/src/pw_async"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:44
dir_pw_async2
当前值(来自默认值): "//third_party/pigweed/src/pw_async2"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:45
dir_pw_async_basic
当前值(来自默认值): "//third_party/pigweed/src/pw_async_basic"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:46
dir_pw_async_fuchsia
当前值(来自默认值): "//third_party/pigweed/src/pw_async_fuchsia"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:47
dir_pw_atomic
当前值(来自默认值): "//third_party/pigweed/src/pw_atomic"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:48
dir_pw_base64
当前值(来自默认值): "//third_party/pigweed/src/pw_base64"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:49
dir_pw_bloat
当前值(来自默认值): "//third_party/pigweed/src/pw_bloat"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:50
dir_pw_blob_store
当前值(来自默认值): "//third_party/pigweed/src/pw_blob_store"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:51
dir_pw_bluetooth
当前值(来自默认值): "//third_party/pigweed/src/pw_bluetooth"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:52
dir_pw_bluetooth_hci
当前值(来自默认值): "//third_party/pigweed/src/pw_bluetooth_hci"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:53
dir_pw_bluetooth_profiles
当前值(来自默认值): "//third_party/pigweed/src/pw_bluetooth_profiles"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:55
dir_pw_bluetooth_proxy
当前值(来自默认值): "//third_party/pigweed/src/pw_bluetooth_proxy"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:56
dir_pw_bluetooth_sapphire
当前值(来自默认值): "//third_party/pigweed/src/pw_bluetooth_sapphire"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:58
dir_pw_boot
当前值(来自默认值): "//third_party/pigweed/src/pw_boot"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:59
dir_pw_boot_cortex_m
当前值(来自默认值): "//third_party/pigweed/src/pw_boot_cortex_m"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:60
dir_pw_buf
当前值(来自默认值): "//third_party/pigweed/src/pw_buf"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:61
dir_pw_build
当前值(来自默认值): "//third_party/pigweed/src/pw_build"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:62
dir_pw_build_android
当前值(来自默认值): "//third_party/pigweed/src/pw_build_android"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:63
dir_pw_build_info
当前值(来自默认值): "//third_party/pigweed/src/pw_build_info"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:64
dir_pw_build_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_build_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:65
dir_pw_bytes
当前值(来自默认值): "//third_party/pigweed/src/pw_bytes"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:66
dir_pw_change
当前值(来自默认值): "//third_party/pigweed/src/pw_change"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:67
dir_pw_channel
当前值(来自默认值): "//third_party/pigweed/src/pw_channel"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:68
dir_pw_checksum
当前值(来自默认值): "//third_party/pigweed/src/pw_checksum"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:69
dir_pw_chre
当前值(来自默认值): "//third_party/pigweed/src/pw_chre"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:70
dir_pw_chrono
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:71
dir_pw_chrono_embos
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono_embos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:72
dir_pw_chrono_freertos
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono_freertos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:73
dir_pw_chrono_rp2040
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono_rp2040"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:74
dir_pw_chrono_stl
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono_stl"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:75
dir_pw_chrono_threadx
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono_threadx"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:76
dir_pw_chrono_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_chrono_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:77
dir_pw_cli
当前值(来自默认值): "//third_party/pigweed/src/pw_cli"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:78
dir_pw_cli_analytics
当前值(来自默认值): "//third_party/pigweed/src/pw_cli_analytics"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:79
dir_pw_clock_tree
当前值(来自默认值): "//third_party/pigweed/src/pw_clock_tree"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:80
dir_pw_clock_tree_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_clock_tree_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:82
dir_pw_compilation_testing
当前值(来自默认值): "//third_party/pigweed/src/pw_compilation_testing"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:84
dir_pw_config_loader
当前值(来自默认值): "//third_party/pigweed/src/pw_config_loader"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:85
dir_pw_console
当前值(来自默认值): "//third_party/pigweed/src/pw_console"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:86
dir_pw_containers
当前值(来自默认值): "//third_party/pigweed/src/pw_containers"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:87
dir_pw_cpu_exception
当前值(来自默认值): "//third_party/pigweed/src/pw_cpu_exception"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:88
dir_pw_cpu_exception_cortex_m
当前值(来自默认值): "//third_party/pigweed/src/pw_cpu_exception_cortex_m"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:90
dir_pw_cpu_exception_risc_v
当前值(来自默认值): "//third_party/pigweed/src/pw_cpu_exception_risc_v"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:92
dir_pw_crypto
当前值(来自默认值): "//third_party/pigweed/src/pw_crypto"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:93
dir_pw_digital_io
当前值(来自默认值): "//third_party/pigweed/src/pw_digital_io"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:94
dir_pw_digital_io_linux
当前值(来自默认值): "//third_party/pigweed/src/pw_digital_io_linux"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:95
dir_pw_digital_io_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_digital_io_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:97
dir_pw_digital_io_rp2040
当前值(来自默认值): "//third_party/pigweed/src/pw_digital_io_rp2040"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:98
dir_pw_digital_io_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_digital_io_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:99
dir_pw_display
当前值(来自默认值): "//third_party/pigweed/src/pw_display"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:100
dir_pw_dma_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_dma_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:101
dir_pw_docgen
当前值(来自默认值): "//third_party/pigweed/src/pw_docgen"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:102
dir_pw_doctor
当前值(来自默认值): "//third_party/pigweed/src/pw_doctor"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:103
dir_pw_elf
当前值(来自默认值): "//third_party/pigweed/src/pw_elf"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:104
dir_pw_emu
当前值(来自默认值): "//third_party/pigweed/src/pw_emu"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:105
dir_pw_enum
当前值(来自默认值): "//third_party/pigweed/src/pw_enum"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:106
dir_pw_env_setup
当前值(来自默认值): "//third_party/pigweed/src/pw_env_setup"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:107
dir_pw_env_setup_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_env_setup_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:108
dir_pw_file
当前值(来自默认值): "//third_party/pigweed/src/pw_file"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:109
dir_pw_flatbuffers
当前值(来自默认值): "//third_party/pigweed/src/pw_flatbuffers"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:110
dir_pw_format
当前值(来自默认值): "//third_party/pigweed/src/pw_format"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:111
dir_pw_fortifier
当前值(来自默认值): "//third_party/pigweed/src/pw_fortifier"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:112
dir_pw_function
当前值(来自默认值): "//third_party/pigweed/src/pw_function"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:113
dir_pw_fuzzer
当前值(来自默认值): "//third_party/pigweed/src/pw_fuzzer"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:114
dir_pw_ghish
当前值(来自默认值): "//third_party/pigweed/src/pw_ghish"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:115
dir_pw_grpc
当前值(来自默认值): "//third_party/pigweed/src/pw_grpc"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:116
dir_pw_hal
当前值(来自默认值): "//third_party/pigweed/src/pw_hal"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:117
dir_pw_hdlc
当前值(来自默认值): "//third_party/pigweed/src/pw_hdlc"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:118
dir_pw_hex_dump
当前值(来自默认值): "//third_party/pigweed/src/pw_hex_dump"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:119
dir_pw_hil
当前值(来自默认值): "//third_party/pigweed/src/pw_hil"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:120
dir_pw_i2c
当前值(来自默认值): "//third_party/pigweed/src/pw_i2c"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:121
dir_pw_i2c_linux
当前值(来自默认值): "//third_party/pigweed/src/pw_i2c_linux"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:122
dir_pw_i2c_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_i2c_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:123
dir_pw_i2c_rp2040
当前值(来自默认值): "//third_party/pigweed/src/pw_i2c_rp2040"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:124
dir_pw_i2c_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_i2c_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:125
dir_pw_ide
当前值(来自默认值): "//third_party/pigweed/src/pw_ide"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:126
dir_pw_interrupt
当前值(来自默认值): "//third_party/pigweed/src/pw_interrupt"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:127
dir_pw_interrupt_cortex_m
当前值(来自默认值): "//third_party/pigweed/src/pw_interrupt_cortex_m"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:129
dir_pw_interrupt_freertos
当前值(来自默认值): "//third_party/pigweed/src/pw_interrupt_freertos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:131
dir_pw_interrupt_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_interrupt_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:132
dir_pw_intrusive_ptr
当前值(来自默认值): "//third_party/pigweed/src/pw_intrusive_ptr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:133
dir_pw_json
当前值(来自默认值): "//third_party/pigweed/src/pw_json"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:134
dir_pw_kernel
当前值(来自默认值): "//third_party/pigweed/src/pw_kernel"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:135
dir_pw_kvs
当前值(来自默认值): "//third_party/pigweed/src/pw_kvs"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:136
dir_pw_libc
当前值(来自默认值): "//third_party/pigweed/src/pw_libc"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:137
dir_pw_libcxx
当前值(来自默认值): "//third_party/pigweed/src/pw_libcxx"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:138
dir_pw_log
当前值(来自默认值): "//third_party/pigweed/src/pw_log"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:139
dir_pw_log_android
当前值(来自默认值): "//third_party/pigweed/src/pw_log_android"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:140
dir_pw_log_basic
当前值(来自默认值): "//third_party/pigweed/src/pw_log_basic"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:141
dir_pw_log_fuchsia
当前值(来自默认值): "//third_party/pigweed/src/pw_log_fuchsia"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:142
dir_pw_log_null
当前值(来自默认值): "//third_party/pigweed/src/pw_log_null"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:143
dir_pw_log_rpc
当前值(来自默认值): "//third_party/pigweed/src/pw_log_rpc"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:144
dir_pw_log_string
当前值(来自默认值): "//third_party/pigweed/src/pw_log_string"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:145
dir_pw_log_tokenized
当前值(来自默认值): "//third_party/pigweed/src/pw_log_tokenized"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:146
dir_pw_log_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_log_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:147
dir_pw_malloc
当前值(来自默认值): "//third_party/pigweed/src/pw_malloc"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:148
dir_pw_malloc_freelist
当前值(来自默认值): "//third_party/pigweed/src/pw_malloc_freelist"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:149
dir_pw_malloc_freertos
当前值(来自默认值): "//third_party/pigweed/src/pw_malloc_freertos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:150
dir_pw_memory
当前值(来自默认值): "//third_party/pigweed/src/pw_memory"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:151
dir_pw_metric
当前值(来自默认值): "//third_party/pigweed/src/pw_metric"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:152
dir_pw_module
当前值(来自默认值): "//third_party/pigweed/src/pw_module"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:153
dir_pw_multibuf
当前值(来自默认值): "//third_party/pigweed/src/pw_multibuf"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:154
dir_pw_multisink
当前值(来自默认值): "//third_party/pigweed/src/pw_multisink"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:155
dir_pw_numeric
当前值(来自默认值): "//third_party/pigweed/src/pw_numeric"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:156
dir_pw_package
当前值(来自默认值): "//third_party/pigweed/src/pw_package"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:157
dir_pw_perf_test
当前值(来自默认值): "//third_party/pigweed/src/pw_perf_test"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:158
dir_pw_persistent_ram
当前值(来自默认值): "//third_party/pigweed/src/pw_persistent_ram"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:159
dir_pw_polyfill
当前值(来自默认值): "//third_party/pigweed/src/pw_polyfill"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:160
dir_pw_preprocessor
当前值(来自默认值): "//third_party/pigweed/src/pw_preprocessor"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:161
dir_pw_presubmit
当前值(来自默认值): "//third_party/pigweed/src/pw_presubmit"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:162
dir_pw_protobuf
当前值(来自默认值): "//third_party/pigweed/src/pw_protobuf"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:163
dir_pw_protobuf_compiler
当前值(来自默认值): "//third_party/pigweed/src/pw_protobuf_compiler"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:164
dir_pw_random
当前值(来自默认值): "//third_party/pigweed/src/pw_random"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:165
dir_pw_random_fuchsia
当前值(来自默认值): "//third_party/pigweed/src/pw_random_fuchsia"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:166
dir_pw_result
当前值(来自默认值): "//third_party/pigweed/src/pw_result"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:167
dir_pw_ring_buffer
当前值(来自默认值): "//third_party/pigweed/src/pw_ring_buffer"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:168
dir_pw_router
当前值(来自默认值): "//third_party/pigweed/src/pw_router"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:169
dir_pw_rpc
当前值(来自默认值): "//third_party/pigweed/src/pw_rpc"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:170
dir_pw_rpc2
当前值(来自默认值): "//third_party/pigweed/src/pw_rpc2"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:171
dir_pw_rpc_transport
当前值(来自默认值): "//third_party/pigweed/src/pw_rpc_transport"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:172
dir_pw_rust
当前值(来自默认值): "//third_party/pigweed/src/pw_rust"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:173
dir_pw_sensor
当前值(来自默认值): "//third_party/pigweed/src/pw_sensor"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:174
dir_pw_snapshot
当前值(来自默认值): "//third_party/pigweed/src/pw_snapshot"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:175
dir_pw_software_update
当前值(来自默认值): "//third_party/pigweed/src/pw_software_update"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:176
dir_pw_span
当前值(来自默认值): "//third_party/pigweed/src/pw_span"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:177
dir_pw_spi
当前值(来自默认值): "//third_party/pigweed/src/pw_spi"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:178
dir_pw_spi_linux
当前值(来自默认值): "//third_party/pigweed/src/pw_spi_linux"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:179
dir_pw_spi_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_spi_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:180
dir_pw_spi_rp2040
当前值(来自默认值): "//third_party/pigweed/src/pw_spi_rp2040"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:181
dir_pw_spi_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_spi_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:182
dir_pw_status
当前值(来自默认值): "//third_party/pigweed/src/pw_status"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:183
dir_pw_stm32cube_build
当前值(来自默认值): "//third_party/pigweed/src/pw_stm32cube_build"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:184
dir_pw_stream
当前值(来自默认值): "//third_party/pigweed/src/pw_stream"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:185
dir_pw_stream_uart_linux
当前值(来自默认值): "//third_party/pigweed/src/pw_stream_uart_linux"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:186
dir_pw_stream_uart_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_stream_uart_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:188
dir_pw_string
当前值(来自默认值): "//third_party/pigweed/src/pw_string"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:189
dir_pw_symbolizer
当前值(来自默认值): "//third_party/pigweed/src/pw_symbolizer"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:190
dir_pw_sync
当前值(来自默认值): "//third_party/pigweed/src/pw_sync"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:191
dir_pw_sync_baremetal
当前值(来自默认值): "//third_party/pigweed/src/pw_sync_baremetal"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:192
dir_pw_sync_embos
当前值(来自默认值): "//third_party/pigweed/src/pw_sync_embos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:193
dir_pw_sync_freertos
当前值(来自默认值): "//third_party/pigweed/src/pw_sync_freertos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:194
dir_pw_sync_stl
当前值(来自默认值): "//third_party/pigweed/src/pw_sync_stl"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:195
dir_pw_sync_threadx
当前值(来自默认值): "//third_party/pigweed/src/pw_sync_threadx"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:196
dir_pw_sync_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_sync_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:197
dir_pw_sys_io
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:198
dir_pw_sys_io_ambiq_sdk
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_ambiq_sdk"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:199
dir_pw_sys_io_arduino
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_arduino"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:200
dir_pw_sys_io_baremetal_lm3s6965evb
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:202
dir_pw_sys_io_baremetal_stm32f429
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:204
dir_pw_sys_io_emcraft_sf2
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_emcraft_sf2"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:206
dir_pw_sys_io_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:207
dir_pw_sys_io_rp2040
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_rp2040"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:208
dir_pw_sys_io_stdio
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_stdio"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:209
dir_pw_sys_io_stm32cube
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_stm32cube"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:210
dir_pw_sys_io_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_sys_io_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:211
dir_pw_system
当前值(来自默认值): "//third_party/pigweed/src/pw_system"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:212
dir_pw_target_runner
当前值(来自默认值): "//third_party/pigweed/src/pw_target_runner"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:213
dir_pw_third_party
保留此字段是为了向后兼容。请改用 pwexternal* 变量。
当前值(来自默认值): "//third_party/pigweed/src/third_party"
来自 //third_party/pigweed/src/modules.gni:27
dir_pw_third_party_boringssl
如果使用 boringssl 编译后端,此变量会设置为 boringssl 源代码的路径。设置后,系统会在“$pw_external_boringssl”处为 boringssl 库创建一个 pw_source_set。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:19
dir_pw_third_party_chre
如果使用 chre 编译后端,此变量会设置为 chre 安装路径。设置后,系统会在“$pw_external_chre”处为 chre 库创建 pw_source_set。
target_cpu = "arm64" 的当前值: "//third_party/chre/src"
来自 //.gn:143
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/chre/chre.gni:19
target_cpu = "riscv64" 的当前值: "//third_party/chre/src"
来自 //.gn:143
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/chre/chre.gni:19
target_cpu = "x64" 的当前值: "//third_party/chre/src"
来自 //.gn:143
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/chre/chre.gni:19
dir_pw_third_party_emboss
如果使用 Emboss 进行编译,此变量会设置为 Emboss 源代码的路径。
target_cpu = "arm64" 的当前值: "//third_party/github.com/google/emboss/src"
来自 //.gn:110
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:20
target_cpu = "riscv64" 的当前值: "//third_party/github.com/google/emboss/src"
来自 //.gn:110
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:20
target_cpu = "x64" 的当前值: "//third_party/github.com/google/emboss/src"
来自 //.gn:110
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:20
dir_pw_third_party_fuchsia
Pigweed build 中要使用的 Fuchsia 源代码的路径。默认使用 Pigweed 镜像的少数 Fuchsia 源文件。
target_cpu = "arm64" 的当前值: "//"
来自 //.gn:104
已覆盖默认值: "//third_party/pigweed/src/third_party/fuchsia/repo"
来自 //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20
target_cpu = "riscv64" 的当前值: "//"
来自 //.gn:104
已覆盖默认值: "//third_party/pigweed/src/third_party/fuchsia/repo"
来自 //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20
target_cpu = "x64" 的当前值: "//"
来自 //.gn:104
已覆盖默认值: "//third_party/pigweed/src/third_party/fuchsia/repo"
来自 //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20
dir_pw_third_party_googletest
如果使用 googletest 编译测试,此变量会设置为 googletest 安装路径。设置后,系统会在“$pw_external_googletest”处为 googletest 库创建 pw_source_set。与 pw_third_party_googletest_ALIAS 定义不兼容。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/third_party/googletest/googletest.gni:20
dir_pw_third_party_mbedtls
当前值(来自默认值): ""
来自 //third_party/pigweed/src/third_party/mbedtls/mbedtls.gni:31
dir_pw_third_party_nanopb
如果为 nanopb 编译 proto,此变量会设置为 nanopb 安装路径。设置后,系统会在“$pw_external_nanopb”处为 nanopb 库创建 pw_source_set。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/third_party/nanopb/nanopb.gni:22
dir_pw_third_party_protobuf
如果编译使用 libprotobuf 的主机工具,此变量会设置为 protobuf 安装路径。设置后,系统会在“$pw_external_protobuf”处为 protobuf 库创建 pw_source_set。
target_cpu = "arm64" 的当前值: "//third_party/protobuf/src"
来自 //.gn:131
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/protobuf/protobuf.gni:19
target_cpu = "riscv64" 的当前值: "//third_party/protobuf/src"
来自 //.gn:131
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/protobuf/protobuf.gni:19
target_cpu = "x64" 的当前值: "//third_party/protobuf/src"
来自 //.gn:131
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/protobuf/protobuf.gni:19
dir_pw_thread
当前值(来自默认值): "//third_party/pigweed/src/pw_thread"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:214
dir_pw_thread_embos
当前值(来自默认值): "//third_party/pigweed/src/pw_thread_embos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:215
dir_pw_thread_freertos
当前值(来自默认值): "//third_party/pigweed/src/pw_thread_freertos"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:216
dir_pw_thread_stl
当前值(来自默认值): "//third_party/pigweed/src/pw_thread_stl"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:217
dir_pw_thread_threadx
当前值(来自默认值): "//third_party/pigweed/src/pw_thread_threadx"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:218
dir_pw_thread_zephyr
当前值(来自默认值): "//third_party/pigweed/src/pw_thread_zephyr"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:219
dir_pw_time
当前值(来自默认值): "//third_party/pigweed/src/pw_time"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:220
dir_pw_tls_client
当前值(来自默认值): "//third_party/pigweed/src/pw_tls_client"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:221
dir_pw_tls_client_boringssl
当前值(来自默认值): "//third_party/pigweed/src/pw_tls_client_boringssl"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:223
dir_pw_tls_client_mbedtls
当前值(来自默认值): "//third_party/pigweed/src/pw_tls_client_mbedtls"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:225
dir_pw_tokenizer
当前值(来自默认值): "//third_party/pigweed/src/pw_tokenizer"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:226
dir_pw_toolchain
当前值(来自默认值): "//third_party/pigweed/src/pw_toolchain"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:227
dir_pw_trace
当前值(来自默认值): "//third_party/pigweed/src/pw_trace"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:228
dir_pw_trace_tokenized
当前值(来自默认值): "//third_party/pigweed/src/pw_trace_tokenized"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:229
dir_pw_transfer
当前值(来自默认值): "//third_party/pigweed/src/pw_transfer"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:230
dir_pw_transport
当前值(来自默认值): "//third_party/pigweed/src/pw_transport"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:231
dir_pw_uart
当前值(来自默认值): "//third_party/pigweed/src/pw_uart"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:232
dir_pw_uart_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/pw_uart_mcuxpresso"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:233
dir_pw_unit_test
当前值(来自默认值): "//third_party/pigweed/src/pw_unit_test"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:234
dir_pw_uuid
当前值(来自默认值): "//third_party/pigweed/src/pw_uuid"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:235
dir_pw_varint
当前值(来自默认值): "//third_party/pigweed/src/pw_varint"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:236
dir_pw_watch
当前值(来自默认值): "//third_party/pigweed/src/pw_watch"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:237
dir_pw_web
当前值(来自默认值): "//third_party/pigweed/src/pw_web"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:238
dir_pw_work_queue
当前值(来自默认值): "//third_party/pigweed/src/pw_work_queue"
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:239
disable_boot_tests
生成的 boot_test() 的 disabled 参数的默认值。
TODO(https://fxbug.dev/320511796):在不再需要时进行清理。
当前值(来自默认值): false
来自 //build/testing/boot_tests/boot_test.gni:16
disable_xattr_for_rbe
默认情况下,我们的 RBE 封装容器会将远程操作输出的摘要记录在 xattr 中,以避免工具必须重新哈希这些文件。 在无法使用 xattr 的情况下(例如 FUSE 限制),请将其设置为 True 以停用 xattr。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:37
discoverable_package_labels
如果您向此变量添加软件包标签,这些软件包将包含在“可检测”软件包集中,如 RFC-0212“软件包集”中所定义:https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0212_package_sets
它们将被编译和发布,但不会作为组装映像的依赖项添加,因此无法导致将条目包含到旧版软件包中。
由于这些不能作为产品的旧版 AIB 的一部分,因此此参数没有“旧版”版本。
当前值(来自默认值): []
dont_profile_source_files
不应由 profile 变体插桩的源文件路径列表。
这些设置的优先级高于 profile_source_files。
当前值(来自默认值): ["//prebuilt/*"]
来自 //build/config/profile/config.gni:18
dwarf_version
LINT.IfChange(dwarf_version) 明确指定所用的 DWARF 版本。
当前值(来自默认值): 5
来自 //build/config/compiler.gni:103
e2e_test_labels
在 Fuchsia 映像(实际硬件或模拟硬件)上运行的主机驱动型“端到端”测试。
当前值(来自默认值): []
emboss_build_dir_to_root
从 root_build_dir 到 // 的可选相对路径,可供 emboss_cc_library 和 emboss_rust_library 用于对 embossc 源文件进行 rebase。
当前值(来自默认值): ""
来自 //third_party/github.com/google/experimental-emboss-rust/build_defs.gni:38
enable_assembly_heapdump
如果为 true,则在组装 eng 标准 build 期间,为整个系统(包括 component_manager 和所有其他 moniker)强制启用 Heapdump。
当前值(来自默认值): false
来自 //src/lib/assembly/platform_configuration/BUILD.gn:13
enable_bazel_remote_rbe
配置 bazel,以便在支持的情况下使用 RBE 进行远程构建。 这可以通过远程缓存加快构建速度。 此选项要求 bazel 调用具有直接外部网络访问权限,并且用户经过身份验证才能访问远程执行服务。您可以在以下位置找到 Remote Execution API: https://github.com/bazelbuild/remote-apis 如需简要了解 Bazel 的远程执行功能,请参阅 https://bazel.build/remote/rbe
当前值(来自默认值): false
来自 //build/bazel/remote_services.gni:16
enable_delayed_bazel_actions
当前值(来自默认值): ""
enable_driver_lab
在 DFv2 驱动程序中启用嵌入式 driver-lab 原位调试库。 严格默认为 is_debug,因此发布/正式版(用户) build 会将嵌入式服务器编译为无操作,并省略传出服务处理程序。
当前值(来自默认值): false
来自 //src/devices/driver-lab/driver_lab.gni:9
enable_frame_pointers
控制编译器是否为函数调用发出完整堆栈帧。这会降低性能,但会提高生成良好堆栈轨迹的能力,尤其是在我们遇到与展开表生成相关的 bug 时。 它不适用于主机目标(请参阅 //build/config/BUILD.gn,其中未设置该目标)。
当前值(来自默认值): true
来自 //build/config/enable_frame_pointers.gni:11
enable_grpc_ares
使用 ares 编译。
当前值(来自默认值): false
来自 //third_party/grpc/BUILD.gn:15
enable_jobserver
设置为 true 可让 Ninja 实现 GNU Make 作业服务器池,以便更好地协调并行任务,尤其是在以递归方式调用子 build 时。
与 RBE (cxx_rbe_enable = true) 结合使用时,这允许同时启动所有 IDK 子 build,而不会有当前机器过载的风险。
重要提示:此功能需要使用实现了 --jobserver 选项的 Ninja 版本。如需了解详情,请参阅 https://fxbug.dev/42163397。
当前值(来自默认值): false
来自 //build/config/jobserver.gni:17
enable_lock_dep
启用内核锁依赖项跟踪。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:18
enable_lock_dep_metadata_only
仅启用内核锁依赖项元数据(如果 enable_lock_dep 为 true,则忽略)。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:22
enable_lock_dep_tests
启用内核锁依赖项跟踪测试。默认情况下,启用跟踪功能后,此功能也会启用,但也可以单独启用,以评估在停用 lockdep 时测试是否会构建并正确失败。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:132
enable_mdns_trace
启用 mdns 的跟踪功能,该功能可以使用“mdns-util verbose”开启。
当前值(来自默认值): false
来自 //src/connectivity/network/mdns/service/BUILD.gn:14
enable_netboot
网络启动 zbi 已弃用。此 GN 实参现在用于生成警告。
当前值(来自默认值): false
来自 //build/images/args.gni:114
enable_perfetto_android_java_sdk
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:220
enable_perfetto_benchmarks
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:230
enable_perfetto_etm_importer
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:435
enable_perfetto_fuzzers
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:233
enable_perfetto_grpc
在 Perfetto 代码库中启用 gRPC。gRPC 会显著增加构建时间和 Perfetto 的总体占用空间。由于只有 BigTrace 需要此功能,而且即使需要,也只是为了构建最终的可交付二进制文件,因此请勿默认启用此功能。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:429
enable_perfetto_heapprofd
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:181
enable_perfetto_integration_tests
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:217
enable_perfetto_ipc
当前值(来自默认值): true
来自 //third_party/perfetto/gn/perfetto.gni:174
enable_perfetto_llvm_demangle
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:423
enable_perfetto_llvm_symbolizer
允许在 trace_processor 中使用 LLVM 符号化工具。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:439
enable_perfetto_lockfree_taskrunner
此标志用于 UnixTaskRunner -> LockFreeTaskRunner 的迁移。 它决定了 MaybeLockFreeTaskRunner 是由 UnixTaskRunner 还是较新的 LockFreeTaskRunner 提供支持。 UnixTaskRunner 是经过实战检验的原始 TaskRunner 实现,在 2017 年至 2025 年期间使用。LockFreeTaskRunner 是经过改进的新 TaskRunner,计划取代 UnixTaskRunner。 请注意,在 Android 平台(非独立)build 中,此标志会被忽略,而会改用 Android 标志“use_lockfree_taskrunner”(请参阅 perfetto_flags.aconfig)
当前值(来自默认值): true
来自 //third_party/perfetto/gn/perfetto.gni:315
enable_perfetto_merged_protos_check
检查合并后的 perfetto_trace.proto 是否可以转换为 C++ lite proto 并进行编译。此功能默认处于停用状态,因为其开销很大(可能需要几分钟时间)。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:464
enable_perfetto_pcre2
启用 PCRE2 支持。不应拉取 libpcre2 的各个模块(例如 libperfetto_client_experimental)可以通过在编译时设置 -DPERFETTO_REGEX_FORCE_STD 来选择停用,这会使 base::Regex 回退到 std::regex 后端。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:412
enable_perfetto_platform_services
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:165
enable_perfetto_protovm_compiler
启用 protovm_compiler 工具。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:450
enable_perfetto_re2
启用 RE2 支持。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:415
enable_perfetto_rt_mutex
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:294
enable_perfetto_sock_inotify
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:303
enable_perfetto_stderr_crash_dump
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:271
enable_perfetto_system_consumer
当前值(来自默认值): true
来自 //third_party/perfetto/gn/perfetto.gni:322
enable_perfetto_tools
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:211
enable_perfetto_trace_processor
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:197
enable_perfetto_trace_processor_httpd
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:382
enable_perfetto_trace_processor_json
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:367
enable_perfetto_trace_processor_linenoise
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:361
enable_perfetto_trace_processor_mac_instruments
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:373
enable_perfetto_trace_processor_percentile
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:356
enable_perfetto_trace_processor_sqlite
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:351
enable_perfetto_traceconv
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:454
enable_perfetto_traced_perf
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:189
enable_perfetto_traced_probes
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:339
enable_perfetto_traced_relay
启用平台服务后,中继服务也会启用。 TODO(chinglinyu) check if we can enable on Windows.
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:343
enable_perfetto_ui
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:458
enable_perfetto_unittests
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:213
enable_perfetto_version_gen
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:239
enable_perfetto_watchdog
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:206
enable_perfetto_winscope
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:444
enable_perfetto_x64_cpu_opt
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:279
enable_perfetto_zlib
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:390
enable_perfetto_zstd
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:404
enable_sestarnix_userspace_tests_on_linux
在 Linux 上启用 SEStarnix 用户空间测试。在 CI/CQ 上,这需要内部预构建,而这些预构建仅在内部检出中可用。 TODO(https://fxbug.dev/510724670):当预构建版本公开可用时,移除此标志。
当前值(来自默认值): false
来自 //src/starnix/build/args.gni:14
escher_test_for_glsl_spirv_mismatch
如果为 true,则会启用 |SpirvNotChangedTest|,以检查磁盘上的预编译着色器是否为最新版本,并反映使用最新 shaderc 工具/优化编译的当前着色器源代码。Scenic 团队中的人员应在开启此标志的情况下进行构建,以确保未通过预编译器运行的所有着色器更改都将其更新后的 spirv 写入磁盘。其他团队和 CQ 无需担心此标志。
当前值(来自默认值): false
来自 //src/ui/lib/escher/build_args.gni:19
escher_use_runtime_glsl
确定 escher 是否会使用 glslang 和 shaderc 库进行构建。如果为 false,这些库将不会包含在 scenic/escher 二进制文件中,因此着色器将无法在运行时进行编译。而是从磁盘加载到内存中。
当前值(来自默认值): false
来自 //src/ui/lib/escher/build_args.gni:11
exclude_testonly_syscalls
如果为 true,则排除具有 [testonly] 属性的系统调用。
当前值(来自默认值): false
experimental_continuous_per_vmo_attribution_enabled
添加了内核内支持,用于查询每个 VMO 填充的字节高水位线。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:112
experimental_cxx_version
LINT.IfChange(experimental_cxx_version)
注意:此设置仅用于实验,通常不应更改。设置编译时要使用的 C++ 标准版本。必须是 _available_cxx_versions 中的值之一。
另请注意,GN 代码绝不应直接使用此变量,而应始终使用 fuchsia_cxx_version 变量。
当前值(来自默认值): false
来自 //build/config/fuchsia_cxx_version.gni:12
experimental_dso_enabled
如果为 true,则系统会添加启用了实验性 dso 版本的组件 (//src/sys/runners/dso),而不是标准版本。 此标志用于支持实验性 dso 构建器,如需了解详情,请参阅 https://fxbug.dev/403545512
当前值(来自默认值): false
来自 //build/assembly/tools/assembly/BUILD.gn:16
experimental_elf_page_size
TODO(https://fxbug.dev/42107211):此功能尚处于极度实验阶段,不得为正式版(包括 SDK)build 进行设置。
这是 ELF ABI 页面大小上限。它始终可以增加(以 2 的幂),同时保持 ABI 兼容,但绝不能减少;任何增加都可能会影响存储空间和内存大小。由该 GN build 关联的二进制文件将与 ELF 加载兼容,该系统在运行时实际使用的页面大小可达此大小,也可小至 4k。任何使用大于此页面大小的系统都无法加载此 build 生成的任何 ELF 二进制文件。
当前值(来自默认值): 4096
来自 //build/config/fuchsia/BUILD.gn:34
experimental_force_enable_new_wakeup_accounting
强制启用新的调度程序唤醒统计,忽略启动选项值。这用于在单个 try bot 级别强制启用该功能,其中可以设置 gn 参数,但无法设置启动选项。
TODO(https://fxbug.dev/322207536):一旦我们解决了堆栈中更高级别的竞态条件,便停止在解除阻塞时重置开始时间和结束时间。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:120
experimental_kernel_abi
注意:仅供实验性使用。这会提供一个 compiler_config() 标签列表,这些标签会首先包含在内核的编译配置 / Rust 自定义目标定义中。
当前值(来自默认值): ["//build/config:cpu_baseline"]
来自 //zircon/kernel/switch/BUILD.gn:33
experimental_mem_enabled
如果为 true,则会启用实验性内存优化功能,例如 kernel.oom.experimental_expand_memory_stall 内核参数。
当前值(来自默认值): false
来自 //build/assembly/tools/assembly/BUILD.gn:21
export_bazel_tests
配置 Bazel 测试是否显示在 tests.json 中,以便 Fuchsia 测试运行程序(即 fx test 和 botanist)可以看到这些测试。
LINT.IfChange
当前值(来自默认值): true
来自 //build/config/export_bazel_tests.gni:9
exported_package_labels
如果您向此变量添加标签,系统会收集这些标签捕获的 exported_fuchsia_package_archive() 目标,并在“package_archives”build API 模块中公开。不会捕获普通 fuchsia_package_archive() 目标。
通常,建议使用明确定义的、精选的软件包 group() 的标签,而不是直接显式添加 exported_fuchsia_package_archive() 目标的标签。
当前值(来自默认值): []
extra_bazel_assembly_targets
启用 Bazel 组装时要包含的额外 GN 目标。此列表对于包含验证和其他 Bazel 汇编特定目标非常有用。
当前值(来自默认值): []
extra_bazel_build_action_labels
在 args.gn 中设置此项,以列出无法从 //:default 访问但可能在开发期间在本地构建的 bazel_action() 标签。这是为了确保在生成时生成其 @gn_targets_dir 目录,并正确对 Bazel 图执行查询。
当前值(来自默认值): []
来自 //build/bazel/bazel_build_action_labels.gni:11
extra_kernel_test_images
每个 kernel_zbi_test() 都会为提供的内核映像列表中的每个条目生成一个 zbi_test();此列表会无条件扩展该选择。 这样,开发者和构建者就可以在 GN 图中引入更多类型的测试,而不会在默认情况下影响生成时间。
当前值(来自默认值): []
来自 //build/testing/boot_tests/kernel_zbi_test.gni:25
extra_package_labels
当前值(来自默认值): []
来自 //third_party/cobalt/BUILD.gn:10
extra_variants
要支持的其他变体工具链配置。
此内容刚刚添加到known_variants。
当前值(来自默认值): []
来自 //build/config/BUILDCONFIG.gn:545
fat_lto_objects
是否在 LTO build 中启用 -ffat-lto-objects。 https://llvm.org/docs/FatLTO.html
当前值(来自默认值): true
来自 //build/config/lto/config.gni:14
ffmpeg_profile
当前值(来自默认值): "default"
来自 //src/media/lib/ffmpeg/ffmpeg_args.gni:37
ffx_build_dual_mode_plugins_as_subtools
将任何可作为内置工具或单独子工具构建的 ffx 插件构建为子工具。
请注意,如果您更改此设置而不执行 fx clean,则可能会得到主 ffx 二进制文件(内置所有插件)或单独编译的二进制文件的过时副本,这可能会产生令人困惑的 ffx help 或 ffx commands 输出。
当所有将迁移到 SDK 的子工具都已迁移后,此配置标志将默认设置为 true,并被弃用,最终会被移除:TODO(b/287779902)
当前值(来自默认值): false
来自 //src/developer/ffx/config.gni:19
fidl_api_coverage
如果为 true,则在 FIDL 绑定中生成 API 覆盖率注释。
当前值(来自默认值): false
来自 //build/fidl/toolchain.gni:11
flatland_verbose_logging
如果为 true,Flatland 将记录大量数据。用于调试。
当前值(来自默认值): false
来自 //src/ui/scenic/lib/utils/build_args.gni:7
focaltech_driver_flavor
在 C++ 和 Rust 驱动程序实现之间切换。
TODO(https://fxbug.dev/527192080): Remove the toggle after the Rust port is completed. 有效值:“cpp”“rust”
当前值(来自默认值): "cpp"
来自 //src/ui/input/drivers/focaltech/BUILD.gn:16
font_catalog_paths
当前值(来自默认值): ["//prebuilt/third_party/fonts/fuchsia.font_catalog.json"]
来自 //src/fonts/build/font_args.gni:17
font_pkg_entries
.font_pkgs.json 文件的合并内容。在 fonts.gni 中填充。
当前值(来自默认值): []
来自 //src/fonts/build/font_args.gni:32
font_pkgs_paths
.font_pkgs.json 文件的位置,其中列出了工作区中字体文件的位置,以及派生自字体文件名且可用于命名 Fuchsia 软件包的安全名称。
当前值(来自默认值): ["//prebuilt/third_party/fonts/fuchsia.font_pkgs.json"]
来自 //src/fonts/build/font_args.gni:22
fonts_dir
从 CIPD 检出所有字体的目录
当前值(来自默认值): "//prebuilt/third_party/fonts"
来自 //src/fonts/build/font_args.gni:12
fuchsia_product_assembly_config_label
用于配置主 Fuchsia 映像的产品组装配置。 对于 GN 商品,此属性为必需属性。 对于 Bazel 产品,此属性为可选属性。 对于 Bazel 产品,只有在提供此参数时,网络启动才可用。
当前值(来自默认值): false
fuchsia_sdk_root
Fuchsia SDK 的使用者会在其 buildroot 中的特定位置实例化各种 SDK 部分的模板。然后,特定部分的目标名称会根据 meta.json 清单中指定的部分名称派生。不同的 buildroot 会在不同的位置实例化 SDK 部分,然后设置此变量。然后,GN 规则可以在 SDK build 中将此变量名称作为 SDK 部分名称的前缀。此标志在非 SDK buildroot 中没有意义。
当前值(来自默认值): ""
fuchsia_sync_detect_lock_cycles
是否使用 tracing-mutex 检测锁获取图中的循环。 默认情况下,仅在调试 build 上启用此功能,因为这会使平衡/发布模式太慢,无法实际使用。 LINT.IfChange
当前值(来自默认值): false
来自 //src/lib/fuchsia-sync/build/args.gni:10
futex_block_tracing_enabled
TODO(johngro): document
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:60
fvm_partition
当前值(来自默认值): ""
fxfs_blob
使用 Fxfs 的 blob 实现 由于输出发生了变化,因此更改了刷写逻辑。 切换一系列测试以使用 fxfs。
当前值(来自默认值): true
来自 //src/storage/fshost/generated_fshost_config.gni:17
fxfs_partition
当前值(来自默认值): ""
gcc_tool_dir
GCC 工具链二进制文件(“gcc”“nm”等)所在的目录。
此目录应包含用于为 Fuchsia 目标进行构建的 aarch64-elf-* 和 x86_64-elf-* 工具。此目录不会用于主机工具。如果此值为“”,则使用标准预构建。
当前值(来自默认值): ""
来自 //build/toolchain/zircon/gcc.gni:10
generate_cuckoo_tests
定义 kernel_zbi_test() 模板 generate_cuckoo 参数的默认值。如果为 true,则 kernel_zbi_tests() 的所有实例都将默认生成 cuckoo_zbi_test(),这是为从目标系统渗漏插桩数据而生成的完整系统映像。
当前值(来自默认值): false
来自 //build/testing/boot_tests/kernel_zbi_test.gni:19
generate_licenses_spdx_stubs
如果为 true,generated_licenses_spdx 模板将生成带有占位符许可的桩 SPDX 文件。系统将跳过许可收集。由于许可收集会占用大量资源,因此这对于运行速度更快的非生产 build 非常有用。您可以通过 generate_stub 参数在特定 generated_licenses_spdx 模板调用中覆盖全局配置。
当前值(来自默认值): true
来自 //build/licenses/generated_licenses_spdx.gni:14
generate_plasa_artifacts
如果设置,则会导致生成 plasa 工件。并非所有 build 都需要使用 plasa 工件,因此我们将默认设置为跳过生成。
当前值(来自默认值): false
来自 //build/sdk/plasa/config.gni:8
gigaboot_backends
指定实现 gigaboot/cpp/backends.h 中定义的必需后端的 gn 目标
当前值(来自默认值): "//src/firmware/gigaboot/cpp:backends_nuc"
来自 //src/firmware/gigaboot/cpp/backends.gni:8
gigaboot_eng_permanent_attributes
eng gigaboot 的永久属性文件
当前值(来自默认值): "//third_party/android/platform/external/avb/test/data/atx_permanent_attributes.bin"
来自 //src/firmware/gigaboot/cpp/backends.gni:11
gigaboot_gbl_efi_app
当前值(来自默认值): "//prebuilt/third_party/android/gbl/mainline/gbl_x86_64_dev.efi"
来自 //src/firmware/gigaboot/cpp/backends.gni:34
gigaboot_use_gbl
用于指明是否使用 GBL 进行启动的布尔值。
TODO(b/368647237):这是一个临时开关,用于在准备好将 gigaboot 迁移到使用 GBL 之前,先启用基于 GBL 的安装程序。
当前值(来自默认值): false
来自 //src/firmware/gigaboot/cpp/backends.gni:40
gigaboot_user_permanent_attributes
prod-signed gigaboot 的永久属性文件。设置此项会启用目标 //src/firmware/gigaboot/cpp:user-esp
当前值(来自默认值): ""
来自 //src/firmware/gigaboot/cpp/backends.gni:20
gigaboot_userdebug_permanent_attributes
userdebug gigaboot 的永久属性文件。设置此项会启用目标 //src/firmware/gigaboot/cpp:userdebug-esp
当前值(来自默认值): ""
来自 //src/firmware/gigaboot/cpp/backends.gni:16
go_vet_enabled
go_vet_enabled [bool] 如果为 false,则所有 build 都会停用 go vet 调用。
当前值(来自默认值): false
gocache_dir
gocache_dir GOCACHE 环境变量将设置到的目录。此目录将缓存构建和测试结果,并且可以安全地并发写入。如果替换,此目录必须是完整路径。
当前值(来自默认值): "/b/s/w/ir/x/w/fuchsia/out/not-default/.gocache"
goodix_gt6853_driver_flavor
在 C++ 和 Rust 驱动程序实现之间切换。
TODO(https://fxbug.dev/527194998): Remove the toggle after the Rust port is completed. 有效值:“cpp”“rust”
当前值(来自默认值): "cpp"
来自 //src/ui/input/drivers/goodix-gt6853/BUILD.gn:20
goodix_gt92xx_driver_flavor
在 C++ 和 Rust 驱动程序实现之间切换。
TODO(https://fxbug.dev/527195603): Remove the toggle after the Rust port is completed. 有效值:“cpp”“rust”
当前值(来自默认值): "cpp"
来自 //src/ui/input/drivers/goodix-gt92xx/BUILD.gn:16
grpc_use_static_linking
当前值(来自默认值): false
来自 //third_party/grpc/BUILD.gn:24
hangcheck_timeout_ms
请设置此项以适应长时间运行的测试
当前值(来自默认值): 0
来自 //src/graphics/drivers/msd-intel-gen/src/BUILD.gn:9
has_board
此 build 会导入开发板(而非 SDK)。如果设置了主板 (fx set
target_cpu = "arm64" 的当前值: true
已覆盖默认值: false
target_cpu = "riscv64" 的当前值: true
已覆盖默认值: false
target_cpu = "x64" 的当前值: true
已覆盖默认值: false
hermetic_test_package_labels
完全封闭测试(通过打包和在运行时)
当前值(来自默认值): []
honeydew_adb_keys_dir
当前值(来自默认值): "//third_party/android/platform/vendor/google/security/adb"
来自 //src/testing/end_to_end/honeydew/BUILD.gn:20
host_byteorder
当前值(来自默认值): "undefined"
来自 //build/config/host_byteorder.gni:7
host_cpu
当前值(来自默认值): "x64"
host_labels
如果您向此变量添加标签,这些标签将包含在“host”工件集中,该工件集表示由 build 生成的另一组仅限主机的软件。
这些文件将使用主机工具链添加到 build 中。
target_cpu = "arm64" 的当前值: []
来自 //out/not-default/args.gn:14
已覆盖默认值: []
target_cpu = "riscv64" 的当前值: []
来自 //out/not-default/args.gn:14
已覆盖默认值: []
target_cpu = "x64" 的当前值: []
来自 //out/not-default/args.gn:14
已覆盖默认值: []
host_os
当前值(来自默认值): "linux"
host_test_labels
仅限主机测试。这些测试不能依赖于组装好的平台映像或编译后的操作系统本身,即使其 host_test_data() 也不行。
这些文件将使用主机工具链添加到 build 中。
当前值(来自默认值): []
host_tools_base_path_override
将此项设置为包含由 compiled_action() 生成的主机工具的预构建二进制文件的目录路径。在执行子 build 时(例如,在生成需要为不同 API 级别和 CPU 架构重新构建 SDK 集合的 IDK 时),这有助于避免每次都重新构建主机工具。
当前值(来自默认值): ""
host_tools_dir
这是供开发者手动使用的主机工具的安装目录。开发者可能会将其放入 shell 的 $PATH 中。仅在构建过程中需要的主机工具不会复制到此处。此目录仅用于存放通常对测试或调试有用的内容,或 GN build 本身之外的内容。这些工具仅通过显式 install_host_tools() 规则安装(请参阅 //build/host.gni)。
当前值(来自默认值): "//out/not-default/host-tools"
hwasan_default_options
默认 HawrdwareAddressSanitizer 选项(在运行时读取 HWASAN_OPTIONS 环境变量之前)。这可以设置为 build 参数,以影响 $variants 中的大多数“hwasan”变体(请参阅相关内容),也可以在其中一个变体的 $toolchain_args 中替换。这可以是字符串列表,也可以是单个字符串。
请注意,即使此列表为空,此 build 中的程序也无法定义自己的 __hwasan_default_options C 函数。而是可以在其 deps 中使用 sanitizer_extra_options() 目标,然后以这种方式注入的任何选项都可以替换此列表中该选项的设置。
当前值(来自默认值): ["allocator_may_return_null=1"]
来自 //build/config/sanitizers/sanitizer_default_options.gni:96
i_can_haz_atlas_camera
如果为 true,则在启动时开启 Atlas 摄像头。 TODO(https://fxbug.dev/42162166):一旦我们有了更好的方法来管理 ACPI 设备电源,就移除此项。
当前值(来自默认值): false
来自 //src/devices/board/lib/acpi/BUILD.gn:10
ice_detection
启用可检测超时和 ICE 的 rustc 封装容器 TODO(pineapple):在 b/345596983 解决后,使用 rust_incremental 时默认启用
当前值(来自默认值): false
icu_copy_icudata_to_root_build_dir
如果设置,则“:icudata”目标会将 ICU 数据复制到 $root_build_dir。
当前值(来自默认值): false
icu_disable_thin_archive
如果为 true,则将 icu 编译为独立的静态库。目前,此功能仅在 Chrome 操作系统上可用。
当前值(来自默认值): false
icu_fuchsia_extra_compile_flags
Fuchsia 有时需要额外的 ICU 编译标志,以使其适应当前的工具链。由于 ICU 需要一段时间才能在 Fuchsia 中发布,因此从 ICU 提交到 Fuchsia 中发布修复可能需要很长时间。此标志允许我们在 //build/icu.gni 中提前定义标志,并消除发布问题。
当前值(来自默认值): ["-Wno-newline-eof", "-Wno-unnecessary-virtual-specifier"]
icu_fuchsia_extra_configs
与上述类似,但它允许添加整个 config 目标。
当前值(来自默认值): []
icu_fuchsia_override_data_dir
如果设置为非空,则这是用于拉取 ICU 数据文件内容的目录的标签。仅当在 Fuchsia 源代码树中构建时,该设置才会生效。
当前值(来自默认值): ""
icu_fuchsia_remove_configs
与上述类似,但它允许移除整个 config 目标(如果存在)。
当前值(来自默认值): []
icu_major_version_number
包含 ICU 库的主要版本号,适用于需要根据库版本进行不同配置的依赖项。目前,这仅在 Fuchsia 中有用。
当前值(来自默认值): "78"
来自 //third_party/icu/default/version.gni:13
icu_tzres_path
当前值(来自默认值): "//prebuilt/third_party/tzres"
来自 //src/lib/icu/tzdata/icu_tzres_source.gni:27
icu_tzres_source
ICU 时区 .res 文件使用哪个来源位置:“git”或“prebuilt”。
如果设置为“git”,则 tzres 文件将包含与 ICU 数据单体应用相同的时区定义。
如果设置为“prebuilt”,则 tzres 文件将从 CIPD 中检索,并且可能比 ICU 数据单体中提供的文件更新。
当前值(来自默认值): "prebuilt"
来自 //src/lib/icu/tzdata/icu_tzres_source.gni:16
icu_use_data_file
指示 icu 加载外部数据文件,而不是依赖直接链接到二进制文件的 icudata。
当前值(来自默认值): true
icu_use_stub_data
如果为 true,则会创建一个桩数据文件。如果将改用自定义数据文件,则应停用此功能,以避免符号冲突。
当前值(来自默认值): true
icu_use_target_out_dir
如果设置了此变量,则构建的库将位于各自的默认输出目录中,而不是 root_build_dir 中。
当前值(来自默认值): true
idk_buildable_api_levels
此 build 将在 IDK/SDK 中为其提供 build 时支持的 API 级别集。默认集合是 //sdk/version_history.json 中的所有 supported 和 in development 非特殊 API 级别。其他有效值是包含默认集子集的列表。如果为空,则仅构建 IDK 包含在“PLATFORM”构建的工件的目标。
这有助于缩短包含 IDK/SDK 的任何 build 的总体构建时间,但会减少 API 级别支持的覆盖范围。
例如,fx build //sdk:final_fuchsia_idk。
如需替换 CPU 架构集,请参阅 idk_buildable_cpus。
请勿直接使用 platform_version 成员。
LINT.IfChange
当前值(来自默认值): [27, 28, 29, 30, 31, 32, "NEXT"]
来自 //build/config/fuchsia/platform_version.gni:44
idk_buildable_cpus
构建系统将在 IDK/SDK 中为其提供构建时支持的目标 CPU 架构集。默认集等效于 ["arm64", "riscv64", "x64"]。其他有效值是包含该列表子集的列表,其中包含当前的“target_cpu”。
这有助于缩短包含 IDK/SDK 的任何 build 的总体构建时间,但代价是目标 CPU 架构支持的覆盖范围会缩小。例如,fx build //sdk:final_fuchsia_idk。
如需替换 API 级别集,请参阅 idk_buildable_api_levels。
LINT.IfChange
当前值(来自默认值): ["arm64", "riscv64", "x64"]
in_default_toolchain
非常不幸的是,GN 在执行 BUILDCONFIG.gn 时绝不会设置 current_toolchain,因此此变量用于检测何时在默认工具链的上下文中执行此文件。
它依赖于任何非默认工具链将其设置为 false。此外,切勿在 args.gn 中设置此字段。
LINT.IfChange(in_default_toolchain)
当前值(来自默认值): true
来自 //build/config/BUILDCONFIG.gn:57
include_account_in_fvm
如果设置为 true,则在 FVM 映像中包含账号分区。
当前值(来自默认值): false
include_clippy
将 Rust 目标转换为包含常规目标和 clippy 目标的组。这会导致 clippy 目标包含在 build 中。默认情况下,此功能通过 fx set 启用,但在 GN 中默认处于关闭状态,因此在 infra 中不会启用。
当前值(来自默认值): false
来自 //build/rust/rust_auxiliary_args.gni:17
include_internal_fonts
设置为 true 可在 build 中包含内部字体。
当前值(来自默认值): false
来自 //src/fonts/build/font_args.gni:7
include_rustdoc
.rustdoc 子目标的启用开关。如果为 true,则遵循每个目标的 disable_rustdoc 设置。如果为 false,请勿定义任何 rustdoc 子目标。
当前值(来自默认值): false
来自 //build/rust/rust_auxiliary_args.gni:22
include_zxdb_large_tests
通常,这些测试不会构建和运行,因为它们需要下载大量可选数据。将此值设置为 true 可为 zxdb_large_tests 启用 build。如需了解如何下载此测试所需的数据,请参阅 symbols/test_data/README.md。
当前值(来自默认值): false
来自 //src/developer/debug/zxdb/BUILD.gn:13
inet_config_enable_async_dns_sockets
指示 inet 额外支持异步 DNS 套接字。
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:17
inet_want_endpoint_dns
指示 inet 包含对相应协议的支持。
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:10
inet_want_endpoint_raw
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:11
inet_want_endpoint_tcp
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:12
inet_want_endpoint_tun
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:14
inet_want_endpoint_udp
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:13
integration_tests_verbose_logging
默认情况下,在测试中记录详细的字体消息。
当前值(来自默认值): true
来自 //src/fonts/tests/integration/BUILD.gn:20
is_analysis
如果设置,build 将生成编译分析转储,用于在代码搜索中进行代码交叉对比。只有在交叉对比 build 时,才需要执行分析期间的额外工作,因此我们默认关闭该标志和分析开销。
当前值(来自默认值): false
来自 //build/config/BUILDCONFIG.gn:30
is_multi_product_build
当前值(来自默认值): false
来自 //build/images/args.gni:108
is_perfetto_build_generator
所有 tools/gen_* 脚本都会将此值设置为 true。这主要用于从 //gn 而不是 //build 查找 .gni 文件。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:94
is_perfetto_embedder
此字段用于通过 gn args 进行替换(例如,对于 tools/gen_xxx)。基于 GN 的嵌入器(例如 v8)不应设置此变量,而应直接在其 GN 文件中设置 perfetto_build_with_embedder=true。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:99
jdk_include_path
指向包含 jni.h 的主机 JDK include 目录的路径。设置后,构建 libperfetto_jni 及其 Java proto codegen 的主机支持的目标会将此路径及其特定于平台的子目录用作额外的 include 路径。在 Android / AOSP build 上为空(默认),其中 jni.h 来自 NDK / jni_headers;由 tools/run_android_sdk_host_test 从 $JAVA_HOME 填充。
当前值(来自默认值): ""
来自 //third_party/perfetto/gn/perfetto.gni:228
jtrace_enabled
如需了解这些配置选项,请参阅 https://fuchsia.dev/fuchsia-src/development/debugging/jtrace。
请注意,特殊值“auto”仅由条目的默认定义(如下所示)使用。它作为一个特殊值,会根据是否为永久性跟踪配置了 JTRACE 自动选择默认值,同时仍允许用户明确替换该值,无论是否启用了永久性跟踪。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:101
jtrace_last_entry_storage
当前值(来自默认值): 0
来自 //zircon/kernel/params.gni:102
jtrace_target_buffer_size
当前值(来自默认值): "auto"
来自 //zircon/kernel/params.gni:103
jtrace_use_large_entries
当前值(来自默认值): "auto"
来自 //zircon/kernel/params.gni:104
jtrace_use_mono_timestamps
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:105
kernel_debug_print_level
控制内核 dprintf 消息的详细程度。值越高,发出的 dprintf 消息就越多。有效值为 0-2(含 0 和 2): 0 - CRITCAL / ALWAYS 1 - INFO 2 - SPEW
当前值(来自默认值): 2
来自 //zircon/kernel/params.gni:84
kernel_extra_defines
内核代码的额外宏定义,例如“ENABLE_KERNEL_LL_DEBUG”。
当前值(来自默认值): []
来自 //zircon/kernel/params.gni:77
kernel_memory_profiler
为每个 malloc 和 free 启用堆栈轨迹和统计信息汇总。
/boot/kernel/i/memory-profile/d/heap.bin 包含二进制数据。
使用 ffx profile heapdump snapshot --kernel 生成符号化的内存配置文件。
当前值(来自默认值): false
来自 //zircon/kernel/switch/BUILD.gn:28
kernel_no_userabi
构建一个不支持用户空间的内核,仅用于开发。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:108
kernel_version_string
zx_system_get_version_string 的内核中嵌入的版本字符串。
如果设置为默认值“”,则系统会根据 fuchsia git 代码库的状态生成一个字符串。
当前值(来自默认值): ""
来自 //zircon/kernel/BUILD.gn:19
known_variants
将构成变体工具链基础的变体列表。
如需使用变体,请设置 select_variant。
通常,此参数不设置为 build 参数,而是用于记录可用的变体集。
如需添加更多,请改为设置 extra_variants。
列表中的每个元素都是一个变体,这是一个定义以下内容的作用域:
configs(可选)[标签列表] 每个标签都会命名一个配置,该配置将自动由此变体中构建的每个目标使用。对于每个配置 ${label},还必须有一个目标 ${label}_deps,在此变体中构建的每个目标都会自动依赖于该目标。建议使用 variant() 模板同时定义配置及其 _deps 目标。
remove_common_configs(可选)
remove_shared_configs(可选)
[标签列表] 在添加所有其他默认值(以及此变体的配置)后,此列表将从 default_common_binary_configs 列表(或 default_shared_library_configs 列表,视情况而定)中移除(使用 -=)。
deps(可选)[标签列表] 添加到此变体中关联的每个终端目标的 deps(以及配置中每个标签的自动 ${label}_deps)。
executable_deps
[标签列表] 添加到此变体中关联的每个 executable() 目标的 deps(以及上面的 deps 和 configs 中每个标签的自动 ${label}_deps)。
link_deps
[标签列表] 添加到此变体中链接的每个链接目标(即终端目标以及 shared_library() 目标)的 deps(以及上面的 deps 和配置中每个标签的自动 ${label}_deps)。
source_deps
[标签列表] 添加到编译 sources 的每个目标的 deps。此项会添加到 source_set() 和 static_library() 目标,且仅添加到这些目标;链接目标会同时获得此项和 deps。
name(如果省略 configs,则为必填项)[字符串] select_variant 元素的 variant 字段中使用的变体名称。
最好将其设置为简洁且有意义的名称,例如,作为 $root_build_dir 下的目录名称的一部分。
如果省略名称,则配置必须不为空,并且这些配置的简单名称(不是完整标签,只是所有 / 和 : 之后的部分)将用于工具链名称(每个名称都以“-”为前缀),因此构成每个变体的配置名称列表在 known_variants + extra_variants 中的列表中必须是唯一的。
tags(可选)[字符串列表] 描述从此变体范围创建的工具链实例属性的自由字符串列表。如需查看可用值及其含义的列表,请参阅 //build/toolchain/variant_tags.gni。
toolchain_args(可选)[范围] 在此范围内定义的每个变量都会替换此变体的工具链上下文中的构建参数。
host_only(可选)
target_only(可选)
[scope] 此范围可以包含上述任何字段。
这些值分别仅用于主机或目标。
此处包含的所有字段都不应同时出现在外部作用域中。
当前值(来自默认值):
[{
configs = ["//build/config/lto"]
tags = ["lto"]
}, {
configs = ["//build/config/lto:thinlto"]
tags = ["lto"]
}, {
name = "novariant"
}, {
configs = ["//build/config/profile:coverage"]
tags = ["coverage", "coverage_clang", "coverage_rust", "debugdata", "instrumented", "llvm-profdata", "needs-writable-globals"]
}, {
configs = ["//build/config/profile:coverage-rust"]
tags = ["coverage", "coverage_rust", "debugdata", "instrumented", "needs-writable-globals"]
}, {
configs = ["//build/config/profile:coverage-cts"]
tags = ["coverage", "coverage_clang", "debugdata", "instrumented", "llvm-profdata"]
}, {
configs = ["//build/config/profile"]
tags = ["debugdata", "instrumented", "llvm-profdata", "needs-writable-globals", "profile"]
}, {
configs = ["//build/config/profile:profile-rust"]
tags = ["debugdata", "instrumented", "needs-writable-globals", "profile"]
}, {
configs = ["//build/config/profile:profile-use"]
tags = ["instrumented"]
}, {
configs = ["//build/config/profile:profile-use-rust"]
tags = ["instrumented"]
}, {
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"]
remove_common_configs = ["//build/config:no_rtti"]
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", "ubsan", "custom-runtime"]
}, {
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/lto", "//build/config/sanitizers:cfi"]
tags = ["lto", "custom-runtime", "cfi"]
}, {
configs = ["//build/config/lto:thinlto", "//build/config/sanitizers:cfi"]
tags = ["lto", "custom-runtime", "cfi"]
}, {
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"]
}, {
configs = ["//build/config/profile:heapdump"]
tags = ["fuchsia-only", "heapdump", "instrumented", "instrumentation-runtime", "kernel-excluded", "needs-compiler-abi", "uses-shlibs"]
}]
来自 //build/config/BUILDCONFIG.gn:297
link_rbe_check
运行一项更昂贵的检查,适用于 CI。 所有这些都需要 link_rbe_enable=true。
以下权限之一:
“none”:不进行额外检查。
"determinism": 通过在本地运行两次并比较输出来检查链接的确定性,如果发现任何差异,则失败。 即使此检查不涉及 RBE,它也会使用相同的封装容器脚本,该脚本知道要预期和比较哪些输出文件。
"consistency":通过运行本地和远程链接操作并比较结果,检查两者之间的一致性。
当前值(来自默认值): "none"
来自 //build/toolchain/rbe.gni:286
link_rbe_download_unstripped_outputs
当前值(来自默认值): true
来自 //build/toolchain/rbe.gni:302
link_rbe_enable
设置为 true 可启用使用 RBE 的远程链接。
这涵盖使用 ar 或使用 clang 驱动 lld 等链接器的操作。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:245
link_rbe_exec_strategy
以下权限之一:
"remote":在缓存未命中时远程执行操作。远程缓存始终会使用此结果进行更新。
"local":在远程缓存中查找操作,但在缓存未命中时在本地执行操作。本地生成的结果不会上传到远程缓存。
"remote_local_fallback":首先远程执行操作。 如果失败,请改为在本地运行。本地生成的结果不会上传到远程缓存。
“racing”:本地执行与远程执行竞速,以先完成者为准。
“nocache”:强制执行远程执行,而不使用缓存的结果。 这对于对缓存未命中场景进行基准测试非常有用。
(还有其他未公开的 rewrapper 选项。)
当前值(来自默认值): "remote_local_fallback"
来自 //build/toolchain/rbe.gni:266
link_rbe_full_toolchain
reclient 拥有决定远程链接需要哪些输入的逻辑,但在某些情况下,它可能会落后于上游工具链开发。此选项会强制将整个工具链目录作为输入包含在内,这通常可以保证正常运行,因为它不假设工具链的工作方式,但会产生性能开销。 此方法主要用于调试和作为紧急权宜解决方法。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:296
llvm_prefix
此目录包含适用于 linux-x64、linux-arm64 和 mac-x64 的 cipd 软件包。您可以从 cipd 下载这些单独的软件包,并将其设置为包含这些软件包的目录,而不是使用源代码树提供的预构建文件。
当前值(来自默认值): "//prebuilt/third_party/llvm"
来自 //src/lib/llvm/llvm_library.gni:10
local_bench
用于在 fx shell 中运行基准测试时启用本地基准测试/微调。将 --args=local_bench='true' 传递给 fx set 以启用它。
LINT.IfChange
当前值(来自默认值): false
来自 //src/developer/fuchsia-criterion/build/args.gni:10
lock_name_tracing_enabled
在 kernel:contention 类别发出的时长中启用锁定名称。 这会使每个锁的大小略微增加,以引用其跟踪标签。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:27
log_startup_sleep
当前值(来自默认值): "30000"
来自 //src/diagnostics/log_listener/BUILD.gn:14
lsan_default_options
默认 LeakSanitizer 选项(在运行时读取 LSAN_OPTIONS 环境变量之前)。这可以设置为构建参数,以影响 $variants 中的大多数“lsan”变体(请参阅相关内容),也可以在其中一个变体的 $toolchain_args 中替换。这可以是字符串列表,也可以是单个字符串。
请注意,即使此列表为空,此 build 中的程序也无法定义自己的 __lsan_default_options C 函数。而是可以在其 deps 中使用 sanitizer_extra_options() 目标,然后以这种方式注入的任何选项都可以替换此列表中该选项的设置。
当前值(来自默认值): []
来自 //build/config/sanitizers/sanitizer_default_options.gni:37
magma_debug
当前值(来自默认值): false
来自 //src/graphics/magma/lib/magma/util/BUILD.gn:17
magma_enable_tracing
启用此选项可包含 Fuchsia 跟踪功能
当前值(来自默认值): true
来自 //src/graphics/lib/magma/gnbuild/magma.gni:12
magma_openvx_include
OpenVX 头文件的路径
当前值(来自默认值): ""
来自 //src/graphics/lib/magma/gnbuild/magma.gni:15
magma_openvx_package
OpenVX 实现的路径
当前值(来自默认值): ""
来自 //src/graphics/lib/magma/gnbuild/magma.gni:18
main_pb_label
指向要使用的主要产品软件包的标签(如果不需要多产品 build 中的默认产品)。
当前值(来自默认值): ""
max_build_concurrency
fx build 自动选择的 build 并发数 (-j) 的上限。零表示没有上限。
自动值派生自主机 CPU 数量,该数量假定 CPU 是最稀缺的资源。不满足此条件的环境可以在此处降低该值;例如,基于 FUSE 的工作区在使高核心主机饱和之前很久就会耗尽文件描述符。
命令行上的显式 -j 始终会按原样执行。
当前值(来自默认值): 0
来自 //build/config/BUILDCONFIG.gn:47
max_log_disk_usage
控制用于保留设备日志的磁盘空间字节数。 应为仅包含数字的字符串值。
当前值(来自默认值): "0"
来自 //src/diagnostics/log_listener/BUILD.gn:13
mbedtls_config_file
MbedTLS 的配置文件。
当前值(来自默认值): "mbedtls-config.h"
来自 //third_party/openthread/third_party/mbedtls/BUILD.gn:57
mbedtls_deps
MbedTLS 的额外依赖项
当前值(来自默认值): ["../../src/core:libopenthread_core_config"]
来自 //third_party/openthread/third_party/mbedtls/BUILD.gn:60
min_crashlog_size
控制为崩溃日志预留的永久性 RAM 的最小空间。启用其他功能(例如永久性调试日志记录)后,此值会控制始终为崩溃日志预留的最小字节数(取决于可用永久性 RAM 的总量),无论永久性 RAM 的其他用户请求多少 RAM。必须是 128 字节的倍数。
当前值(来自默认值): 2048
来自 //zircon/kernel/lib/crashlog/params.gni:14
mini_chromium_is_chromeos_ash
当前值(来自默认值): false
来自 //third_party/mini_chromium/src/build/platform.gni:32
mini_chromium_is_chromeos_lacros
当前值(来自默认值): false
来自 //third_party/mini_chromium/src/build/platform.gni:31
monolithic_binaries
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:250
msd_arm_enable_all_cores
启用全部 8 个核心,速度更快,但会产生更多热量。
当前值(来自默认值): true
来自 //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:9
msd_arm_enable_cache_coherency
设置此标志后,如果 GPU 支持,系统会尝试使用缓存一致性内存。
当前值(来自默认值): true
来自 //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:13
msd_arm_enable_protected_debug_swap_mode
在受保护模式下,故障不会返回太多信息,因此更难调试。为了解决此问题,请添加一种模式,使受保护的原子在非受保护模式下执行,反之亦然。
注意:内存安全范围也应(在 TrustZone 中)设置为与正常情况相反,以便非受保护模式访问只能访问受保护的内存,反之亦然。此外,可扩容内存故障在此模式下不起作用,因此应预先提交较大部分的可扩容内存(默认情况下不会执行此操作)。
当前值(来自默认值): false
来自 //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:24
msd_arm_mali_csf_firmware_label
msd-arm-mali-csf 的固件目标标签。 如果为空,则驱动程序包中不包含任何固件。
当前值(来自默认值): ""
来自 //src/graphics/drivers/msd-arm-mali-csf/BUILD.gn:13
netstack3_profile_rustc
添加了编译标志,以便在构建 netstack3 目标时发出 rustc 自我分析。这有助于我们跟踪时间花费和内存消耗情况,以便与 RBE 良好配合。
当前值(来自默认值): false
来自 //src/connectivity/network/netstack3/BUILD.gn:9
ninja_implicit_inputs_root_labels
一组目标标签,将用于通过 GN 元数据收集生成 Ninja 隐式输入列表。这些需要公开,以保证从 Bazel 调用的 Ninja 子 build 的增量正确性。如需了解详情,请参阅 //build/ninja_implicit_inputs/README.md
当前值(来自默认值): ["//:default"]
来自 //build/ninja_implicit_inputs/config.gni:11
openthread_config_anycast_locator_enable
启用任播定位器功能
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:82
openthread_config_assert_enable
启用断言。
当前值(来自默认值): true
来自 //third_party/openthread/etc/gn/openthread.gni:79
openthread_config_backbone_router_enable
启用骨干路由器功能
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:85
openthread_config_ble_tcat_enable
启用基于 BLE 的调试功能
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:88
openthread_config_border_agent_enable
启用边界代理支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:91
openthread_config_border_agent_id_enable
启用边界代理 ID
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:94
openthread_config_border_router_enable
启用边界路由器支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:97
openthread_config_border_routing_enable
启用边界路由器支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:100
openthread_config_channel_manager_enable
启用渠道管理工具支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:103
openthread_config_channel_monitor_enable
启用频道监控支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:106
openthread_config_child_supervision_enable
启用儿童监督支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:109
openthread_config_coap_api_enable
启用 coap API 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:112
openthread_config_coap_observe_api_enable
启用 coap observe (RFC7641) API 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:118
openthread_config_coap_secure_api_enable
启用安全 coap API 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:115
openthread_config_coexistence_enable
启用无线电共存
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:245
openthread_config_commissioner_enable
启用 Commissioner 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:121
openthread_config_deps
OpenThread 配置的额外依赖项。
当前值(来自默认值): []
来自 //third_party/openthread/etc/gn/openthread.gni:38
openthread_config_dhcp6_client_enable
启用 DHCP6 客户端支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:127
openthread_config_dhcp6_server_enable
启用 DHCP6 服务器支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:130
openthread_config_diag_enable
启用诊断支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:133
openthread_config_dns_client_enable
启用 DNS 客户端支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:136
openthread_config_dnssd_server_enable
启用 DNS-SD 服务器支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:139
openthread_config_ecdsa_enable
启用 ECDSA 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:142
openthread_config_enable_builtin_mbedtls_management
当前值(来自默认值): true
来自 //third_party/openthread/etc/gn/openthread.gni:242
openthread_config_file
OpenThread 配置标头。
当前值(来自默认值): "<openthread-config-fuchsia.h>"
来自 //third_party/openthread/etc/gn/openthread.gni:35
openthread_config_full_logs
启用完整日志
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:229
openthread_config_heap_external_enable
启用外部堆支持
当前值(来自默认值): true
来自 //third_party/openthread/etc/gn/openthread.gni:148
openthread_config_ip6_fragmentation_enable
启用 IPv6 分片支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:151
openthread_config_ip6_slaac_enable
启用对 OpenThread 添加自动配置的 SLAAC 地址的支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:205
openthread_config_jam_detection_enable
启用卡纸检测支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:154
openthread_config_joiner_enable
启用加入者支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:157
openthread_config_legacy_enable
启用旧版网络支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:160
openthread_config_link_metrics_initiator_enable
启用链接指标发起方
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:163
openthread_config_link_metrics_subject_enable
启用链接指标主题
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:166
openthread_config_link_raw_enable
启用链接原始服务
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:169
openthread_config_log_level_dynamic_enable
启用动态日志级别控制
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:172
openthread_config_log_output
日志输出:none、debug_uart、app、platform
当前值(来自默认值): ""
来自 //third_party/openthread/etc/gn/openthread.gni:76
openthread_config_mac_csl_receiver_enable
启用 csl 接收器
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:124
openthread_config_mac_filter_enable
启用 MAC 过滤支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:175
openthread_config_message_use_heap
启用为消息缓冲区使用内置堆
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:178
openthread_config_mle_long_routes_enable
启用 MLE 长路由扩展(实验性,会破坏 Thread 一致性)
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:181
openthread_config_mlr_enable
为 Thread 1.2 启用多播监听器注册功能
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:145
openthread_config_multiple_instance_enable
启用多个实例
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:187
openthread_config_ncp_hdlc_enable
启用 NCP HDLC 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:238
openthread_config_ncp_spi_enable
启用 NCP SPI 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:235
openthread_config_otns_enable
启用 OTNS 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:232
openthread_config_ping_sender
启用 ping 发送器支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:220
openthread_config_platform_netif_enable
启用平台 netif 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:190
openthread_config_platform_udp_enable
启用平台 UDP 支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:193
openthread_config_reference_device_enable
启用 Thread 自动化测试框架参考设备支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:196
openthread_config_sntp_client_enable
启用 SNTP 客户端支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:208
openthread_config_srp_client_enable
启用 SRP 客户端支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:211
openthread_config_srp_server_enable
启用 SRP 服务器支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:214
openthread_config_tcp_enable
启用对 TCP 的支持
当前值(来自默认值): true
来自 //third_party/openthread/etc/gn/openthread.gni:217
openthread_config_thread_version
Thread 版本
当前值(来自默认值): "1.4"
来自 //third_party/openthread/etc/gn/openthread.gni:73
openthread_config_time_sync_enable
启用时间同步服务功能
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:223
openthread_config_tmf_netdata_service_enable
启用对将服务条目注入 Thread 网络数据的支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:199
openthread_config_tmf_netdiag_client_enable
启用 TMF 网络诊断客户端
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:184
openthread_config_udp_forward_enable
启用 UDP 转发支持
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:226
openthread_core_config_deps
OpenThread 核心配置的额外依赖项。
当前值(来自默认值): []
来自 //third_party/openthread/etc/gn/openthread.gni:50
openthread_core_config_platform_check_file
OpenThread 平台专用配置检查标头
当前值(来自默认值): ""
来自 //third_party/openthread/etc/gn/openthread.gni:47
openthread_enable_core_config_args
通过 GN 参数配置 OpenThread。
当前值(来自默认值): true
来自 //third_party/openthread/etc/gn/openthread.gni:67
openthread_external_mbedtls
使用外部 mbedtls。如果留空,则将使用内部 mbedtls。
当前值(来自默认值): ""
来自 //third_party/openthread/etc/gn/openthread.gni:56
openthread_external_platform
使用外部平台。
当前值(来自默认值): ""
来自 //third_party/openthread/etc/gn/openthread.gni:53
openthread_package_name
OpenThread 的软件包名称。
当前值(来自默认值): "OPENTHREAD"
来自 //third_party/openthread/etc/gn/openthread.gni:59
openthread_package_version
OpenThread 的软件包版本。
当前值(来自默认值): "1.0.0"
来自 //third_party/openthread/etc/gn/openthread.gni:62
openthread_project_core_config_file
OpenThread 项目专用核心配置标头
当前值(来自默认值): ""
来自 //third_party/openthread/etc/gn/openthread.gni:44
openthread_project_include_dirs
包含项目专用配置的目录。
当前值(来自默认值): []
来自 //third_party/openthread/etc/gn/openthread.gni:41
openthread_settings_ram
启用仅易失性设置存储
当前值(来自默认值): false
来自 //third_party/openthread/etc/gn/openthread.gni:202
优化
“foo_optimize”参数的全局替换。
当前值(来自默认值): false
来自 //build/config/compiler.gni:10
output_breakpad_syms
设置是否应为 Fuchsia 二进制文件输出 breakpad 符号。
当前值(来自默认值): false
来自 //build/config/BUILDCONFIG.gn:33
output_gsym
控制我们是否应为 Fuchsia 二进制文件输出 GSYM 文件。
当前值(来自默认值): false
来自 //build/config/BUILDCONFIG.gn:36
package_flavor_selections
用于配置所需的软件包变体集。
用法:
package_flavor_selections = [ { name = "snazzy" flavor = "with_hooks" }, { name = "some_other_package" flavor = "some_other_flavor" }, ]
上述代码指定软件包“snazzy”应使用“with_hooks”变种,而“some_other_package”应使用“some_other_flavor”变种,而不是其默认变种。使用此模板的所有其他软件包都将使用其默认软件包变种。
当前值(来自默认值): []
来自 //build/packages/prebuilt_package_with_flavors.gni:30
perfetto_amalgamated_sdk
由合并的 SDK build 设置。默认情况下,可选的 zlib/re2 功能处于关闭状态;使用方可通过 perfetto_sdk_config.h 选择启用(请参阅 build_config.h)。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:504
perfetto_build_with_android
Android 蓝图文件生成器会将此值设置为 true(以及 is_perfetto_build_generator)。这仅与在 Android 树(AOSP 和内部)中构建有关,与目标操作系统无关。 在独立 Android build 和 Chromium Android build 中,此值为 false。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:90
perfetto_enable_git_rev_version_header
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:328
perfetto_force_dcheck
是否应启用 DCHECK。值:“on”|“off”|“”。 默认情况下 (“”),仅在以下情况下启用 DCHECK: - 如果定义了 DCHECK_ALWAYS_ON(这主要是 Chromium 的做法)。 - 在调试 build(即未定义 NDEBUG)中,但仅限于 Chromium、Android 和独立 build。 - 在所有其他 build(例如 SDK)上,无论 NDEBUG 如何,它都处于关闭状态(除非定义了 DCHECK_ALWAYS_ON)。 如需了解所有这些功能的实现,请参阅 base/logging.h。
当前值(来自默认值): ""
来自 //third_party/perfetto/gn/perfetto.gni:265
perfetto_force_dlog
是否应在调试 build(“”)、所有 build(“on”)或不应在任何 build(“off”)上启用 DLOG。我们默认会为嵌入器停用此功能,以免其控制台收到垃圾内容。
当前值(来自默认值): ""
来自 //third_party/perfetto/gn/perfetto.gni:255
perfetto_http_additional_cors_origins
要在 trace_processor 和 websocket_bridge 中允许的其他 CORS 来源的逗号分隔列表。
当前值(来自默认值): ""
来自 //third_party/perfetto/gn/perfetto.gni:103
perfetto_thread_safety_annotations
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:284
perfetto_use_pkgconfig
由 CrOS build 使用。使用 pkg-config 确定用于包含和关联系统库的适当标志。
将 host_pkg_config 设置为 BUILD_PKG_CONFIG,并将 pkg_config 设置为目标 PKG_CONFIG。注意:如果启用了此功能,则也应启用 perfetto_use_system_protobuf。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:474
perfetto_use_system_expat
由 NixOS 系统 build 使用。使用 pkg-config 中的系统版本 expat,而不是封闭版本。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:478
perfetto_use_system_linenoise
由 NixOS 系统 build 使用。使用 pkg-config 中的 linenoise 系统版本,而不是封闭版本。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:482
perfetto_use_system_protobuf
由 CrOS 系统 build 使用。使用 /usr/include 中的系统版本 protobuf,而不是封闭版本。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:486
perfetto_use_system_re2
由 NixOS 系统 build 使用。使用 pkg-config 中的系统版本 re2,而不是封闭版本。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:490
perfetto_use_system_sqlite
由 CrOS 系统 build 使用。使用 /usr/include 中的系统版本 sqlite,而不是封闭版本。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:494
perfetto_use_system_zlib
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:496
perfetto_use_system_zstd
由 NixOS 系统 build 使用。使用 pkg-config 中的系统版本 zstd,而不是封闭版本。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:500
perfetto_verbose_logs_enabled
当前值(来自默认值): true
来自 //third_party/perfetto/gn/perfetto.gni:347
persistent_ram_allocation_granularity
控制永久性 RAM 全局池的分配粒度。 所有希望使用永久性 RAM 在重新启动后保留数据的功能都必须在分配中运行,且分配大小必须是此值的倍数。该值应为 2 的幂,通常应为目标架构的缓存行大小的倍数。
当前值(来自默认值): 128
来自 //zircon/kernel/params.gni:91
pgo_profile_path
PGO 使用的配置文件数据路径。
当前值(来自默认值): ""
来自 //build/config/profile/config.gni:47
prebuilt_dart_sdk
包含预构建 Dart SDK 的目录。
此目录的 bin/ 子目录中必须包含 gen_snapshot.OS-CPU 二进制文件。
当前值(来自默认值): "//prebuilt/third_party/dart/linux-x64"
prebuilt_fastboot
当前值(来自默认值): "//prebuilt/third_party/fastboot/fastboot"
来自 //build/images/tools/fastboot.gni:6
prebuilt_go_dir
prebuilt_go_dir [字符串] 指向包含预构建主机 go 二进制文件的目录。默认情况下,此变量指向 //prebuilts 目录。
当前值(来自默认值): "//prebuilt/third_party/go/linux-x64"
product_assembly_overrides
此 GN 参数可为给定的组装目标启用开发者替换
这是一个范围列表,其中包含两个字段: - assembly:(GN 标签模式)要应用替换项的 GN 标签 - overrides:(GN 标签)一组开发者替换项的标签
示例:
product_assembly_overrides = [ { assembly = "//products/core/*" overrides = "//local:my_assembly_overrides" } ]
target_cpu = "arm64" 的当前值: []
来自 //out/not-default/args.gn:17
已覆盖默认值: []
来自 //build/assembly/developer_overrides.gni:516
target_cpu = "riscv64" 的当前值: []
来自 //out/not-default/args.gn:17
已覆盖默认值: []
来自 //build/assembly/developer_overrides.gni:516
target_cpu = "x64" 的当前值: []
来自 //out/not-default/args.gn:17
已覆盖默认值: []
来自 //build/assembly/developer_overrides.gni:516
product_assembly_overrides_contents
此 GN 参数允许在 args.gn 中以内嵌方式指定替换模板。它与上述“product_assembly_overrides_label”参数不兼容。
如需使用此模板,请将其视为“assembly_developer_overrides()”模板,相应的模板将在 //build/assembly/overrides:inlined 处实例化,并设置为“main”产品组装的替换项,就像设置了以下内容一样:
product_assembly_overrides_label = "//build/assembly/overrides:inlined"
当前值(来自默认值): false
来自 //build/assembly/developer_overrides.gni:535
product_assembly_overrides_label
此 GN 实参提供了一种简写机制,用于设置产品的“主”产品组装所使用的开发者替换项。如果设置了此项,但未定义“main”产品组件,则会生成 GN 错误。
当前值(来自默认值): false
来自 //build/assembly/developer_overrides.gni:522
product_bundle_labels
除主商品套装外,还要组装的商品套装的标签。
当前值(来自默认值): []
profile_source_files
要由 profile 变体插桩的源文件的路径列表。
当前值(来自默认值): ["//*"]
来自 //build/config/profile/config.gni:10
profile_source_files_list_files
Clang 的 -fprofile-list 格式的文件路径列表,用于描述要由 profile 变体插桩的文件和函数。
当前值(来自默认值): []
来自 //build/config/profile/config.gni:44
proprietary_codecs
当前值(来自默认值): false
来自 //build/config/features.gni:9
pw_assert_BACKEND
pw_assert 模块的 CHECK 门面的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/backends/pw_assert"
来自 //.gn:76
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_assert/backend.gni:19
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/backends/pw_assert"
来自 //.gn:76
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_assert/backend.gni:19
target_cpu = "x64" 的当前值: "//third_party/pigweed/backends/pw_assert"
来自 //.gn:76
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_assert/backend.gni:19
pw_assert_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_assert/BUILD.gn:26
pw_assert_LITE_BACKEND
pw_assert 模块的 ASSERT 门面的后端。
当前值(来自默认值): "//third_party/pigweed/src/pw_assert:assert_compatibility_backend"
来自 //third_party/pigweed/src/pw_assert/backend.gni:25
pw_async2_DISPATCHER_FOR_TEST_BACKEND
当前值(来自默认值): "//third_party/pigweed/src/pw_async2:basic_dispatcher_for_test"
来自 //third_party/pigweed/src/pw_async2/backend.gni:29
pw_bloat_BLOATY_CONFIG
Bloaty 配置文件的路径,该文件定义了目标二进制文件的内存布局和容量。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_bloat/bloat.gni:23
pw_bloat_SHOW_SIZE_REPORTS
控制是否在 build 输出中显示大小报告。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_bloat/bloat.gni:40
pw_bloat_TOOLCHAINS
要在 pw_toolchain_size_diff 模板中使用的工具链列表。
每个条目都是一个包含以下变量的作用域:
name:人类可读的工具链名称。 target:定义工具链的 GN 目标。 linker_script:指向要为工具链的目标构建的链接器脚本文件的可选路径。 bloaty_config:可选的 Bloaty 配置文件,用于定义链接器脚本中指定的二进制文件的内存布局。
如果此列表为空,pw_toolchain_size_diff 目标将变为无操作。
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_bloat/bloat.gni:37
pw_bluetooth_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_bluetooth/BUILD.gn:30
pw_build_COLORIZE_OUTPUT
控制是否指示编译器和其他工具使用彩色输出。
当前值(来自默认值): true
来自 //third_party/pigweed/src/pw_build/defaults.gni:61
pw_build_DEFAULT_MODULE_CONFIG
所有 Pigweed 模块配置的默认实现。
通过此变量,可以从单个 GN 目标配置多个 Pigweed 模块。您仍然可以通过直接设置模块的配置后端(例如 pw_some_module_CONFIG = "//my_config")来单独替换模块配置。
模块通过编译选项进行配置。配置实现可能会设置单个编译器宏,或使用 -include 标志强制包含具有多个选项的配置标头。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_build/module_config.gni:28
pw_build_DEFAULT_VISIBILITY
控制 C/C++ 库和可执行文件(pw_source_set、pw_static_library、pw_shared_library、pw_executable)的默认公开范围。此值可以是“*”或路径列表。
这有助于通过明确的许可清单限制 Pigweed 模块的使用。为使 GN build 正常运行,pw_build_DEFAULT_VISIBILITY 必须始终至少包含 Pigweed 代码库 ("$dir_pigweed/*")。
显式设置目标的公开范围会替换此默认值。
当前值(来自默认值): ["*"]
来自 //third_party/pigweed/src/pw_build/defaults.gni:58
pw_build_EXECUTABLE_TARGET_TYPE
用于构建 Pigweed 可执行文件的 GN 目标类型的名称。
如果这是自定义模板,则必须在目标配置文件的顶部导入包含该模板的 .gni 文件,使其全局可用。
当前值(来自默认值): "executable"
来自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:39
pw_build_EXECUTABLE_TARGET_TYPE_FILE
定义 pw_build_EXECUTABLE_TARGET_TYPE 的 .gni 文件的路径。
如果 pw_build_EXECUTABLE_TARGET_TYPE 不是默认值 executable,则会导入此 .gni 文件以提供模板定义。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:45
pw_build_LINK_DEPS
要作为 pw_executable、pw_static_library 和 pw_shared_library 目标的依赖项添加的其他 build 目标。$dir_pw_build:link_deps 目标会拉取这些库。
pw_build_LINK_DEPS 可用于打破 pw_assert 等低级库的循环依赖关系。
target_cpu = "arm64" 的当前值: ["//third_party/pigweed/src/pw_assert:impl", "//third_party/pigweed/src/pw_log:impl"]
来自 //.gn:98
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:26
target_cpu = "riscv64" 的当前值: ["//third_party/pigweed/src/pw_assert:impl", "//third_party/pigweed/src/pw_log:impl"]
来自 //.gn:98
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:26
target_cpu = "x64" 的当前值: ["//third_party/pigweed/src/pw_assert:impl", "//third_party/pigweed/src/pw_log:impl"]
来自 //.gn:98
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:26
pw_build_PIP_CONSTRAINTS
当前值(来自默认值): ["//third_party/pigweed/src/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list"]
来自 //third_party/pigweed/src/pw_build/python.gni:27
pw_build_PIP_REQUIREMENTS
适用于所有基于 Pigweed 的项目的默认 pip requirements 文件。
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/python.gni:30
pw_build_PYLINT_OUTPUT_FORMAT
pylint 的输出格式。选项包括“text”和“colorized”。
当前值(来自默认值): "colorized"
来自 //third_party/pigweed/src/pw_build/python.gni:47
pw_build_PYTHON_BUILD_VENV
默认 gn build virtualenv 目标。
target_cpu = "arm64" 的当前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"
来自 //.gn:126
已覆盖默认值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:23
target_cpu = "riscv64" 的当前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"
来自 //.gn:126
已覆盖默认值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:23
target_cpu = "x64" 的当前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"
来自 //.gn:126
已覆盖默认值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:23
pw_build_PYTHON_PIP_DEFAULT_OPTIONS
传递给 pip 命令的常规选项 https://pip.pypa.io/en/stable/cli/pip/#general-options
当前值(来自默认值): ["--disable-pip-version-check"]
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:51
pw_build_PYTHON_PIP_DOWNLOAD_ALL_PLATFORMS
DOCSTAG: [default-pip-gn-args] 设置 pw_python_venv.vendor_wheel 目标,以便为所有平台组合下载 Python 软件包。这需要花费大量时间。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:28
pw_build_PYTHON_PIP_INSTALL_DISABLE_CACHE
添加“--no-cache-dir”,强制 pip 忽略之前缓存的所有 Python 软件包。在大多数系统上,此文件位于 ~/.cache/pip/ 中
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:41
pw_build_PYTHON_PIP_INSTALL_FIND_LINKS
包含 Python wheel (.whl) 或源代码 tar 文件 (.tar.gz) 的文件夹的路径列表。Pip 在查找潜在安装候选对象时会检查每个目录。每个路径都将作为“--find-links PATH”传递给所有“pip install”命令。
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:47
pw_build_PYTHON_PIP_INSTALL_OFFLINE
添加 --no-index,强制 pip 不访问互联网 (pypi.org) 来下载软件包。使用此选项时,还需要设置 pw_build_PYTHON_PIP_INSTALL_FIND_LINKS。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:37
pw_build_PYTHON_PIP_INSTALL_REQUIRE_HASHES
添加了“--require-hashes”。此选项会对 Python 软件包文件强制执行哈希检查。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:32
pw_build_PYTHON_STATIC_ANALYSIS_TOOLS
DOCSTAG: [python-static-analysis-tools] 默认要为 pw_python_package 目标运行的 Python 静态分析工具集。
当前值(来自默认值): ["pylint", "mypy"]
来自 //third_party/pigweed/src/pw_build/python.gni:34
pw_build_PYTHON_TEST_COVERAGE
如果为 true,GN 将使用 coverage 命令运行每个 Python 测试。系统会为每个测试保存一个单独的覆盖率数据文件。如需根据这些信息生成报告,请运行:pw presubmit --step gn_python_test_coverage
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_build/python.gni:44
pw_build_PYTHON_TOOLCHAIN
Python 任务(例如运行测试和 Pylint)在单个 GN 工具链中完成,以避免在 build 中进行不必要的重复。
当前值(来自默认值): "//third_party/pigweed/src/pw_build/python_toolchain:python"
来自 //third_party/pigweed/src/pw_build/python_gn_args.gni:20
pw_build_TEST_TRANSITIVE_PYTHON_DEPS
是否对 pw_python_package 目标的传递依赖项进行 lint 检查/测试。
例如:如果 lib_a 依赖于 lib_b,并且 pw_build_TEST_TRANSITIVE_PYTHON_DEPS 为 true,则 lib_a.tests 将在 lib_b.tests 运行后运行。
如果 pw_build_TEST_TRANSITIVE_PYTHON_DEPS 为 false,则在您直接构建目标(例如 lib_b.tests)或将 pw_python_package 放置在 pw_python_group 中且构建 group.tests 目标时,系统会运行 pw_python_package 的测试。
这适用于 mypy、pylint、ruff 和测试。
虽然出于兼容性原因,此属性默认为 true,但强烈建议您将其关闭,这样您就不会对所有外部依赖项进行 lint 检查和测试。
当前值(来自默认值): true
来自 //third_party/pigweed/src/pw_build/python.gni:64
pw_build_TEST_TRANSITIVE_PYTHON_DEPS_FILTER_EXCLUDES
如果您希望对部分目标启用传递依赖项,请使用此选项过滤掉不需要的传递依赖项。
例如:[ "$dir_pigweed/*" ]
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/python.gni:69
pw_build_TOOLCHAIN_LINK_DEPS
pw_toolchain 模块使用 pw_build_TOOLCHAIN_LINK_DEPS 来设置默认库依赖项。通常,这不适用于面向用户,但如果此处引入了您需要移除的内容,您可以通过在自己的工具链中替换此变量来实现。
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:32
pw_chre_CONFIG
用于构建 CHRE 的配置。
target_cpu = "arm64" 的当前值: "//third_party/chre:chre_config"
来自 //.gn:144
已覆盖默认值: "//third_party/chre:default_chre_config"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:22
target_cpu = "riscv64" 的当前值: "//third_party/chre:chre_config"
来自 //.gn:144
已覆盖默认值: "//third_party/chre:default_chre_config"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:22
target_cpu = "x64" 的当前值: "//third_party/chre:chre_config"
来自 //.gn:144
已覆盖默认值: "//third_party/chre:default_chre_config"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:22
pw_chre_PLATFORM_BACKEND
CHRE 的平台后端实现。默认值为 Pigweed 后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_chre:chre_backend"
来自 //.gn:145
已覆盖默认值: "//pw_chre:chre_backend"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:28
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_chre:chre_backend"
来自 //.gn:145
已覆盖默认值: "//pw_chre:chre_backend"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:28
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_chre:chre_backend"
来自 //.gn:145
已覆盖默认值: "//pw_chre:chre_backend"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:28
pw_chre_PLATFORM_BACKEND_HEADERS
CHRE 的平台后端标头。默认值为 Pigweed 后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"
来自 //.gn:147
已覆盖默认值: "//pw_chre:chre_backend_headers"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:25
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"
来自 //.gn:147
已覆盖默认值: "//pw_chre:chre_backend_headers"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:25
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"
来自 //.gn:147
已覆盖默认值: "//pw_chre:chre_backend_headers"
来自 //third_party/pigweed/src/third_party/chre/chre.gni:25
pw_chrono_SYSTEM_CLOCK_BACKEND
pw_chrono 模块的 system_clock 的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"
来自 //.gn:78
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_chrono/backend.gni:17
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"
来自 //.gn:78
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_chrono/backend.gni:17
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"
来自 //.gn:78
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_chrono/backend.gni:17
pw_chrono_SYSTEM_TIMER_BACKEND
pw_chrono 模块的 system_timer 的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"
来自 //.gn:80
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_chrono/backend.gni:20
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"
来自 //.gn:80
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_chrono/backend.gni:20
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"
来自 //.gn:80
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_chrono/backend.gni:20
pw_command_launcher
编译命令的前缀(例如,Goma 或 CCache 编译器启动器的路径)。ccache 示例: gn gen out --args='pw_command_launcher="ccache"'
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_toolchain/toolchain_args.gni:24
pw_compilation_testing_NEGATIVE_COMPILATION_ENABLED
为当前工具链启用或停用负编译测试。 默认处于停用状态,因为负面编译测试会显著增加 gn gen 时间。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_compilation_testing/negative_compilation_test.gni:24
pw_containers_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_containers/BUILD.gn:31
pw_emboss_build_dir_to_root
从 root_build_dir 到 // 的可选相对路径,emboss_cc_library 可使用该路径来 rebase embossc 源文件。
通常,我们不需要自己手动定义此变量,而是可以依靠内置 GN 函数来 rebase_path() root_build_dir,但对于//out 是指向 // 之外的目录的符号链接的构建环境,该方法不可靠,因为 GN 始终将 root_build_dir 作为绝对符号链接解引用路径提供。
在这种情况下,我们不应直接使用 root_build_dir,而必须构造 root_build_dir 的“词法局部”版本,即 // 的子路径。
以下示例演示了这一点:
使用如下所示的项目文件系统结构:
/home/alice/foo_project(作为 //)
src/foo.emb
out/a_build_dir -> /storage/out/a_build_dir
此 GN 表达式:
rebase_path("src/foo.emb", "$root_build_dir")
等效于:
rebase_path("/home/alice/foo_project/src/foo.emb", "/storage/out/a_build_dir")
其求值结果为:
"../../../home/alice/foo_project/src/foo.emb"
如果 out 目录不是符号链接,则结果会有所不同。 在这种情况下,相同的 GN 表达式: rebase_path("src/foo.emb", "$root_build_dir") 等效于: rebase_path("/home/alice/foo_project/src/foo.emb", "/home/alice/foo_project/out/a_build_dir") 其求值结果为: "../../src/foo.emb"
虽然这两个示例都解析为同一个文件,但 embossc 会尝试将生成的头文件放置在源 .emb 文件的同级位置,因此它对路径的词法表示形式非常敏感。emboss_cc_library 还会抵消前导 ../ 段,这些段使用嵌套 r"(fake/)*" 目录的 --output-path 调用 embossc,以确保这些生成的文件包含在 out 目录中。
在第一个示例中,输出路径为:
"gen/fake/fake/fake/../../../home/alice/foo_project/src/foo.h"
简化为:
"gen/home/alice/foo_project/src/foo.h"
这会破坏源文件中的 #include <foo.h> 指令。
第二个示例将头文件放在正确的路径中: "gen/fake/fake/../../src/foo.h" 简化为: "gen/src/foo.h"
通过使用 pw_emboss_build_dir_to_root 作为从 root_build_dir 到 // 的逻辑相对路径,可以按词法构造一个 symlink_safe_build_dir,其行为类似于 root_build_dir,而无需解析符号链接。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/third_party/emboss/build_defs.gni:75
pw_env_setup_CIPD_BAZEL
当前值(来自默认值): "../../prebuilt/third_party/bazel/linux-x64/bin"
来自 //build_overrides/pigweed_environment.gni:24
pw_env_setup_CIPD_DEFAULT
当前值(来自默认值): "//prebuilt/third_party"
来自 //build_overrides/pigweed_environment.gni:18
pw_env_setup_CIPD_PIGWEED
当前值(来自默认值): "//prebuilt/third_party"
来自 //build_overrides/pigweed_environment.gni:19
pw_env_setup_CIPD_PYTHON
当前值(来自默认值): "../../prebuilt/third_party/python/linux-x64/bin"
来自 //build_overrides/pigweed_environment.gni:21
pw_external_abseil_cpp
当前值(来自默认值): "//third_party/pigweed/src/third_party/abseil-cpp"
来自 //third_party/pigweed/src/modules.gni:39
pw_external_ambiq
当前值(来自默认值): "//third_party/pigweed/src/third_party/ambiq"
来自 //third_party/pigweed/src/modules.gni:40
pw_external_apollo4
当前值(来自默认值): "//third_party/pigweed/src/third_party/apollo4"
来自 //third_party/pigweed/src/modules.gni:41
pw_external_arduino
当前值(来自默认值): "//third_party/pigweed/src/third_party/arduino"
来自 //third_party/pigweed/src/modules.gni:42
pw_external_boringssl
当前值(来自默认值): "//third_party/pigweed/src/third_party/boringssl"
来自 //third_party/pigweed/src/modules.gni:44
pw_external_chre
当前值(来自默认值): "//third_party/pigweed/src/third_party/chre"
来自 //third_party/pigweed/src/modules.gni:45
pw_external_chromium_verifier
当前值(来自默认值): "//third_party/pigweed/src/third_party/chromium_verifier"
来自 //third_party/pigweed/src/modules.gni:47
pw_external_embos
当前值(来自默认值): "//third_party/pigweed/src/third_party/embos"
来自 //third_party/pigweed/src/modules.gni:48
pw_external_emboss
当前值(来自默认值): "//third_party/pigweed/src/third_party/emboss"
来自 //third_party/pigweed/src/modules.gni:49
pw_external_freertos
当前值(来自默认值): "//third_party/pigweed/src/third_party/freertos"
来自 //third_party/pigweed/src/modules.gni:51
pw_external_fuchsia
当前值(来自默认值): "//third_party/pigweed/src/third_party/fuchsia"
来自 //third_party/pigweed/src/modules.gni:52
pw_external_googletest
当前值(来自默认值): "//third_party/pigweed/src/third_party/googletest"
来自 //third_party/pigweed/src/modules.gni:54
pw_external_llvm_builtins
当前值(来自默认值): "//third_party/pigweed/src/third_party/llvm_builtins"
来自 //third_party/pigweed/src/modules.gni:56
pw_external_llvm_libc
当前值(来自默认值): "//third_party/pigweed/src/third_party/llvm_libc"
来自 //third_party/pigweed/src/modules.gni:58
pw_external_llvm_libcxx
当前值(来自默认值): "//third_party/pigweed/src/third_party/llvm_libcxx"
来自 //third_party/pigweed/src/modules.gni:60
pw_external_mbedtls
当前值(来自默认值): "//third_party/pigweed/src/third_party/mbedtls"
来自 //third_party/pigweed/src/modules.gni:61
pw_external_mcuxpresso
当前值(来自默认值): "//third_party/pigweed/src/third_party/mcuxpresso"
来自 //third_party/pigweed/src/modules.gni:63
pw_external_nanopb
当前值(来自默认值): "//third_party/pigweed/src/third_party/nanopb"
来自 //third_party/pigweed/src/modules.gni:64
pw_external_perfetto
当前值(来自默认值): "//third_party/pigweed/src/third_party/perfetto"
来自 //third_party/pigweed/src/modules.gni:66
pw_external_pico_sdk
当前值(来自默认值): "//third_party/pigweed/src/third_party/pico_sdk"
来自 //third_party/pigweed/src/modules.gni:68
pw_external_protobuf
当前值(来自默认值): "//third_party/pigweed/src/third_party/protobuf"
来自 //third_party/pigweed/src/modules.gni:70
pw_external_repo
当前值(来自默认值): "//third_party/pigweed/src/third_party/repo"
来自 //third_party/pigweed/src/modules.gni:71
pw_external_smartfusion_mss
当前值(来自默认值): "//third_party/pigweed/src/third_party/smartfusion_mss"
来自 //third_party/pigweed/src/modules.gni:73
pw_external_stm32cube
当前值(来自默认值): "//third_party/pigweed/src/third_party/stm32cube"
来自 //third_party/pigweed/src/modules.gni:75
pw_external_threadx
当前值(来自默认值): "//third_party/pigweed/src/third_party/threadx"
来自 //third_party/pigweed/src/modules.gni:76
pw_external_tinyusb
当前值(来自默认值): "//third_party/pigweed/src/third_party/tinyusb"
来自 //third_party/pigweed/src/modules.gni:77
pw_log_BACKEND
pw_log 模块的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/backends/pw_log"
来自 //.gn:81
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_log/backend.gni:17
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/backends/pw_log"
来自 //.gn:81
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_log/backend.gni:17
target_cpu = "x64" 的当前值: "//third_party/pigweed/backends/pw_log"
来自 //.gn:81
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_log/backend.gni:17
pw_log_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_log/BUILD.gn:28
pw_log_GLOG_ADAPTER_CONFIG
此模块的 glog 适配器部分替换默认配置选项的 build 目标。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_log/BUILD.gn:32
pw_module_tests
包含所有 Pigweed 模块测试组的列表。请勿设置此 build 参数!
当前值(来自默认值): ["//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_allocator_zephyr: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_fuchsia:tests", "//third_party/pigweed/src/pw_assert_log:tests", "//third_party/pigweed/src/pw_assert_tokenized:tests", "//third_party/pigweed/src/pw_assert_trap: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_async_basic:tests", "//third_party/pigweed/src/pw_async_fuchsia:tests", "//third_party/pigweed/src/pw_atomic: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_buf: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_change: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_cli_analytics:tests", "//third_party/pigweed/src/pw_clock_tree:tests", "//third_party/pigweed/src/pw_clock_tree_mcuxpresso: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_digital_io_zephyr:tests", "//third_party/pigweed/src/pw_display:tests", "//third_party/pigweed/src/pw_dma_mcuxpresso:tests", "//third_party/pigweed/src/pw_docgen:tests", "//third_party/pigweed/src/pw_doctor:tests", "//third_party/pigweed/src/pw_elf:tests", "//third_party/pigweed/src/pw_emu:tests", "//third_party/pigweed/src/pw_enum: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_flatbuffers:tests", "//third_party/pigweed/src/pw_format:tests", "//third_party/pigweed/src/pw_fortifier:tests", "//third_party/pigweed/src/pw_function:tests", "//third_party/pigweed/src/pw_fuzzer:tests", "//third_party/pigweed/src/pw_ghish:tests", "//third_party/pigweed/src/pw_grpc:tests", "//third_party/pigweed/src/pw_hal:tests", "//third_party/pigweed/src/pw_hdlc:tests", "//third_party/pigweed/src/pw_hex_dump:tests", "//third_party/pigweed/src/pw_hil: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_i2c_zephyr: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_freertos: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_kernel: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_fuchsia: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_memory:tests", "//third_party/pigweed/src/pw_metric: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_numeric: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_random_fuchsia: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_rpc2: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_spi_zephyr: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_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_time: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_trace:tests", "//third_party/pigweed/src/pw_trace_tokenized:tests", "//third_party/pigweed/src/pw_transfer:tests", "//third_party/pigweed/src/pw_transport:tests", "//third_party/pigweed/src/pw_uart:tests", "//third_party/pigweed/src/pw_uart_mcuxpresso:tests", "//third_party/pigweed/src/pw_unit_test:tests", "//third_party/pigweed/src/pw_uuid: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"]
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:445
pw_modules
包含所有 Pigweed 模块路径的列表。请勿设置此 build 参数!
当前值(来自默认值): ["//third_party/pigweed/src/docker", "//third_party/pigweed/src/pw_alignment", "//third_party/pigweed/src/pw_allocator", "//third_party/pigweed/src/pw_allocator_zephyr", "//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_fuchsia", "//third_party/pigweed/src/pw_assert_log", "//third_party/pigweed/src/pw_assert_tokenized", "//third_party/pigweed/src/pw_assert_trap", "//third_party/pigweed/src/pw_assert_zephyr", "//third_party/pigweed/src/pw_async", "//third_party/pigweed/src/pw_async2", "//third_party/pigweed/src/pw_async_basic", "//third_party/pigweed/src/pw_async_fuchsia", "//third_party/pigweed/src/pw_atomic", "//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_buf", "//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_change", "//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_cli_analytics", "//third_party/pigweed/src/pw_clock_tree", "//third_party/pigweed/src/pw_clock_tree_mcuxpresso", "//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_digital_io_zephyr", "//third_party/pigweed/src/pw_display", "//third_party/pigweed/src/pw_dma_mcuxpresso", "//third_party/pigweed/src/pw_docgen", "//third_party/pigweed/src/pw_doctor", "//third_party/pigweed/src/pw_elf", "//third_party/pigweed/src/pw_emu", "//third_party/pigweed/src/pw_enum", "//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_flatbuffers", "//third_party/pigweed/src/pw_format", "//third_party/pigweed/src/pw_fortifier", "//third_party/pigweed/src/pw_function", "//third_party/pigweed/src/pw_fuzzer", "//third_party/pigweed/src/pw_ghish", "//third_party/pigweed/src/pw_grpc", "//third_party/pigweed/src/pw_hal", "//third_party/pigweed/src/pw_hdlc", "//third_party/pigweed/src/pw_hex_dump", "//third_party/pigweed/src/pw_hil", "//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_i2c_zephyr", "//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_freertos", "//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_kernel", "//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_fuchsia", "//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_memory", "//third_party/pigweed/src/pw_metric", "//third_party/pigweed/src/pw_module", "//third_party/pigweed/src/pw_multibuf", "//third_party/pigweed/src/pw_multisink", "//third_party/pigweed/src/pw_numeric", "//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_random_fuchsia", "//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_rpc2", "//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_spi_zephyr", "//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_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_time", "//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_trace", "//third_party/pigweed/src/pw_trace_tokenized", "//third_party/pigweed/src/pw_transfer", "//third_party/pigweed/src/pw_transport", "//third_party/pigweed/src/pw_uart", "//third_party/pigweed/src/pw_uart_mcuxpresso", "//third_party/pigweed/src/pw_unit_test", "//third_party/pigweed/src/pw_uuid", "//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"]
来自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:246
pw_preprocessor_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_preprocessor/BUILD.gn:25
pw_protobuf_compiler_GENERATE_LEGACY_ENUM_SNAKE_CASE_NAMES
pwpb 之前以 SNAKE_CASE 而非 kConstantCase 格式生成字段枚举名称。将此变量设置为暂时启用旧版 SNAKE_CASE 支持,同时将代码库迁移到 kConstantCase。 b/266298474
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:28
pw_protobuf_compiler_GENERATE_PROTOS_ARGS
generate_protos.py 的参数
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:43
pw_protobuf_compiler_GENERATE_PYTHON_TYPE_HINTS
生成 .pyi 文件以进行 Python 类型提示。这需要 PATH 中提供“protoc-gen-mypy”。
target_cpu = "arm64" 的当前值: false
来自 //.gn:140
已覆盖默认值: true
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40
target_cpu = "riscv64" 的当前值: false
来自 //.gn:140
已覆盖默认值: true
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40
target_cpu = "x64" 的当前值: false
来自 //.gn:140
已覆盖默认值: true
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40
pw_protobuf_compiler_NO_GENERIC_OPTIONS_FILES
如果为 true,则需要对 pw_protobuf 选项文件使用 .pwpb_options 扩展程序。如果为 false,则还允许使用通用 .options。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:32
pw_protobuf_compiler_NO_ONEOF_CALLBACKS
如果为 true,则禁止对 oneof 字段使用回调接口,并保留旧版“oneof 作为结构体成员”接口。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:36
pw_protobuf_compiler_PROTOC_BINARY
如需替换所用的 protobuf 编译器,请将其设置为 protoc 二进制文件的路径(相对于 root_build_dir)。
target_cpu = "arm64" 的当前值: "host_x64/protoc"
来自 //.gn:130
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59
target_cpu = "riscv64" 的当前值: "host_x64/protoc"
来自 //.gn:130
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59
target_cpu = "x64" 的当前值: "host_x64/protoc"
来自 //.gn:130
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59
pw_protobuf_compiler_PROTOC_PYTHON_DEPS
运行 protoc 时要包含的可选 Python 软件包依赖项。
target_cpu = "arm64" 的当前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]
来自 //.gn:134
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42
target_cpu = "riscv64" 的当前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]
来自 //.gn:134
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42
target_cpu = "x64" 的当前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]
来自 //.gn:134
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42
pw_protobuf_compiler_PROTOC_TARGET
如需替换所用的 protobuf 编译器,请将其设置为构建 protobuf 编译器的 GN 目标。
target_cpu = "arm64" 的当前值: "//third_party/protobuf:protoc"
来自 //.gn:129
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39
target_cpu = "riscv64" 的当前值: "//third_party/protobuf:protoc"
来自 //.gn:129
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39
target_cpu = "x64" 的当前值: "//third_party/protobuf:protoc"
来自 //.gn:129
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39
pw_protobuf_compiler_TOOLCHAIN
当前值(来自默认值): "//third_party/pigweed/src/pw_protobuf_compiler/toolchain:protocol_buffer"
来自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:22
pw_rbe_arm_gcc_config
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_toolchain/rbe.gni:30
pw_rbe_clang_config
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_toolchain/rbe.gni:29
pw_rust_ENABLE_EXPERIMENTAL_BUILD
支持编译 Pigweed 的 Rust 库。
警告:此功能尚处于实验阶段,不保证一定可以使用。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_rust/rust.gni:19
pw_rust_USE_STD
当前值(来自默认值): true
来自 //third_party/pigweed/src/pw_rust/rust.gni:21
pw_span_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
大多数模块都依赖于 pw_build_DEFAULT_MODULE_CONFIG 作为默认配置,但由于此模块的配置选项需要与构建系统交互,因此默认使用内部配置来正确支持 pw_span_ENABLE_ASSERTS。
当前值(来自默认值): "//third_party/pigweed/src/pw_span:span_asserts"
来自 //third_party/pigweed/src/pw_span/BUILD.gn:37
pw_span_ENABLE_ASSERTS
是否在 pw::span 中启用边界检查断言。启用此功能可能会显著增加二进制文件大小,并且如果 pw_assert 后端的头文件直接或间接依赖于 pw_span,则可能会引入依赖项循环。建议尽可能为调试 build 启用此功能。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_span/BUILD.gn:27
pw_status_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_status/BUILD.gn:26
pw_string_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/pw_string/BUILD.gn:26
pw_sync_BINARY_SEMAPHORE_BACKEND
pw_sync 模块的二进制信号量的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"
来自 //.gn:83
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:17
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"
来自 //.gn:83
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:17
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"
来自 //.gn:83
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:17
pw_sync_CONDITION_VARIABLE_BACKEND
pw_sync 模块的条件变量的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:20
pw_sync_COUNTING_SEMAPHORE_BACKEND
pw_sync 模块的计数信号量的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:23
pw_sync_INTERRUPT_SPIN_LOCK_BACKEND
pw_sync 模块的中断自旋锁的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:interrupt_spin_lock"
来自 //.gn:85
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:35
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:interrupt_spin_lock"
来自 //.gn:85
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:35
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:interrupt_spin_lock"
来自 //.gn:85
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:35
pw_sync_MUTEX_BACKEND
pw_sync 模块互斥量的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"
来自 //.gn:86
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:26
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"
来自 //.gn:86
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:26
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"
来自 //.gn:86
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:26
pw_sync_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK
在确保为 pw_chrono_SYSTEM_CLOCK_BACKEND 选择兼容的后端时,是否应静默 GN 断言。 设置为 true 可停用断言。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_sync/backend.gni:46
pw_sync_RECURSIVE_MUTEX_BACKEND
pw_sync 模块的递归互斥量的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:32
pw_sync_THREAD_NOTIFICATION_BACKEND
pw_sync 模块的线程通知的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"
来自 //.gn:87
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:38
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"
来自 //.gn:87
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:38
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"
来自 //.gn:87
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:38
pw_sync_TIMED_MUTEX_BACKEND
pw_sync 模块的定时互斥量的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:29
pw_sync_TIMED_THREAD_NOTIFICATION_BACKEND
pw_sync 模块的定时线程通知的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"
来自 //.gn:88
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:41
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"
来自 //.gn:88
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:41
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"
来自 //.gn:88
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_sync/backend.gni:41
pw_third_party_boringssl_ALIAS
创建一个“$pw_external_boringssl”目标,该目标是现有目标的别名。如果下游项目使用自己的 boringssl 目标,并且无法更改为仅使用 Pigweed 的 boringssl,则可以使用此方法来修复菱形依赖项冲突。
target_cpu = "arm64" 的当前值: "//third_party/boringssl"
来自 //.gn:107
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25
target_cpu = "riscv64" 的当前值: "//third_party/boringssl"
来自 //.gn:107
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25
target_cpu = "x64" 的当前值: "//third_party/boringssl"
来自 //.gn:107
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25
pw_third_party_emboss_CONFIG
当前值(来自默认值): "//third_party/pigweed/src/third_party/emboss:default_overrides"
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:24
pw_third_party_emboss_USE_GEN_SOURCES
使用 Emboss 项目提供的预生成来源列表。此标志旨在临时使用,直到下游用户有足够的时间将其 Emboss 更新到较新版本。 TODO(b/449017056): Remove this flag when downstream users have migrated.
target_cpu = "arm64" 的当前值: "true"
来自 //.gn:111
已覆盖默认值: "false"
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:30
target_cpu = "riscv64" 的当前值: "true"
来自 //.gn:111
已覆盖默认值: "false"
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:30
target_cpu = "x64" 的当前值: "true"
来自 //.gn:111
已覆盖默认值: "false"
来自 //third_party/pigweed/src/third_party/emboss/emboss.gni:30
pw_third_party_googletest_ALIAS
如果使用自定义 googletest 目标进行编译,请将此变量设置为指向其标签。与 dir_pw_third_party_googletest 定义不兼容。
target_cpu = "arm64" 的当前值: "//third_party/googletest:gmock_no_testonly"
来自 //.gn:156
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/googletest/googletest.gni:24
target_cpu = "riscv64" 的当前值: "//third_party/googletest:gmock_no_testonly"
来自 //.gn:156
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/googletest/googletest.gni:24
target_cpu = "x64" 的当前值: "//third_party/googletest:gmock_no_testonly"
来自 //.gn:156
已覆盖默认值: ""
来自 //third_party/pigweed/src/third_party/googletest/googletest.gni:24
pw_third_party_mbedtls_CONFIG_HEADER
当前值(来自默认值): "//third_party/pigweed/src/third_party/mbedtls/configs/config_pigweed.h"
来自 //third_party/pigweed/src/third_party/mbedtls/mbedtls.gni:33
pw_third_party_nanopb_AGGRESSIVE_NANOPB_PB2_REGEN
已弃用,不执行任何操作。
当前值(来自默认值): true
来自 //third_party/pigweed/src/third_party/nanopb/nanopb.gni:30
pw_third_party_nanopb_CONFIG
用于替换此模块的默认配置选项的 build 目标。这应指向通过公共配置提供定义的源代码集(可能包含文件或直接添加定义)。
当前值(来自默认值): "//third_party/pigweed/src/pw_build:empty"
来自 //third_party/pigweed/src/third_party/nanopb/nanopb.gni:27
pw_thread_ID_BACKEND
pw_thread 模块的 pw::Thread::id 的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:19
pw_thread_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK
在确保为 pw_chrono_SYSTEM_CLOCK_BACKEND 选择兼容的后端时,是否应静默 GN 断言。 设置为 true 可停用断言。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_thread/backend.gni:42
pw_thread_SLEEP_BACKEND
pwthread 模块的 pw::thread::sleep{for,until} 的后端。
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_thread_stl:sleep"
来自 //.gn:90
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:22
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_thread_stl:sleep"
来自 //.gn:90
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:22
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_thread_stl:sleep"
来自 //.gn:90
已覆盖默认值: ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:22
pw_thread_TEST_THREAD_CONTEXT_BACKEND
pw_thread 模块的 pw::thread::test_thread_context 的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:37
pw_thread_THREAD_BACKEND
pw_thread 模块的 pw::Thread 的后端,用于创建线程。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:25
pw_thread_THREAD_CREATION_BACKEND
当前值(来自默认值): "//third_party/pigweed/src/pw_thread:generic_thread_creation_unsupported"
来自 //third_party/pigweed/src/pw_thread/backend.gni:31
pw_thread_THREAD_ITERATION_BACKEND
pw_thread 模块的 pw::thread::thread_iteration 的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:45
pw_thread_YIELD_BACKEND
pw_thread 模块的 pw::thread::yield 的后端。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_thread/backend.gni:34
pw_toolchain_CLANG_PREFIX
此标志允许您指定一个前缀,以便在使用基于 clang 的工具链进行编译时,将该前缀用于 clang、clang++ 和 llvm-ar 二进制文件。 这对于通过使用外部提供的工具链进行构建来调试与工具链相关的问题非常有用。
Pigweed 工具链不应替换此变量,以便项目或用户可以通过 .gn 或将其设置为常规 gn 参数(例如 gn gen --args='pw_toolchain_CLANG_PREFIX=/path/to/my-llvm-')来控制它。
示例: pw_toolchain_CLANG_PREFIX = "" 命令:“clang”(来自 PATH)
pw_toolchain_CLANG_PREFIX = "my-" command: "my-clang"(来自 PATH)
pw_toolchain_CLANG_PREFIX = "/bin/my-" 命令:"/bin/my-clang"(绝对路径)
pw_toolchain_CLANG_PREFIX = "//environment/clang_next/" command: "../environment/clang_next/clang"(相对路径)
GN 模板应使用 pw_toolchain_clang_tools.* 来获取预期的命令字符串,而不是直接依赖 pw_toolchain_CLANG_PREFIX。
如果前缀以“//”开头,则会重新定位到相对于根 build 目录的位置。
当前值(来自默认值): "//prebuilt/third_party/bin/"
来自 //third_party/pigweed/src/pw_toolchain/clang_tools.gni:58
pw_toolchain_COVERAGE_ENABLED
指示此工具链是否支持从 pw_test 目标生成覆盖率报告。
例如,运行 clang-tidy 而不是测试二进制文件本身的静态分析工具链无法生成覆盖率报告。
这通常由各个工具链设置,而不是由 GN 参数设置。
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:32
pw_toolchain_PROFILE_SOURCE_FILES
要选择性收集覆盖率的源文件列表。
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:35
pw_toolchain_RBE_DEBUG
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_toolchain/rbe.gni:26
pw_toolchain_RUST_PREFIX
此标志允许您为 rustc 指定前缀。
这遵循与 pw_toolchain_CLANG_PREFIX 相同的规则,如需了解详情,请参阅上文。
如果前缀以“//”开头,则会重新定位到相对于根 build 目录的位置。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_toolchain/clang_tools.gni:67
pw_toolchain_SANITIZERS
设置要传递给 clang 的排错程序。有效值为“address”“memory”“thread”“undefined”“undefined_heuristic”。
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:23
pw_toolchain_SCOPE
定义当前工具链的作用域。包含 generate_toolchain 模板所需的所有参数。请勿手动修改此文件。
当前值(来自默认值): { }
来自 //third_party/pigweed/src/pw_toolchain/toolchain_args.gni:18
pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS
为特定包含路径停用 clang-tidy。在 clang-tidy 命令中,以其中一个路径结尾或作为正则表达式匹配的包含路径会从 -I 切换到 -isystem,这会导致 clang-tidy 忽略它们。遗憾的是,clang-tidy 没有提供其他方法来过滤头文件。
例如,以下代码会忽略“repo/include”中的头文件:
pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS = ["repo/include"]
而以下命令会忽略所有第三方头文件:
pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS = ["./third_party/."]
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:48
pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES
与要从分析中排除的源文件的路径匹配的正则表达式。clang-tidy 不提供替代选项。
例如,以下命令会针对 third_party 目录中的所有源文件停用 clang-tidy:
pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES = ["third_party/.*"]
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:33
pw_toolchain_USE_RBE
当前值(来自默认值): false
来自 //third_party/pigweed/src/pw_toolchain/rbe.gni:20
pw_unit_test_AUTOMATIC_RUNNER
测试运行程序的路径,用于在单元测试构建完成后自动运行这些测试。
如果设置,pw_test 目标的 <target_name>.run 操作将调用此参数指定的测试运行程序,并将路径传递给要运行的单元测试。如果未设置此属性,pw_test 目标的 <target_name>.run 步骤将不执行任何操作。
不支持并行执行单元测试的目标(例如,必须刷写设备并串行运行测试的设备端测试运行程序)应将 pw_unit_test_POOL_DEPTH 设置为 1。
类型:字符串(PATH 上的可执行文件的名称,或可执行文件的路径) 用法:仅由工具链控制
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_unit_test/test.gni:53
pw_unit_test_AUTOMATIC_RUNNER_ARGS
要转发到自动运行程序的可选参数列表。
类型:字符串列表(要传递给 pw_unit_test_AUTOMATIC_RUNNER 的参数) 用法:仅由工具链控制
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_unit_test/test.gni:59
pw_unit_test_AUTOMATIC_RUNNER_TIMEOUT
通过自动运行程序运行测试时要应用的可选超时。 超时时间以秒为单位。默认值为空,表示无超时。
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_unit_test/test.gni:63
pw_unit_test_BACKEND
单元测试框架实现。默认为 pw_unit_test:light,它实现了可在设备上安全运行的 GoogleTest 子集。使用 GoogleTest 时,请设置为 //pw_unit_test:googletest。
类型:字符串(指向源代码集的 GN 路径) 用法:仅由工具链控制
target_cpu = "arm64" 的当前值: "//third_party/pigweed/src/pw_unit_test:googletest"
来自 //.gn:151
已覆盖默认值: "//third_party/pigweed/src/pw_unit_test:light"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:31
target_cpu = "riscv64" 的当前值: "//third_party/pigweed/src/pw_unit_test:googletest"
来自 //.gn:151
已覆盖默认值: "//third_party/pigweed/src/pw_unit_test:light"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:31
target_cpu = "x64" 的当前值: "//third_party/pigweed/src/pw_unit_test:googletest"
来自 //.gn:151
已覆盖默认值: "//third_party/pigweed/src/pw_unit_test:light"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:31
pw_unit_test_EXECUTABLE_TARGET_TYPE
用于构建 pw_unit_test 可执行文件的 GN 目标类型的名称。
类型:字符串(GN 模板的名称) 用法:仅由工具链控制
当前值(来自默认值): "pw_executable"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:92
pw_unit_test_EXECUTABLE_TARGET_TYPE_FILE
定义 pw_unit_test_EXECUTABLE_TARGET_TYPE 的 .gni 文件的路径。
如果 pw_unit_test_EXECUTABLE_TARGET_TYPE 不是默认值 pw_executable,则会导入此 .gni 文件以提供模板定义。
类型:字符串(.gni 文件的路径) 用法:仅由工具链控制
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_unit_test/test.gni:102
pw_unit_test_MAIN
为 pw_test 单元测试二进制文件实现 main 函数。必须设置为 pw_unit_test 后端的适当目标。
类型:字符串(指向源代码集的 GN 路径) 用法:仅由工具链控制
target_cpu = "arm64" 的当前值: "//src/lib/fxl/test:gtest_main"
来自 //.gn:149
已覆盖默认值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:38
target_cpu = "riscv64" 的当前值: "//src/lib/fxl/test:gtest_main"
来自 //.gn:149
已覆盖默认值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:38
target_cpu = "x64" 的当前值: "//src/lib/fxl/test:gtest_main"
来自 //.gn:149
已覆盖默认值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"
来自 //third_party/pigweed/src/pw_unit_test/test.gni:38
pw_unit_test_POOL_DEPTH
当前工具链可同时运行的单元测试数量上限。将此值设置为 0 会停用池的使用,从而允许无限并行化。
类型:整数 用法:仅由工具链控制
当前值(来自默认值): 0
来自 //third_party/pigweed/src/pw_unit_test/test.gni:76
pw_unit_test_POOL_TOOLCHAIN
引用 pw_unit_test 运行程序池时要使用的工具链。停用此选项后,系统会使用当前工具链。这意味着每个工具链都将使用自己的池定义。如果两个工具链应共享同一池,则此参数应由其中一个工具链指向另一个工具链的 GN 路径。
类型:字符串(工具链的 GN 路径) 用法:仅限工具链控制
当前值(来自默认值): ""
来自 //third_party/pigweed/src/pw_unit_test/test.gni:86
pw_unit_test_TESTONLY
如果为 true,则 pw_unit_test 目标、pw_test 目标和 pw_test_group 目标将定义 testonly = true。为了向后兼容,此值默认为 false。
target_cpu = "arm64" 的当前值: true
来自 //.gn:152
已覆盖默认值: false
来自 //third_party/pigweed/src/pw_unit_test/test.gni:107
target_cpu = "riscv64" 的当前值: true
来自 //.gn:152
已覆盖默认值: false
来自 //third_party/pigweed/src/pw_unit_test/test.gni:107
target_cpu = "x64" 的当前值: true
来自 //.gn:152
已覆盖默认值: false
来自 //third_party/pigweed/src/pw_unit_test/test.gni:107
qemu_boot_format
与 QEMU 搭配使用的启动格式。此选项用于选择要与 QEMU 搭配使用的启动格式,从而确定将哪种启动 shim 实现用作 QEMU“内核”。有效的替代方案因机器而异,但包括“linuxboot”。
当前值(来自默认值): "linuxboot"
来自 //zircon/kernel/phys/qemu.gni:167
rbe_extra_reproxy_configs
其他 reproxy 配置文件。
这些文件会按照出现顺序与主 reproxy_config_file 有效串联。此列表中后面文件的设置优先于列表中前面文件的设置。
当前值(来自默认值): []
来自 //build/toolchain/rbe.gni:31
rbe_mode
RBE 运行的整体模式。有效值为: * 'off' => RBE 完全停用。这适用于仅使用本地资源进行离线构建。 * 'legacy_default' => 如果未另行指定,则使用标准 RBE 配置。其中包含已启用/已停用的远程服务。 * 'remote_full' => 尽可能多地远程运行操作,包括缓存未命中,这会减少本地资源的使用。* 'racing' => 针对某些操作类型,让远程执行与本地执行竞速。*“cloudtop”=> 针对在 cloudtop 上运行进行了优化的 RBE 配置。适用于与远程服务的高带宽连接以及下载远程输出。* 'workstation' => 针对在大型工作站上运行进行了优化的 RBE 配置。适用于具有大量快速核心且与远程服务具有高带宽连接的机器。 * 'infra' => 建议 CI/CQ 机器人使用的 RBE 配置。 此外,它还使用高带宽。 * 'remote_cache_only' => 仅将 RBE 用作远程缓存:如果缓存未命中,则在本地执行,而不是在远程执行。 * 'low_bandwidth_remote' => 适用于低网络带宽的 RBE 配置。 通过避免下载某些中间结果来节省带宽。 * 'nocache' => 强制所有缓存未命中,并在远程重新执行。
当前值(来自默认值): "off"
来自 //build/toolchain/rbe_modes.gni:44
rbe_settings_overrides
RBE 模式的替换设置。这是一组替换值,用于替换由所选 RBE 模式(见上文)设置了默认值的变量。
当前值(来自默认值): { }
来自 //build/toolchain/rbe_modes.gni:48
recovery_board_configuration_label
可能需要为恢复使用与主产品不同的配置。默认情况下,使用同一块板。
这是一个单独的 declare_args() 块,因此它可以默认为“board_configuration_label”提供的值
当前值(来自默认值): "//boards/arm64"
redirect_guest_serial_logs
如果为 true,则会将客机串行输出重定向到系统日志。
当前值(来自默认值): false
来自 //src/virtualization/bin/args.gni:11
remove_default_configs
target_cpu = "arm64" 的当前值: ["//third_party/pigweed/src/pw_build:reduced_size"]
来自 //.gn:165
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36
target_cpu = "riscv64" 的当前值: ["//third_party/pigweed/src/pw_build:reduced_size"]
来自 //.gn:165
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36
target_cpu = "x64" 的当前值: ["//third_party/pigweed/src/pw_build:reduced_size"]
来自 //.gn:165
已覆盖默认值: []
来自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36
remove_default_public_deps
当前值(来自默认值): []
来自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:37
repository_publish_blob_copy_mode
控制将 blob 复制到代码库时要使用的模式。 支持的模式包括:
copy:如果代码库中尚不存在该 blob,则复制该 blob。这将在支持写时复制的文件系统上使用写时复制来高效复制 blob。copy-overwrite:始终复制 blob,覆盖 blob 代码库中存在的任何 blob。这将在支持写时复制的文件系统上使用写时复制来高效复制 blob。hard-link:将 blob 硬链接到代码库中,或者如果无法在 blob 与 blob 代码库之间创建硬链接,则复制。请注意,您可以通过硬链接修改 blob,这会导致 blob 与 blob 的 Merkle 不匹配。
当前值(来自默认值): "hard-link"
来自 //src/sys/pkg/bin/package-tool/package-tool.gni:141
restat_cc
设置为 true 可使 C++ 编译保留未更改输出的时间戳。re-client 通过 --preserve_unchanged_output_mtime 提供此功能,因此在使用 cxx_rbe_enable 时,默认设置为 true 是合理的。不使用 re-client 时,您仍然可以通过 restat_wrapper 脚本获得“write-if-change”行为,但代价是封装容器开销(与操作修剪相比的权衡)。
当前值(来自默认值): false
来自 //build/toolchain/restat.gni:28
restat_rust
设置为 true 可使 Rust 编译保留未更改输出的时间戳。
当前值(来自默认值): true
来自 //build/toolchain/restat.gni:20
riscv64_enable_vector
LINT.IfChange(riscv64_enable_vector) 是否启用 RISC-V 向量指令。
当前值(来自默认值): true
来自 //build/config/riscv64/riscv64.gni:11
rust_cap_lints
设置最大 lint 级别。“deny”会将所有警告转换为错误,“warn”会将它们保留为警告,“allow”会忽略警告。 LINT.IfChange
当前值(来自默认值): "deny"
rust_debug_assertions
启用调试断言,例如用于溢出检查。
当前值(来自默认值): false
rust_incremental
启用增量 Rust 编译。接受要用作缓存的目录的路径。
当前值(来自默认值): ""
rust_lto
设置 rustc build 的默认 LTO 类型。
当前值(来自默认值): ""
rust_one_rlib_per_dir
为了避免在构建期间因外部搜索路径解析为多个路径而导致构建不确定性,此选项会将每个 rlib 放入其自己的专属目录中。这需要 rustc_use_response_file = true,因为这会导致命令行膨胀。
当前值(来自默认值): true
rust_parallel_frontend_threads
使用 N 个线程启用 Rust 并行前端
当前值(来自默认值): false
rust_rbe_check
运行一项更昂贵的检查,适用于 CI。 所有这些都需要 rust_rbe_enable=true。
以下权限之一:
“none”:不进行额外检查。
"determinism": 通过在本地运行两次并比较输出来检查 rustc 目标的确定性,如果发现任何差异,则失败。 即使此检查不涉及 RBE,它也会使用相同的封装容器脚本,该脚本知道要预期和比较哪些输出文件。
不建议使用依赖于时间的构建输出,因为它们会影响缓存。 如果您的结果取决于当前时间,则此检查肯定会失败。如果仅取决于日期,那么如果重新运行发生在第二天,则失败的可能性仍然不为零。
"consistency": 通过运行本地和远程 Rust 编译并比较结果,检查两者之间的一致性。
当前值(来自默认值): "none"
来自 //build/toolchain/rbe.gni:144
rust_rbe_download_rlibs
TODO(b/42084033):控制是否从远程 Rust 构建操作下载(中间)rlib。
当前值(来自默认值): true
来自 //build/toolchain/rbe.gni:156
rust_rbe_download_unstripped_binaries
当前值(来自默认值): true
来自 //build/toolchain/rbe.gni:152
rust_rbe_enable
设置为 true 可启用使用 RBE 的 Rust 分布式编译。
当前值(来自默认值): false
来自 //build/toolchain/rbe.gni:97
rust_rbe_exec_strategy
以下权限之一:
"remote":在缓存未命中时远程执行操作。远程缓存始终会使用此结果进行更新。
"local":在远程缓存中查找操作,但在缓存未命中时在本地执行操作。本地生成的结果不会上传到远程缓存。
"remote_local_fallback":首先远程执行操作。 如果失败,请改为在本地运行。本地生成的结果不会上传到远程缓存。
“racing”:本地执行与远程执行竞速,以先完成者为准。
“nocache”:强制执行远程执行,而不使用缓存的结果。 这对于对缓存未命中场景进行基准测试非常有用。
(还有其他未公开的 rewrapper 选项。)
当前值(来自默认值): "remote"
来自 //build/toolchain/rbe.gni:118
rust_v0_symbol_mangling
控制 Rust 编译器是否使用 v0 符号重整方案(请参阅 https://github.com/rust-lang/rfcs/blob/HEAD/text/2603-rust-symbol-name-mangling-v0.md)。
当前值(来自默认值): true
rust_virtio_net
如果为 true,则使用新的 Rust virtio-net 设备,而不是旧版 C++ 设备。
当前值(来自默认值): true
来自 //src/virtualization/bin/args.gni:8
rustc_prefix
为 rustc 和 cargo 设置自定义基本目录。
这可用于测试自定义 Rust 工具链。
LINT.IfChange
当前值(来自默认值): "//prebuilt/third_party/rust/linux-x64"
rustc_timeout
用于捕获 rustc 挂起的超时,以秒为单位。值为 0 表示不超时
当前值(来自默认值): 0
rustc_use_response_files
将冗长的 rustdeps 和 externs (GN) 放入 ninja 响应文件。 需要使用响应文件来绕过命令行长度限制。 rustc 对响应文件的支持(根据 GN build 的需要)已通过修订版本“git_revision:dfe53afaebd817f334d8ef9dc75a5cd2562cf6e6”添加。
当前值(来自默认值): true
rustc_version_description
工具链版本的人类可读标识符。
TODO(tmandry): Make this the same repo/revision info from rustc --version.
例如,clang_version_description = read_file("$_rustc_lib_dir/VERSION")
当前值(来自默认值): ""
rustc_version_string
这是一个用于标识所用特定工具链版本的字符串。其唯一目的是确保在切换到新工具链时,该值会发生变化,从而触发使用新编译器重新编译。
使用预构建时,系统会忽略此参数,并使用预构建的 CIPD 实例 ID。
当前值(来自默认值): "VdCMmaRWnQdMkfLlz7Jtb86RD9TPcbmbpqHSO357c50C"
rustdoc_extern_html_root_url_base
当前值(来自默认值): "https://fuchsia-docs.firebaseapp.com/rust"
scenic_enable_vulkan_validation
在 scenic 中添加 Vulkan 验证层。
当前值(来自默认值): false
来自 //src/ui/scenic/lib/utils/build_args.gni:10
scheduler_extra_invariant_validation
启用对调度器不变量的额外(昂贵)验证,以协助调试调度器行为的更改。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:47
scheduler_lock_spin_tracing_compressed
在跟踪锁自旋事件时启用压缩记录。这些事件在跟踪可视化工具中更难解读,但占用的空间更少,并且会向解析锁定跟踪数据的脚本提供相同的信息。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:57
scheduler_lock_spin_tracing_enabled
启用调度器锁自旋跟踪事件,以便进行基于跟踪的调度器性能分析。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:51
scheduler_queue_tracing_enabled
启用调度器队列跟踪,以便进行基于跟踪的调度器性能分析。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:43
scheduler_tracing_level
启用后,调度器跟踪记录的详细程度。大于零的值会增加细节,但代价是增加跟踪缓冲区的使用。
0 = 默认(标准)kernel:sched 跟踪。 1 = 为关键调度器操作添加时长跟踪记录。 2 = 添加带宽计数器,用于统计利用率和处理速率。 3 = 添加运行队列事件。 4 = 添加从唤醒到运行状态的流事件。 5 = 为其他统计信息和估算值添加计数器。 6 = 添加详细的内部事件。
当前值(来自默认值): 0
来自 //zircon/kernel/params.gni:39
scudo_default_options
默认 Scudo 选项(在运行时读取 SCUDO_OPTIONS 环境变量之前)。Scudo 是 Fuchsia C 库中的内存分配器,因此这会影响所有 Fuchsia 程序。这可以是字符串列表,也可以是单个字符串。
其运作方式与 asan_default_options 及其针对其他排错程序的同类项类似,但略有不同。如果此变量为空,则根本不会将 __scudo_default_options 函数注入程序。各个目标可以使用对 sanitizer_extra_options() 目标的依赖项来注入选项,并且这些选项将与 scudo_default_options 的任何 build 级设置兼容。程序可以定义自己的 __scudo_default_options 函数,但这样做会破坏将此变量设置为非空的所有 build,因此 build 中需要此类设置的任何程序(应仅在测试中)都可以改用 sanitizer_extra_options() 机制。
当前值(来自默认值): []
来自 //build/config/sanitizers/sanitizer_default_options.gni:84
sdk_archive_labels
要上传到制品库的其他 idk_archive() 标签。这是一种针对主代码库之外的 IDK 位的扩展机制。
当前值(来自默认值): []
sdk_cross_compile_host_tools
是否为所有受支持的主机工具链(而不仅仅是当前主机工具链)交叉编译 SDK 工具。 例如,如果此值为 true,那么在 Linux x64 上构建时,您还将为 Linux arm64 构建 SDK 主机工具。
当前值(来自默认值): false
sdk_id
核心 SDK 的标识符。 LINT.IfChange
当前值(来自默认值): "33.99991231.0.1"
sdk_inside_sub_build
当前是否正在构建子 build(而不是以“PLATFORM”和主要目标 CPU 架构为目标的主要 build)。 尽可能优先使用其他机制。 对于任何 API 级别(包括“PLATFORM”)和 CPU 架构,此值都可以为 true。
当前值(来自默认值): false
sdk_max_simultaneous_sub_builds
如果未设置 enable_jobserver 或 cxx_rbe_enable 为 false,则此值会提供可能同时运行的子 build 数量上限。 数字越大,意味着以下好处: - GN 和 ninja 的固有单线程部分具有更好的并行化。 - 面对构建中的“落后者”(即每个子构建执行少量操作的情况),并行化效果更好。
但也会带来以下负面影响:
- 内存用量增加,可能导致交换和运行缓慢。
- 当构建过程实际上受 CPU 限制时,CPU 争用会更严重。
- 可能会强制降低 sdk_sub_build_parallelism 的值,因为总负载与 sdk_max_simultaneous_sub_builds *
sdk_sub_build_parallelism 成正比。
之所以选择 5,主要是因为我的每只手都有 5 根手指。
当前值(来自默认值): 5
sdk_sub_build_max_load_average
如果未设置 enable_jobserver,则在子 build 期间传递给 ninja 的 -l 值。如果系统上的系统平均负载超过此值,ninja 将自行限制。如果留空,子 build 脚本会进行猜测。
当前值(来自默认值): ""
sdk_sub_build_parallelism
如果未设置 enable_jobserver,则在子 build 期间传递给 ninja 的 -j 值。请注意,最多可能有 sdk_max_simultaneous_sub_builds 个子 build 并行运行,因此并发操作的数量可能高达此数量乘以并发子 build 的数量。如果留空,子 build 脚本会进行猜测。
当前值(来自默认值): ""
sdk_sub_build_verbose
设置为 true 可在 IDK 子 build 期间启用详细日志记录。
当前值(来自默认值): false
select_variant
用于请求特定目标的变体 build 的“选择器”列表。 每个选择器都会指定匹配条件和所选变体。 列表中与给定目标匹配的第一个选择器决定了该目标使用哪个变体。
每个选择器都是一个字符串或一个范围。快捷选择器是一个字符串,它会扩展为完整选择器。完整选择器是一个范围,如下所述。
字符串选择器可以匹配 select_variant_shortcuts 中的名称。如果它不是其中列出的特定快捷方式,则可以是 known_variants 中所述的任何变体的名称。如果 selector 是一个简单的变体名称,则会为目标工具链中构建的每个二进制文件选择该变体:{ host=false variant=selector }。
如果字符串选择器包含斜杠,则为 "shortcut/filename",并且仅选择目标工具链中 output_name 与 "filename" 匹配的二进制文件,即它会向仅快捷方式名称会产生的每个选择器范围添加 output_name=["filename"]。
构成完整选择器的范围定义了以下部分内容:
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).
其余为匹配条件。所有这些都是可选的。 当且仅当选择器的所有条件都匹配时,选择器才匹配。 如果未定义任何这些属性,则选择器始终匹配。
列表中第一个匹配的选择器会胜出,然后列表的其余部分会被忽略。如需构建更复杂的规则,请在包罗万象的默认变体之前使用带有 variant=false 的屏蔽清单选择器,或在包罗万象的 false 变体之前使用特定变体列表。
每个“[strings]”条件都是一个字符串列表,如果其中任何一个字符串与候选字符串匹配,则满足该条件。
host
[boolean] If true, the selector matches in the host toolchain.
If false, the selector matches in non-host toolchains.
kernel
[boolean] If true, the selector matches in is_kernel toolchains.
If false, the selector matches in non-kernel toolchains.
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`).
当前值(来自默认值): []
来自 //build/config/BUILDCONFIG.gn:777
select_variant_canonical
切勿将其设置为 build 参数。
它仅用于在 toolchain_args 中设置。
如需了解详情,请参阅 //build/toolchain/clang_toolchain.gni。
当前值(来自默认值): []
来自 //build/config/BUILDCONFIG.gn:782
select_variant_shortcuts
常用变体选择器的简称列表。通常,此参数不设置为 build 参数,但它用于记录变体选择器的可用快捷键名称集。此列表中的每个元素都是一个范围,其中 .name 是简称,.select_variant 是可以拼接到 select_variant 中的列表。
当前值(来自默认值):
[{
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_profile-rust"
select_variant = [{
host = true
variant = "profile-rust"
}]
}, {
name = "host_tsan"
select_variant = [{
host = true
variant = "tsan"
}]
}, {
name = "kernel_lto-cfi"
select_variant = [{
kernel = true
variant = "lto-cfi"
}]
}, {
name = "kernel_thinlto-cfi"
select_variant = [{
kernel = true
variant = "thinlto-cfi"
}]
}, {
name = "kubsan"
select_variant = [{
_zircon_cpu = "arm64"
dir = ["//zircon/kernel/bin", "//zircon/kernel/arch/arm64/phys", "//zircon/kernel/arch/arm64/phys/boot-shim", "//zircon/kernel/arch/arm64/phys/efi", "//zircon/kernel/phys", "//zircon/kernel/phys/boot-shim", "//zircon/kernel/phys/efi", "//zircon/kernel/phys/test"]
variant = "ubsan"
}]
}]
来自 //build/config/BUILDCONFIG.gn:552
skip_buildtools_check
跳过 buildtools 依赖项检查(ChromeOS 需要)。
当前值(来自默认值): false
来自 //third_party/perfetto/gn/perfetto.gni:467
smp_max_cpus
当前值(来自默认值): 16
来自 //zircon/kernel/params.gni:14
spinel_platform_header
Spinel 的平台可移植性标头。
当前值(来自默认值): "\"spinel_platform.h\""
来自 //third_party/openthread/src/lib/spinel/BUILD.gn:32
stack_clash_protection
是否在启用 stack-clash-protection 的情况下进行编译 https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fstack-clash-protection https://blog.llvm.org/posts/2021-01-05-stack-clash-protection/
当前值(来自默认值): true
来自 //build/config/clang/stack_clash_protection.gni:9
starnix_enable_console_tool
控制台工具仅供开发者使用。默认处于停用状态,以防止自动使用。
当前值(来自默认值): false
来自 //src/developer/ffx/tools/starnix/BUILD.gn:13
starnix_enable_rust_backtrace
是否将 Starnix 内核的 RUST_BACKTRACE 环境变量默认设置为 1。这对于识别在死锁循环中获取锁的堆栈非常有用。
当前值(来自默认值): false
来自 //src/starnix/build/args.gni:32
starnix_enable_trace_and_debug_logs_in_release
在发布 build 中编译跟踪和调试日志记录。默认情况下,出于性能原因,这些日志会被编译掉。
此选项不会影响 fuchsia_trace crate 的使用,该 crate 独立于 Rust 的跟踪库。
如需了解详情,请参阅 https://fuchsia-review.googlesource.com/c/fuchsia/+/929995。 LINT.IfChange(starnix_enable_trace_and_debug_logs_in_release)
当前值(来自默认值): false
来自 //src/starnix/build/args.gni:25
starnix_force_build_host_tests
是否强制为系统调用测试(俗称“主机测试”)构建 x64 ELF 可执行文件。默认偏好设置是针对 Machina 构建和运行测试。
当前值(来自默认值): false
来自 //src/starnix/build/args.gni:9
starnix_host_linux_toolchain
我们希望使用比 $host_toolchain 中默认提供的 sysroot 更新的 sysroot。
当前值(来自默认值): "//build/toolchain:linux_x64"
来自 //src/starnix/build/args.gni:36
starnix_kgsl_debug
此标志会启用详细日志记录和调试检查。
当前值(来自默认值): false
来自 //src/starnix/modules/kgsl/BUILD.gn:15
starnix_kgsl_enable
此标志会影响某些容器二进制文件使用的信号 ioctl 的返回值,以指示它们使用基于 kgsl 或基于 magma 的驱动程序。这不会影响容器内 kgsl 设备的可用性。
当前值(来自默认值): false
来自 //src/starnix/modules/kgsl/BUILD.gn:12
starnix_sync_detect_lock_dep_cycles
是否使用 lockdep 检测锁获取图中的循环。 在均衡模式和调试模式下默认启用。 LINT.IfChange
当前值(来自默认值): false
来自 //src/starnix/lib/starnix_sync/build/args.gni:9
sysmem_contiguous_guard_page_count
当前值(来自默认值): -1
来自 //src/sysmem/server/BUILD.gn:25
sysmem_contiguous_guard_pages_fatal
当前值(来自默认值): false
来自 //src/sysmem/server/BUILD.gn:23
sysmem_contiguous_guard_pages_internal
当前值(来自默认值): false
来自 //src/sysmem/server/BUILD.gn:24
sysmem_contiguous_guard_pages_unused
当前值(来自默认值): false
来自 //src/sysmem/server/BUILD.gn:26
sysmem_contiguous_guard_pages_unused_cycle_seconds
当前值(来自默认值): 600
来自 //src/sysmem/server/BUILD.gn:28
sysmem_contiguous_guard_pages_unused_fraction_denominator
当前值(来自默认值): 128
来自 //src/sysmem/server/BUILD.gn:27
sysmem_contiguous_memory_size
当前值(来自默认值): -1
来自 //src/sysmem/server/BUILD.gn:19
sysmem_contiguous_memory_size_percent
当前值(来自默认值): 5
来自 //src/sysmem/server/BUILD.gn:20
sysmem_protected_memory_size
当前值(来自默认值): 0
来自 //src/sysmem/server/BUILD.gn:21
sysmem_protected_memory_size_percent
当前值(来自默认值): -1
来自 //src/sysmem/server/BUILD.gn:22
sysmem_protected_ranges_disable_dynamic
当前值(来自默认值): false
来自 //src/sysmem/server/BUILD.gn:29
target_cpu
target_cpu = "arm64" 的当前值: "arm64"
来自 //out/not-default/args.gn:10
已覆盖默认值: ""
target_cpu = "riscv64" 的当前值: "riscv64"
来自 //out/not-default/args.gn:10
已覆盖默认值: ""
target_cpu = "x64" 的当前值: "x64"
来自 //out/not-default/args.gn:10
已覆盖默认值: ""
target_labels
要添加到默认 (Fuchsia) 工具链中的构建图的目标。
target_cpu = "arm64" 的当前值: ["//bundles/docs_roller"]
来自 //out/not-default/args.gn:15
已覆盖默认值: []
target_cpu = "riscv64" 的当前值: ["//bundles/docs_roller"]
来自 //out/not-default/args.gn:15
已覆盖默认值: []
target_cpu = "x64" 的当前值: ["//bundles/docs_roller"]
来自 //out/not-default/args.gn:15
已覆盖默认值: []
target_os
当前值(来自默认值): ""
target_persistent_debuglog_size
控制永久性调试日志的目标大小(以字节为单位)。 如果将此值设置为 0,则会停用所有永久性调试日志功能。请注意,虽然系统会尝试为永久性调试日志确保这么多字节,但由于永久性 RAM 资源有限,系统可能无法做到这一点。必须是 128 字节的倍数。
当前值(来自默认值): 0
来自 //zircon/kernel/lib/persistent-debuglog/params.gni:13
target_sysroot
与目标工具链搭配使用的 sysroot 的绝对路径。
当前值(来自默认值): ""
来自 //build/config/sysroot.gni:7
terminal_bold_font_path
当前值(来自默认值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Bold.ttf"
来自 //src/ui/bin/terminal/terminal_args.gni:12
terminal_bold_italic_font_path
当前值(来自默认值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-BoldItalic.ttf"
来自 //src/ui/bin/terminal/terminal_args.gni:20
terminal_fallback_font_paths
要用作回退字体的文件的路径
当前值(来自默认值): []
来自 //src/ui/bin/terminal/terminal_args.gni:23
terminal_font_path
当前值(来自默认值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Regular.ttf"
来自 //src/ui/bin/terminal/terminal_args.gni:8
terminal_italic_font_path
当前值(来自默认值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Italic.ttf"
来自 //src/ui/bin/terminal/terminal_args.gni:16
test_durations_file
一个文件,其中包含此 build 配置的历史测试时长数据,供 testsharder 用于在各个分片之间均匀拆分测试。对于随后将运行 testsharder 的任何 build,都应设置此属性。
当前值(来自默认值): ""
test_package_labels
当前值(来自默认值): []
thinlto_cache_dir
ThinLTO 缓存目录路径。
当前值(来自默认值): "thinlto-cache"
来自 //build/config/lto/config.gni:10
thinlto_jobs
并行 ThinLTO 作业的数量。
当前值(来自默认值): 8
来自 //build/config/lto/config.gni:7
time_trace
是否在使用 clang 构建时导出时间跟踪记录。 https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html#new-compiler-flags
当前值(来自默认值): false
来自 //build/config/clang/time_trace.gni:8
toolchain_variant
切勿将其设置为 build 参数。它仅用于在 toolchain_args 中设置。如需了解每个字段的详细信息和文档,请参阅 //docs/development/build/gn_concepts/internals/toolchains/build_arguments.md#toolchain_variant。
当前值(来自默认值):
{
base = "//build/toolchain/fuchsia:arm64"
}
来自 //build/config/BUILDCONFIG.gn:964
truncate_build_info_commit_date
将 build_info 中的日期截断为世界协调时间 (UTC) 午夜,并将提交哈希替换为根据该日期合成的哈希。 此文件不应在此目录之外使用。它仅存在于此 .gni 文件中,以便 //build/bazel:gn_build_variables_for_bazel 可以访问它。
当前值(来自默认值): false
tsan_default_options
默认 ThreadSanitizer 选项(在运行时读取 TSAN_OPTIONS 环境变量之前)。这可以设置为 build 参数,以影响 $variants 中的大多数“tsan”变体(请参阅相关内容),也可以在其中一个变体的 $toolchain_args 中替换。这可以是字符串列表,也可以是单个字符串。
请注意,即使此列表为空,此 build 中的程序也无法定义自己的 __tsan_default_options C 函数。而是可以在其 deps 中使用 sanitizer_extra_options() 目标,然后以这种方式注入的任何选项都可以替换此列表中该选项的设置。
TODO(https://fxbug.dev/42171381):如果我们有适用于 Rust 的插桩 libstd,则可以重新评估 ignore_noninstrumented_modules=1。
当前值(来自默认值): ["ignore_noninstrumented_modules=1"]
来自 //build/config/sanitizers/sanitizer_default_options.gni:67
ubsan_default_options
默认 UndefinedBehaviorSanitizer 选项(在运行时读取 UBSAN_OPTIONS 环境变量之前)。这可以设置为 build 参数,以影响 $variants 中的大多数“ubsan”变体(请参阅相关内容),也可以在其中一个变体的 $toolchain_args 中替换。这可以是字符串列表,也可以是单个字符串。
请注意,即使此列表为空,此 build 中的程序也无法定义自己的 __ubsan_default_options C 函数。而是可以在其 deps 中使用 sanitizer_extra_options() 目标,然后以这种方式注入的任何选项都可以替换此列表中该选项的设置。
当前值(来自默认值): ["print_stacktrace=1", "halt_on_error=1"]
来自 //build/config/sanitizers/sanitizer_default_options.gni:49
universe_package_labels
如果您向此变量添加软件包标签,这些软件包将包含在“universe”软件包集中,该软件包集表示通过 build 生成并要发布到 Package Repository 或 SDK 的所有软件。
当前值(来自默认值): []
update_goldens
对于 golden_file 模板,请将此属性设置为 true,以隐式写入更新后的黄金标准文件,而不是使操作或测试失败。 LINT.IfChange
当前值(来自默认值): false
来自 //build/testing/config.gni:9
use_blink
当前值(来自默认值): false
来自 //build/config/features.gni:13
use_ccache
设置为 true 可启用 ccache 编译
当前值(来自默认值): false
来自 //build/toolchain/ccache.gni:9
use_dbus
当前值(来自默认值): false
来自 //build/config/features.gni:11
use_direct_for_carnelian_examples
在示例软件包中添加配置,以尝试直接使用视图模式。
当前值(来自默认值): false
来自 //src/lib/ui/carnelian/BUILD.gn:22
use_gio
当前值(来自默认值): false
来自 //build/config/features.gni:12
use_llvm_libc_string_functions
注意:实验性使用 llvm-libc 实现的字符串函数。
当前值(来自默认值): false
use_null_vulkan_on_host
TODO(liyl):目前非 x64 平台不支持 Vulkan,因此我们始终使用 null Vulkan 实现。
全局参数,用于指定我们是否在主机 vulkan_executables 和 vulkan_tests 上使用“null”Vulkan 实现,以便任何创建 VkInstances 或 VkDevice 的尝试都会失败。
此参数会影响所有 vulkan_{executable/test} build 目标。
当前值(来自默认值): true
来自 //src/lib/vulkan/build/config.gni:29
use_prebuilt_buildidtool
使用预构建的 buildidtool 二进制文件,而不是本地构建的二进制文件。
注意:如果将此值设置为 false,则会使用 GN 中的 toolchain_deps 机制,这可能会显著降低 Ninja 的速度。此外,为了避免循环依赖,$host_toolchain 没有 toolchain_deps,因此无法确保在需要 buildidtool 之前构建它。这可能会导致 build 不可靠,但应该可以对增量 build 进行迭代,并最终部署新工具。此功能仅应在 buildidtool 本身处于活跃开发阶段时使用。
请注意,这不适用于 Go build,因为在 buildidtool 的 build 中使用 buildidtool 会导致循环。
当前值(来自默认值): true
来自 //build/toolchain/buildidtool.gni:17
use_prebuilt_ffmpeg
使用预构建的 ffmpeg 二进制文件,而不是在本地构建。如需了解详情,请参阅 //src/media/lib/ffmpeg/README.md。在没有预构建的变体 build 中进行构建时,系统会忽略此变量。在这种情况下,ffmpeg 始终通过源代码构建,以便使用所选变体的配置进行构建。如果此值为 false(显式或在变体 build 中),则 //third_party/ffmpeg 必须位于源代码树中,这需要:
jiri import -name third_party/ffmpeg -revision HEAD third_party/ffmpeg http://fuchsia.googlesource.com/integration
TODO(https://fxbug.dev/42068172):此功能目前无法正常运行。请使用以下方法。
或者,如果已经从该位置导入了其他清单,导致 jiri update 出现错误,则只需执行 git clone 即可(但在这种情况下,jiri update 不会管理 third_party/ffmpeg):
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
当前值(来自默认值): true
来自 //src/media/lib/ffmpeg/ffmpeg_args.gni:31
use_swiftshader_vulkan_icd_on_host
用于确定是否在主机 vulkan_executables 和 vulkan_tests 上使用 SwiftShader Vulkan ICD 的全局参数。
此参数会影响所有 vulkan_{executable/test} 构建目标,并且仅在 use_null_vulkan_on_host 设置为 false 时有效。
当前值(来自默认值): true
来自 //src/lib/vulkan/build/config.gni:38
use_test_pilot
启用后,会更改 fuchsia_test_package 测试的 tests.json 条目,以便 botanist 使用 test-pilot 执行这些测试。tests.json 更改包括为测试添加“path”条目,并将“os”设置为“linux”。
当前值(来自默认值): false
来自 //build/components/fuchsia_test_package.gni:16
use_udev
当前值(来自默认值): false
来自 //build/config/features.gni:10
use_vbmeta
如果为 true,系统会为提供的 ZBI 生成 vbmeta 映像,并且铺装脚本会将 vbmeta 映像铺装到目标设备。
target_cpu = "arm64" 的当前值: true
已覆盖默认值: false
来自 //build/images/vbmeta.gni:14
当前值(来自默认值): false
来自 //build/images/vbmeta.gni:14
use_vim3_dml
如果为 true,则使用较新的 vim3-dml 驱动程序,而不是 vim3-devicetree 驱动程序。
当前值(来自默认值): false
using_fuchsia_sdk
仅在 buildroot 中设置,其中目标会自行配置以与 Fuchsia SDK 搭配使用
当前值(来自默认值): false
vbmeta_a_partition
当前值(来自默认值): ""
vbmeta_b_partition
当前值(来自默认值): ""
vbmeta_r_partition
当前值(来自默认值): ""
verify_depfile
控制构建是否运行 depfile 验证程序
当前值(来自默认值): true
vim3_mcu_fan_default_level
VIM3 MCU 驱动程序使用的默认风扇级别。
有效值介于 0(完全关闭)和 3(全功率)之间。
请勿在签入的代码中依赖此设置。此设置旨在促进桌面开发,并将被更强大的配置机制所取代。
当前值(来自默认值): 1
来自 //src/devices/mcu/drivers/vim3-mcu/BUILD.gn:18
virtio_gpu_display_flavor
在 C++ 和 Rust 驱动程序实现之间切换。
TODO(https://fxbug.dev/504722357): Remove the toggle after the Rust port is completed. 有效值:“cpp”“rust”
当前值(来自默认值): "rust"
来自 //src/graphics/display/drivers/virtio-gpu-display/BUILD.gn:15
virtmagma_debug
在 virtmagma 相关代码中启用详细日志记录
当前值(来自默认值): false
来自 //src/graphics/lib/magma/include/virtio/virtmagma_debug.gni:7
vm_tracing_level
虚拟机系统发出的跟踪记录的详细程度。大于零的值会增加细节,但代价是增加跟踪缓冲区的使用。
0 = 默认 kernel:* 跟踪。 1 = 为异步网页请求添加流事件。 2 = 添加与访问故障和页面故障相关的时长事件。 3 = 为 PMM 分配和释放添加时长事件。
当前值(来自默认值): 0
来自 //zircon/kernel/params.gni:74
vulkan_host_runtime_dir
|vulkan_host_runtime_dir| 是 Vulkan 运行时库的路径,其中包含预构建的 Vulkan 加载器、Vulkan 层、SwiftShader Vulkan ICD 以及加载库所需的描述符文件。
当前值(来自默认值): "//prebuilt/third_party/vulkan_runtime/linux-x64"
来自 //src/lib/vulkan/build/config.gni:17
vulkan_sdk
当前值(来自默认值): ""
来自 //src/graphics/examples/vkproto/common/common.gni:48
wait_queue_depth_tracing_enabled
启用等待队列深度跟踪。用于对各种负载下等待队列的深度以及深度变化的频率进行后处理分析。
当前值(来自默认值): false
来自 //zircon/kernel/params.gni:65
warn_on_sdk_changes
是否仅在 SDK 被修改时发出警告。 如果为 false,则任何未确认的 SDK 更改都会导致构建失败。 LINT.IfChange
当前值(来自默认值): false
weave_build_legacy_wdm
指示 openweave 支持旧版 WDM 模式。
当前值(来自默认值): false
来自 //third_party/openweave-core/config.gni:29
weave_build_warm
指示 openweave 构建 WARM 库。
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:26
weave_system_config_use_sockets
指示 openweave 组件使用类似 bsd 的套接字。
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:7
weave_with_nlfaultinjection
指示 openweave 组件支持故障注入。
当前值(来自默认值): false
来自 //third_party/openweave-core/config.gni:20
weave_with_verhoeff
指示 openweave 支持 Verhoeff 校验和。
当前值(来自默认值): true
来自 //third_party/openweave-core/config.gni:23
wlancfg_config_type
选择要使用的 WLAN 配置类型。选项: “client”- 客户端模式 “ap”- 接入点模式 “”(空字符串)- 无配置
当前值(来自默认值): "client"
来自 //src/connectivity/wlan/wlancfg/BUILD.gn:17
zedboot_product_assembly_config_label
用于配置 Zedboot 映像的产品组装配置。
当前值(来自默认值): false
zircon_a_partition
fx flash 脚本的参数(以及指定分区的任何 firmware_prebuilts)。
如果提供了 fvm_partition 或 fxfs_partition(恰好其中一个),则刷写脚本将刷写完整操作系统、恢复 + Zircon + FVM(或 Fxfs)+ SSH 密钥。在这种情况下,引导加载程序还必须支持 fastboot oem
add-staged-bootloader-file ssh.authorized_keys。
否则,脚本会将恢复映像刷写到所有槽,这不需要 FVM 或 SSH 密钥。
当前值(来自默认值): ""
zircon_b_partition
当前值(来自默认值): ""
zircon_r_partition
当前值(来自默认值): ""
zircon_toolchain
切勿将其设置为 build 参数。
它仅用于在 toolchain_args 中设置。
对于 Zircon 工具链,这将是一个范围,其架构记录在 //build/toolchain/zircon/zircon_toolchain.gni 中。对于所有其他工具链,此值将为 false。
这样,您就可以使用以下命令测试 Zircon 专用工具链:
if (zircon_toolchain != false) { // code path for Zircon-specific toolchains } else { // code path for non-Zircon ones. }
当前值(来自默认值): false
来自 //build/config/BUILDCONFIG.gn:981
zircon_tracelog
从 Zircon 的 GN 运行中发出跟踪日志的位置。如果指定空字符串,则不会生成任何跟踪记录。路径可以是源绝对路径或系统绝对路径。
当前值(来自默认值): ""
来自 //build/zircon/build_args.gni:8
zx_assert_level
控制启用哪些断言。
ZX_ASSERT 始终处于启用状态。
- 0 会停用标准 C
assert()和ZX_DEBUG_ASSERT。 - 1 表示停用
ZX_DEBUG_ASSERT。标准 Cassert()仍处于启用状态。 - 2 表示启用所有断言。
当前值(来自默认值): 2
来自 //build/config/zircon/levels.gni:13
target_cpu = "arm64"
arm_use_neon
是否使用 neon FPU 指令集。 TODO(https://fxbug.dev/42168336): move this to boards.
当前值(来自默认值): true
target_cpu = "x64"
build_libvulkan_goldfish
当前值(来自默认值): "//third_party/android/device/generic/goldfish-opengl:libvulkan_goldfish"