GN 建構引數

所有建構作業

acpica_debug_output

在 ACPI 程式庫 (ACPI 匯流排驅動程式使用) 中啟用偵錯輸出。

目前值 (來自預設值): false

來自 //zircon/system/ulib/acpica/acpica.gni:7

active_partition

目前值 (來自預設值): ""

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

add_qemu_to_build_archives

是否要在建構封存檔中加入在 QEMU 中執行 Fuchsia 時所需的映像檔。

目前值 (來自預設值): false

來自 //build/images/args.gni:62

additional_bazel_sdk_labels

要納入 bazel_sdk_info API 模組的額外 generate_fuchsia_bazel_sdk 目標。這項功能可讓您在主要存放區外定義 Bazel SDK。

目前值 (來自預設值): []

From //BUILD.gn:114

additional_bootserver_arguments

要新增至 pave.sh 的其他 bootserver args。請謹慎新增這項功能的新用途,最好先經過討論。目前的使用情境是,由於驅動程式庫和硬體問題,當特定網路介面卡與特定主機板結合時,需要啟用網路開機節流。

目前值 (來自預設值): ""

來自 //build/images/args.gni:68

additional_default_targets

平台建構者可以在這個清單中新增目標,以便使用 //:default 目標建構這些目標

目前值 (來自預設值): []

From //BUILD.gn:130

all_cpu_kernel_boot_tests

Cause //zircon/kernel:boot_tests 會為所有支援的 CPU (而不只是 $target_cpu) 產生實體啟動測試。

目前值 (來自預設值): false

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

all_cpu_phys_boot_tests

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

目前值 (來自預設值): false

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

all_font_file_paths

每個字型資產的檔案路徑清單。在 fonts.gni 中填入。

目前值 (來自預設值): []

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

all_toolchain_variants

這些值絕不應設為建構引數。 系統會將這個值設在下方,並透過 toolchain_args 傳遞至其他工具鍊 (請參閱 variant_toolchain.gni)。

目前值 (來自預設值): []

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

allowed_test_device_types

這項建構版本可執行測試的裝置類型清單。如果設定,測試只會使用這些裝置類型。

目前值 (來自預設值): []

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

always_zedboot

建構偏好使用 Zedboot 而非本機開機的開機映像檔 (僅適用於 EFI)。

目前值 (來自預設值): false

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

amlogic_decoder_firmware_path

Amlogic 解碼器韌體檔案的路徑。覆寫建構作業中的預設值。

目前值 (來自預設值): ""

From //src/media/drivers/amlogic_decoder/BUILD.gn:12

archivist_max_cached_logs_bytes

目前值 (來自預設值): 4194304

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

arm_sdk_tools

如果為 true,SDK 就會包含 arm64 主機工具。

目前值 (來自預設值): false

來自 //src/developer/ffx/plugins/emulator/emu_companion.gni:9

asan_default_options

預設 AddressSanitizer 選項 (在執行階段讀取 ASAN_OPTIONS 環境變數之前)。這項設定可以做為建構引數,影響 $variants 中的大多數「asan」變體 (請參閱),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。

請注意,即使這個項目為空白,這個建構版本中的程式無法定義自己的 __asan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項,都可以覆寫這個清單中的選項設定。

目前值 (來自預設值): ["detect_stack_use_after_return=1", "quarantine_size_mb=32"]

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

assembly_board_configs

平台建構工具應在 product.gni 檔案中填入這份清單。 基礎架構會建構結果並上傳至 CIPD。

目前值 (來自預設值): []

From //BUILD.gn:118

assembly_generate_fvm_fastboot

目標 eMMC 裝置上 FVM 分區的大小 (以位元組為單位)。 指定這個參數會導致建構作業產生 fvm.fastboot.blk,適用於透過 eMMC 裝置的 Fastboot 刷機。

目前值 (來自預設值): false

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

assembly_generate_fvm_nand

指定這些變數後,系統會產生 NAND FVM 映像檔,適合透過 fastboot 直接刷入。必須提供 NAND 特性,才能在 OOB 區域中正確初始化 FTL 中繼資料。fvm_max_disk_size 也應為非零值,否則 minfs 將沒有任何空間可在啟動時初始化。

目前值 (來自預設值): false

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

assembly_partitions_configs

平台建構工具應在 product.gni 檔案中填入這份清單。 基礎架構會建構結果並上傳至 CIPD。

目前值 (來自預設值): []

From //BUILD.gn:126

assembly_product_configs

平台建構工具應在 product.gni 檔案中填入這份清單。 基礎架構會建構結果並上傳至 CIPD。

目前值 (來自預設值): []

From //BUILD.gn:122

authorized_ssh_keys_label

已淘汰,會觸發警告

目前值 (來自預設值): false

From //BUILD.gn:146

avb_atx_metadata

用於驗證公開金鑰的 AVB 中繼資料

target_cpu = "arm64" 的目前值: "//third_party/android/platform/external/avb/test/data/atx_metadata.bin"

From//boards/arm64.gni:35//boards/arm64.gni:35

已覆寫預設值: ""

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

目前值 (來自預設值): ""

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

avb_key

用於簽署 VBMETA 和 AVB 映像檔的金鑰

target_cpu = "arm64" 的目前值: "//third_party/android/platform/external/avb/test/data/testkey_atx_psk.pem"

From //boards/arm64.gni:37

已覆寫預設值: ""

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

目前值 (來自預設值): ""

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

base_package_labels

這些項目仍保留,僅為方便開發人員使用本機 args.gn 檔案進行軟轉移。

目前值 (來自預設值): false

From //BUILD.gn:33

basic_env_names

要納入「basic_envs」的環境名稱清單。

目前值 (來自預設值): ["emu"]

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

bazel_auto_refresh_compdb

建構 bazel_actions 後,自動重新整理 compile_commands.json。

注意:啟用這項功能會增加建構作業的負擔,導致建構時間延長幾秒。

目前值 (來自預設值): false

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

bazel_execution_logs

如果為 true,則會發出額外的執行記錄,其中包含遠端執行作業及其動作摘要、快取狀態、遠端輸入內容等資訊。

目前值 (來自預設值): true

From //build/bazel/config/logging.gni:9

bazel_product_bundle_board

target_cpu = "arm64" 的目前值: "arm64"

From //boards/arm64.gni:25

已覆寫預設值: false

來自//build/images/args.gni:140//build/images/args.gni:140

target_cpu = "riscv64" 的目前值: "riscv64"

From//boards/riscv64.gni:32//boards/riscv64.gni:32

已覆寫預設值: false

來自//build/images/args.gni:140//build/images/args.gni:140

target_cpu = "x64" 的目前值: "x64"

From //boards/x64.gni:28

已覆寫預設值: false

來自//build/images/args.gni:140//build/images/args.gni:140

bazel_product_bundle_full

bazel_productbundle[full|root|prefix|board] 會一併識別 GN 目標中的 bazel_product_bundle 目標,以用於 Bazel 組件。實際使用的目標為:

${bazel_product_bundle_full}.${bazel_product_bundle_board} if ${bazel_product_bundle_full} is defined, else ${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

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

bazel_product_bundle_prefix

target_cpu = "arm64" 的目前值: "//products/core:product_bundle"

From //products/core.gni:26

已覆寫預設值: false

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

target_cpu = "riscv64" 的目前值: "//products/minimal:product_bundle"

From //products/minimal.gni:33

已覆寫預設值: false

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

target_cpu = "x64" 的目前值: "//products/core:product_bundle"

From //products/core.gni:26

已覆寫預設值: false

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

bazel_product_bundle_root

目前值 (來自預設值): "//"

來自 //build/images/args.gni:138

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"

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

bazel_rbe_exec_strategy

如果將 Bazel 設定為使用 RBE,這項政策會控管使用的執行策略。

支援的選項: 「remote」:在快取中找不到所需資料時,執行遠端建構作業 (預設) 「local」:在快取中找不到所需資料時,執行本機建構作業 「nocache」:強制執行,如同在快取中找不到所需資料。

目前值 (來自預設值): "remote"

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

bazel_root_host_targets

與上述清單類似,可擴充 args.gn 中的自訂建構設定。

目前值 (來自預設值): []

來自 //build/bazel/bazel_root_targets_list.gni:195

bazel_upload_build_events

設定 Bazel,將建構事件和結果串流至服務。 這項功能有助於分享建構結果和叫用詳細資料,以重現及分類問題。這個選項會直接存取網路,因此需要驗證。 _infra 變體適用於建構基礎架構。詳情請參閱: https://bazel.build/remote/bep#build-event-service

有效選項: 「」:不串流 (預設) 「sponge」:上傳至 Sponge2 (適用於使用者) 「sponge_infra」:上傳至 Sponge2 (適用於基礎架構) 「resultstore」:上傳至 ResultStore (適用於使用者) 「resultstore_infra」:上傳至 ResultStore (適用於基礎架構)

目前值 (來自預設值): ""

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

blobfs_num_pager_threads

要為 blobfs 產生的呼叫器執行緒數量。

目前值 (來自預設值): 2

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

blobfs_page_in_metrics_recording

設定 gn 參數時,請將此值設為 true,啟用 blobfs 頁面內指標記錄功能。這也會將 blobfs 的檢查 VMO 大小增加至 2 MiB,以容納大量指標項目。

目前值 (來自預設值): false

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

board_configuration_label

與產品組裝搭配使用的電路板設定目標標籤

target_cpu = "arm64" 的目前值: "//boards/arm64"

From //boards/arm64.gni:24

已覆寫預設值: false

From//build/board.gni:32//build/board.gni:32

target_cpu = "riscv64" 的目前值: "//boards/riscv64"

From //boards/riscv64.gni:24

已覆寫預設值: false

From//build/board.gni:32//build/board.gni:32

target_cpu = "x64" 的目前值: "//boards/x64"

From //boards/x64.gni:27

已覆寫預設值: false

From//build/board.gni:32//build/board.gni:32

board_description

使用者可理解的主機板說明,對應主機板名稱。

target_cpu = "arm64" 的目前值: "A generic emulated arm64 device."

From //boards/arm64.gni:28

已覆寫預設值: ""

From //build/board.gni:14

target_cpu = "riscv64" 的目前值: "A generic emulated riscv64 device."

From //boards/riscv64.gni:27

已覆寫預設值: ""

From //build/board.gni:14

target_cpu = "x64" 的目前值: "A generic x64 device"

From //boards/x64.gni:24

已覆寫預設值: ""

From //build/board.gni:14

board_fastboot_unlock_credentials

解鎖憑證檔案路徑清單,解鎖這個主機板的 Fastboot 通訊協定時必須使用。

目前值 (來自預設值): []

From //build/board.gni:18

board_is_emu

主機板是否支援模擬器裝置。這項屬性可用來判斷產品組合中繼資料是否應產生虛擬裝置規格,或兩者皆是。

target_cpu = "arm64" 的目前值: true

From //boards/arm64.gni:31

已覆寫預設值: false

來自 //build/board.gni:37

target_cpu = "riscv64" 的目前值: true

From //boards/riscv64.gni:30

已覆寫預設值: false

來自 //build/board.gni:37

target_cpu = "x64" 的目前值: true

From //boards/x64.gni:31

已覆寫預設值: false

來自 //build/board.gni:37

board_name

用於鋪路和琥珀色更新的板名。

target_cpu = "arm64" 的目前值: "arm64"

From //boards/arm64.gni:27

已覆寫預設值: ""

From //build/board.gni:11

target_cpu = "riscv64" 的目前值: "riscv64"

From //boards/riscv64.gni:26

已覆寫預設值: ""

From //build/board.gni:11

target_cpu = "x64" 的目前值: "x64"

From //boards/x64.gni:23

已覆寫預設值: ""

From //build/board.gni:11

board_tools

要納入建構輸出內容的開發板專屬工具路徑清單。

大多數開發工具都可以在樹狀結構內使用,不需要納入此處。這個引數僅適用於可能需要與建構檔案一起發布的工具,例如從 SoC 復原模式刷機的工具。

以這種方式納入的資產僅盡力而為,不會為封存使用者形成任何穩定的合約。

目前值 (來自預設值): []

From //build/board.gni:29

bootfs_only

將「系統映像檔」套件放入 BOOTFS。因此,執行階段原本會是 /system/...,現在則改為 /boot/....

目前值 (來自預設值): false

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

build_all_vp9_file_decoder_conformance_tests

目前值 (來自預設值): false

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

build_id_format

建構 ID 演算法,用於 Fuchsia 目標程式碼。這不適用於主機或訪客程式碼。這個值是連結器 --build-id=... 參數的引數。如果留空 (預設),系統會使用連結器的預設格式。

目前值 (來自預設值): ""

來自 //build/config/build_id.gni:10

build_info_board

目前建構版本的開發板設定

target_cpu = "arm64" 的目前值: "arm64"

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

已覆寫預設值: "arm64"

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

target_cpu = "riscv64" 的目前值: "riscv64"

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

已覆寫預設值: "riscv64"

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

target_cpu = "x64" 的目前值: "x64"

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

已覆寫預設值: "x64"

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

build_info_product

LINT.IfChange 目前建構版本的產品設定

target_cpu = "arm64" 的目前值: "core"

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

已覆寫預設值: ""

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

target_cpu = "riscv64" 的目前值: "minimal"

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

已覆寫預設值: ""

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

target_cpu = "x64" 的目前值: "core"

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

已覆寫預設值: ""

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

build_info_version

目前建構版本的邏輯版本。如未設定,預設為最近一次更新的時間戳記。

目前值 (來自預設值): ""

From //build/info/info.gni:17

build_only_labels

這些標籤會透過 '//:build_only' 遞移新增為 '//:default' 的依附元件。這些函式用於新增需要建構但不是任何產品、板子等一部分的目標。

對於只想建構及定義樹狀結構一小部分內容的子建構作業,這些標籤也可做為 '//:default' 的替代選項。

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:138

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:138

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:138

build_should_trace_actions

啟用後,系統會追蹤動作的所有檔案系統活動,並根據其宣告的輸入和輸出內容以及 depfile (如有) 進行檢查。如果動作存取未宣告的輸入或輸出內容,建構作業就會失敗。

目前值 (來自預設值): false

來自 //build/tracer/tracer.gni:12

cache_package_labels

目前值 (來自預設值): false

From //BUILD.gn:34

call_graph_section

是否要在輸出檔案中發出呼叫圖表區段 https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fexperimental-call-graph-section TODO(https://issues.fuchsia.dev/497876388):在下一個工具鍊推出後,預設啟用呼叫圖表區段。

目前值 (來自預設值): false

From //build/config/clang/call_graph_section.gni:9

camera_debug

目前值 (來自預設值): false

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

camera_gym_configuration_cycle_interval_ms

目前值 (來自預設值): 10000

來自 //src/camera/bin/camera-gym/BUILD.gn:13

carnelian_enable_vulkan_validation

在紅玉髓範例中加入 Vulkan 驗證層。

目前值 (來自預設值): false

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

carnelian_static_images_extras

指向要納入為附加服務的外部圖片檔案位置

目前值 (來自預設值): []

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

carnelian_static_rives_extras

指向要納入額外資訊的外部 rive 檔案位置

目前值 (來自預設值): []

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

carnelian_static_txts_extras

將此項目指向要納入為額外內容的外部 TXT 檔案位置

目前值 (來自預設值): []

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

channel_message_body_tracing_enabled

在 IPC 追蹤記錄中加入部分管道訊息內文。# This is intended as a local debugging feature and is not intended for production use.

目前值 (來自預設值): false

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

check_output_dir_leaks

如果已啟用,請檢查輸出目錄路徑是否洩漏至指令或任何輸出檔案。這對遠端建構一致性和快取至關重要。

目前值 (來自預設值): true

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

check_repeatability

如果已啟用,請執行每個受影響的動作兩次 (一次使用重新命名的輸出內容),並比較輸出內容的內容,確認是否可重現。

目前值 (來自預設值): false

From //build/tracer/tracer.gni:16

check_vtables_in_rodata

檢查 binaries.json 中列出的 Fuchsia 二進位檔中的所有 vtable 是否位於唯讀資料區段。這項檢查會在完整建構完成時執行。

這項功能主要供 Clang Canary 建構工具使用。

目前值 (來自預設值): false

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

chromium_build_dir

這個變數會指定完整的 Chromium 建構輸出目錄,例如 /home/$USER/chrome/src/out/fuchsia,並從中取得 web_engine。所有這些目標都必須存在於輸出目錄中。 如未設定,系統會使用 CIPD 的預建套件。

目前值 (來自預設值): ""

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

cipd_assembly_artifact_targets

Targets to be traversed by //:cipd_assembly_artifacts for GN metadata only. 這些目標應在中繼資料中設定「assembly_inputs」,其中可包含描述要上傳至 CPID 的構件的 JSON 檔案。

注意:這些目標僅適用於 GN 中繼資料導覽。如果需要建構構件,應透過其他方式將構件納入建構圖。

目前值 (來自預設值): ["//build/images:main_assembly"]

From //build/product.gni:25

clang_embed_bitcode

在 ELF 檔案中,將 LLVM 位元碼嵌入為 .llvmbc 區段。這項功能主要適用於使用位元碼進行分析的外部工具。

目前值 (來自預設值): false

From //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 中使用 ML 內嵌器,以縮減大小。

目前值 (來自預設值): true

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

clang_prefix

預建版本提供的預設 clang 工具鍊。Go 工具鍊也會使用這個變數。LINT.IfChange

目前值 (來自預設值): "//prebuilt/third_party/clang/linux-x64/bin"

From //build/config/clang/clang_prefix.gni:11

clang_tool_dir

Clang 工具鍊二進位檔 (「clang」、「llvm-nm」等) 所在的目錄。如果這是「」,則行為取決於 $clang_prefix。這個工具鍊應支援 Fuchsia 目標和主機。

目前值 (來自預設值): ""

From //build/toolchain/zircon/clang.gni:11

clang_toolchain_info

這個範圍包含目前 Clang 工具鍊的相關資訊。請勿將此值設為建構引數。

目前值 (來自預設值):

{
  aarch64_unknown_fuchsia = {
  libclang_rt_profile_a = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.profile.a"
  libunwind_so = "lib/aarch64-unknown-fuchsia/libunwind.so.1.0"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
  hwasan = {
  shared = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.a"
  clang_rt_cxx = "lib/clang/23/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/23/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/23/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
  aarch64_unknown_linux_gnu = {
  libclang_rt_profile_a = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.profile.a"
  libunwind_so = "../../../../out/not-default/libunwind.so"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
  hwasan = {
  shared = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.a"
  clang_rt_cxx = "lib/clang/23/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/23/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/23/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan.a"
  clang_rt_cxx = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
  ubsan = {
  shared = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
  armv7_unknown_linux_gnueabihf = {
  libclang_rt_profile_a = "lib/clang/23/lib/armv7-unknown-linux-gnueabihf/libclang_rt.profile.a"
  libunwind_so = "../../../../out/not-default/libunwind.so"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/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/23/lib/armv7-unknown-linux-gnueabihf/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/23/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/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/23"
  variants = { }
}
  riscv64_unknown_fuchsia = {
  libclang_rt_profile_a = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.profile.a"
  libunwind_so = "lib/riscv64-unknown-fuchsia/libunwind.so.1.0"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
  hwasan = {
  shared = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.a"
  clang_rt_cxx = "lib/clang/23/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/23/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/23/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
  riscv64_unknown_linux_gnu = {
  libclang_rt_profile_a = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.profile.a"
  libunwind_so = "../../../../out/not-default/libunwind.so"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
  hwasan = {
  shared = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan.a"
  clang_rt_cxx = "lib/clang/23/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/23/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/23/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan.a"
  clang_rt_cxx = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
  ubsan = {
  shared = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
  runtimes = [{
  cflags = []
  ldflags = []
  runtime = [{
  breakpad = "debug/.build-id/3e/0a1ddcf665509c4ba52b5bcd817d28f415d720.sym"
  debug = "debug/.build-id/3e/0a1ddcf665509c4ba52b5bcd817d28f415d720.debug"
  dist = "aarch64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/c4/33b29c7e1983940242f593fdc5629243e03fb3.sym"
  debug = "debug/.build-id/c4/33b29c7e1983940242f593fdc5629243e03fb3.debug"
  dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/4c/f6c3e8468effae4321a8e1850780e6cc70a6df.sym"
  debug = "debug/.build-id/4c/f6c3e8468effae4321a8e1850780e6cc70a6df.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/4c/669142256f094404c918b94162d72733ee3f5e.sym"
  debug = "debug/.build-id/4c/669142256f094404c918b94162d72733ee3f5e.debug"
  dist = "clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
  soname = "libclang_rt.asan.so"
}, {
  breakpad = "debug/.build-id/49/361bacf2b79cd644e6614c4287052d5da78adb.sym"
  debug = "debug/.build-id/49/361bacf2b79cd644e6614c4287052d5da78adb.debug"
  dist = "aarch64-unknown-fuchsia/asan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/b1/afb88024c3ff1a372a93828edad00129bc6e39.sym"
  debug = "debug/.build-id/b1/afb88024c3ff1a372a93828edad00129bc6e39.debug"
  dist = "aarch64-unknown-fuchsia/asan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/82/54d981157146d9411d1960945b881c28e0f18b.sym"
  debug = "debug/.build-id/82/54d981157146d9411d1960945b881c28e0f18b.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/93/bb131df0f8e798e675c14691f6414a3406b229.sym"
  debug = "debug/.build-id/93/bb131df0f8e798e675c14691f6414a3406b229.debug"
  dist = "clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
  soname = "libclang_rt.ubsan_standalone.so"
}, {
  breakpad = "debug/.build-id/3e/0a1ddcf665509c4ba52b5bcd817d28f415d720.sym"
  debug = "debug/.build-id/3e/0a1ddcf665509c4ba52b5bcd817d28f415d720.debug"
  dist = "aarch64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/c4/33b29c7e1983940242f593fdc5629243e03fb3.sym"
  debug = "debug/.build-id/c4/33b29c7e1983940242f593fdc5629243e03fb3.debug"
  dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/4c/f6c3e8468effae4321a8e1850780e6cc70a6df.sym"
  debug = "debug/.build-id/4c/f6c3e8468effae4321a8e1850780e6cc70a6df.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/c4/0300071465bee529c8b24132be7133dd13c4b0.sym"
  debug = "debug/.build-id/c4/0300071465bee529c8b24132be7133dd13c4b0.debug"
  dist = "clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
  soname = "libclang_rt.hwasan.so"
}, {
  breakpad = "debug/.build-id/f3/ea3f17d7b9bac70225d93a5ca77dccdb54fc27.sym"
  debug = "debug/.build-id/f3/ea3f17d7b9bac70225d93a5ca77dccdb54fc27.debug"
  dist = "aarch64-unknown-fuchsia/hwasan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/83/7ce0231b5da4d40378bcb2a8eaed37483da4df.sym"
  debug = "debug/.build-id/83/7ce0231b5da4d40378bcb2a8eaed37483da4df.debug"
  dist = "aarch64-unknown-fuchsia/hwasan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/f3/3db9d6917bf1faea754dd6d9956cd0e377ae9a.sym"
  debug = "debug/.build-id/f3/3db9d6917bf1faea754dd6d9956cd0e377ae9a.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/4c/669142256f094404c918b94162d72733ee3f5e.sym"
  debug = "debug/.build-id/4c/669142256f094404c918b94162d72733ee3f5e.debug"
  dist = "clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
  soname = "libclang_rt.asan.so"
}, {
  breakpad = "debug/.build-id/49/361bacf2b79cd644e6614c4287052d5da78adb.sym"
  debug = "debug/.build-id/49/361bacf2b79cd644e6614c4287052d5da78adb.debug"
  dist = "aarch64-unknown-fuchsia/asan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/b1/afb88024c3ff1a372a93828edad00129bc6e39.sym"
  debug = "debug/.build-id/b1/afb88024c3ff1a372a93828edad00129bc6e39.debug"
  dist = "aarch64-unknown-fuchsia/asan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/82/54d981157146d9411d1960945b881c28e0f18b.sym"
  debug = "debug/.build-id/82/54d981157146d9411d1960945b881c28e0f18b.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/93/bb131df0f8e798e675c14691f6414a3406b229.sym"
  debug = "debug/.build-id/93/bb131df0f8e798e675c14691f6414a3406b229.debug"
  dist = "clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
  soname = "libclang_rt.ubsan_standalone.so"
}, {
  breakpad = "debug/.build-id/3e/0a1ddcf665509c4ba52b5bcd817d28f415d720.sym"
  debug = "debug/.build-id/3e/0a1ddcf665509c4ba52b5bcd817d28f415d720.debug"
  dist = "aarch64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/c4/33b29c7e1983940242f593fdc5629243e03fb3.sym"
  debug = "debug/.build-id/c4/33b29c7e1983940242f593fdc5629243e03fb3.debug"
  dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/4c/f6c3e8468effae4321a8e1850780e6cc70a6df.sym"
  debug = "debug/.build-id/4c/f6c3e8468effae4321a8e1850780e6cc70a6df.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/c4/0300071465bee529c8b24132be7133dd13c4b0.sym"
  debug = "debug/.build-id/c4/0300071465bee529c8b24132be7133dd13c4b0.debug"
  dist = "clang/23/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
  soname = "libclang_rt.hwasan.so"
}, {
  breakpad = "debug/.build-id/f3/ea3f17d7b9bac70225d93a5ca77dccdb54fc27.sym"
  debug = "debug/.build-id/f3/ea3f17d7b9bac70225d93a5ca77dccdb54fc27.debug"
  dist = "aarch64-unknown-fuchsia/hwasan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/83/7ce0231b5da4d40378bcb2a8eaed37483da4df.sym"
  debug = "debug/.build-id/83/7ce0231b5da4d40378bcb2a8eaed37483da4df.debug"
  dist = "aarch64-unknown-fuchsia/hwasan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/f3/3db9d6917bf1faea754dd6d9956cd0e377ae9a.sym"
  debug = "debug/.build-id/f3/3db9d6917bf1faea754dd6d9956cd0e377ae9a.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/5f/be25087bfb0d6d15ba6877bb3f3c4be8a6369f.debug"
  dist = "riscv64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/3d/a39f5802000e937e6296e6df6aaffae37387d9.debug"
  dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/4d/4253d021b652b07ab5200dad2c3e8c18246146.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/b1/758b8f1fc07310a91733c42b59f5b4f6e7dbd3.debug"
  dist = "clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
  soname = "libclang_rt.asan.so"
}, {
  debug = "debug/.build-id/2d/21bd50ea3aba8e65de8198896cc741780fcca3.debug"
  dist = "riscv64-unknown-fuchsia/asan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/ea/10f5903e54fb70c3bf78ecf0c17d04fa6986ef.debug"
  dist = "riscv64-unknown-fuchsia/asan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/41/494e636f45df477ffddad038fb0b6d9e4b5a16.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/ed/1ced003614220623b5a5050c1ce9a6ccc2b9dc.debug"
  dist = "clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
  soname = "libclang_rt.ubsan_standalone.so"
}, {
  debug = "debug/.build-id/5f/be25087bfb0d6d15ba6877bb3f3c4be8a6369f.debug"
  dist = "riscv64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/3d/a39f5802000e937e6296e6df6aaffae37387d9.debug"
  dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/4d/4253d021b652b07ab5200dad2c3e8c18246146.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/0b/396a8392e25d36d65d98a57ae2dec6300bdb1f.debug"
  dist = "clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
  soname = "libclang_rt.hwasan.so"
}, {
  debug = "debug/.build-id/5f/be25087bfb0d6d15ba6877bb3f3c4be8a6369f.debug"
  dist = "riscv64-unknown-fuchsia/hwasan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/3d/a39f5802000e937e6296e6df6aaffae37387d9.debug"
  dist = "riscv64-unknown-fuchsia/hwasan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/bb/8f97dcbbe5a668fbe0e3cd1a451d20098d3a58.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/b1/758b8f1fc07310a91733c42b59f5b4f6e7dbd3.debug"
  dist = "clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
  soname = "libclang_rt.asan.so"
}, {
  debug = "debug/.build-id/2d/21bd50ea3aba8e65de8198896cc741780fcca3.debug"
  dist = "riscv64-unknown-fuchsia/asan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/ea/10f5903e54fb70c3bf78ecf0c17d04fa6986ef.debug"
  dist = "riscv64-unknown-fuchsia/asan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/41/494e636f45df477ffddad038fb0b6d9e4b5a16.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/ed/1ced003614220623b5a5050c1ce9a6ccc2b9dc.debug"
  dist = "clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
  soname = "libclang_rt.ubsan_standalone.so"
}, {
  debug = "debug/.build-id/5f/be25087bfb0d6d15ba6877bb3f3c4be8a6369f.debug"
  dist = "riscv64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/3d/a39f5802000e937e6296e6df6aaffae37387d9.debug"
  dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/4d/4253d021b652b07ab5200dad2c3e8c18246146.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/0b/396a8392e25d36d65d98a57ae2dec6300bdb1f.debug"
  dist = "clang/23/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
  soname = "libclang_rt.hwasan.so"
}, {
  debug = "debug/.build-id/5f/be25087bfb0d6d15ba6877bb3f3c4be8a6369f.debug"
  dist = "riscv64-unknown-fuchsia/hwasan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  debug = "debug/.build-id/3d/a39f5802000e937e6296e6df6aaffae37387d9.debug"
  dist = "riscv64-unknown-fuchsia/hwasan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  debug = "debug/.build-id/bb/8f97dcbbe5a668fbe0e3cd1a451d20098d3a58.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/3a/0349a835d6217b1d6265b5c8aae639183e81bf.sym"
  debug = "debug/.build-id/3a/0349a835d6217b1d6265b5c8aae639183e81bf.debug"
  dist = "x86_64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/e3/4df85b6d15b1703cef1788e62e71eab179806e.sym"
  debug = "debug/.build-id/e3/4df85b6d15b1703cef1788e62e71eab179806e.debug"
  dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/e5/b41fe783eea5093bee5ceabd717eb823e2874d.sym"
  debug = "debug/.build-id/e5/b41fe783eea5093bee5ceabd717eb823e2874d.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/07/d1737d36792f53f12313bede5f6554ed97183b.sym"
  debug = "debug/.build-id/07/d1737d36792f53f12313bede5f6554ed97183b.debug"
  dist = "clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
  soname = "libclang_rt.asan.so"
}, {
  breakpad = "debug/.build-id/4b/c0afb18fb2e575865db314a5d5075d3cca473b.sym"
  debug = "debug/.build-id/4b/c0afb18fb2e575865db314a5d5075d3cca473b.debug"
  dist = "x86_64-unknown-fuchsia/asan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/db/da58a4eafcbe78c356dba1b5785ea6257591eb.sym"
  debug = "debug/.build-id/db/da58a4eafcbe78c356dba1b5785ea6257591eb.debug"
  dist = "x86_64-unknown-fuchsia/asan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/62/8643b76065064571e7fe0410bcfaf13f7a6b50.sym"
  debug = "debug/.build-id/62/8643b76065064571e7fe0410bcfaf13f7a6b50.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/72/6d7aab1937dad76d7c6f056136e0ddcb5132d5.sym"
  debug = "debug/.build-id/72/6d7aab1937dad76d7c6f056136e0ddcb5132d5.debug"
  dist = "clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
  soname = "libclang_rt.ubsan_standalone.so"
}, {
  breakpad = "debug/.build-id/3a/0349a835d6217b1d6265b5c8aae639183e81bf.sym"
  debug = "debug/.build-id/3a/0349a835d6217b1d6265b5c8aae639183e81bf.debug"
  dist = "x86_64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/e3/4df85b6d15b1703cef1788e62e71eab179806e.sym"
  debug = "debug/.build-id/e3/4df85b6d15b1703cef1788e62e71eab179806e.debug"
  dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/e5/b41fe783eea5093bee5ceabd717eb823e2874d.sym"
  debug = "debug/.build-id/e5/b41fe783eea5093bee5ceabd717eb823e2874d.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/07/d1737d36792f53f12313bede5f6554ed97183b.sym"
  debug = "debug/.build-id/07/d1737d36792f53f12313bede5f6554ed97183b.debug"
  dist = "clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
  soname = "libclang_rt.asan.so"
}, {
  breakpad = "debug/.build-id/4b/c0afb18fb2e575865db314a5d5075d3cca473b.sym"
  debug = "debug/.build-id/4b/c0afb18fb2e575865db314a5d5075d3cca473b.debug"
  dist = "x86_64-unknown-fuchsia/asan/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/db/da58a4eafcbe78c356dba1b5785ea6257591eb.sym"
  debug = "debug/.build-id/db/da58a4eafcbe78c356dba1b5785ea6257591eb.debug"
  dist = "x86_64-unknown-fuchsia/asan/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/62/8643b76065064571e7fe0410bcfaf13f7a6b50.sym"
  debug = "debug/.build-id/62/8643b76065064571e7fe0410bcfaf13f7a6b50.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/72/6d7aab1937dad76d7c6f056136e0ddcb5132d5.sym"
  debug = "debug/.build-id/72/6d7aab1937dad76d7c6f056136e0ddcb5132d5.debug"
  dist = "clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
  soname = "libclang_rt.ubsan_standalone.so"
}, {
  breakpad = "debug/.build-id/3a/0349a835d6217b1d6265b5c8aae639183e81bf.sym"
  debug = "debug/.build-id/3a/0349a835d6217b1d6265b5c8aae639183e81bf.debug"
  dist = "x86_64-unknown-fuchsia/libc++.so.2"
  name = "libc++"
  soname = "libc++.so.2"
}, {
  breakpad = "debug/.build-id/e3/4df85b6d15b1703cef1788e62e71eab179806e.sym"
  debug = "debug/.build-id/e3/4df85b6d15b1703cef1788e62e71eab179806e.debug"
  dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
  name = "libc++abi"
  soname = "libc++abi.so.1"
}, {
  breakpad = "debug/.build-id/e5/b41fe783eea5093bee5ceabd717eb823e2874d.sym"
  debug = "debug/.build-id/e5/b41fe783eea5093bee5ceabd717eb823e2874d.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/23"
  variants = { }
}
  x86_64_unknown_fuchsia = {
  libclang_rt_profile_a = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.profile.a"
  libunwind_so = "lib/x86_64-unknown-fuchsia/libunwind.so.1.0"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
  hwasan = {
  shared = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan.a"
  clang_rt_cxx = "lib/clang/23/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/23/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/23/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
  x86_64_unknown_linux_gnu = {
  libclang_rt_profile_a = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a"
  libunwind_so = "../../../../out/not-default/libunwind.so"
  resource_dir = "lib/clang/23"
  variants = {
  asan = {
  shared = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.a"
  clang_rt_cxx = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
  hwasan = {
  shared = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.a"
  clang_rt_cxx = "lib/clang/23/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/23/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/23/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.a"
  clang_rt_cxx = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
  ubsan = {
  shared = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
  static = {
  clang_rt = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
  clang_rt_cxx = "lib/clang/23/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
}

From //build/config/clang/clang_toolchain_info.gni:42

clippy_cause_failure

發現任何「deny」lint 時,導致 clippy 目標建構失敗

目前值 (來自預設值): true

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

clippy_force_warn_all

強制將所有 clippy lint 的 lint 層級設為「warn」。 注意:這會覆寫來源屬性和預設的 Lint 層級,且只應用於收集來源樹狀結構中有關 clippy Lint 的統計資料。

目前值 (來自預設值): false

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

clippy_ignore_rustc

根據預設,建構 clippy 目標會列印 lint,以及藉由檢查建構 Crate 發出的任何 rustc 診斷。這個旗標會讓建構作業的輸出內容只包含 Lint,避免重複 rustc 的診斷結果 (實際建構目標時會發出)。請注意,fx clippy 仍會連同 clippy 檢查發出 rustc 診斷,只是不會顯示在 Ninja 的 stderr 中

目前值 (來自預設值): false

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

clippy_warn_all

將所有 clippy 檢查的 lint 層級設為「warn」。 注意:在來源中設定 Lint 層級的優先順序高於此設定。

目前值 (來自預設值): false

來自 //build/rust/config.gni:65

cobalt_environment

選取要傳送資料的 Cobalt 環境。選項: 「LOCAL」- 將記錄資料記錄到本機檔案 「DEVEL」- 用於測試的非正式環境 「PROD」- 正式環境 false - 使用組件提供的預設環境

目前值 (來自預設值): false

來自 //src/cobalt/bin/app/BUILD.gn:16

comparison_diagnostics_dir

如果任何 {Rust,C++} {決定性,一致性} 檢查失敗,請將構件的差異配對複製到這個目錄,以便從基礎架構建構作業匯出,並在稍後檢查。

目前值 (來自預設值): "//out/not-default/comparison-reports"

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

compilation_mode

要使用的整體編譯模式。有效值如下: * debug:適用於啟用偵錯功能的建構作業。 * balanced:部分最佳化,但編譯速度優先於執行階段效能。* release:所有最佳化項目,用於產品發布。 LINT.IfChange

target_cpu = "arm64" 的目前值: "release"

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

已覆寫預設值: "balanced"

From //build/config/compilation_modes.gni:19

target_cpu = "riscv64" 的目前值: "release"

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

已覆寫預設值: "balanced"

From //build/config/compilation_modes.gni:19

target_cpu = "x64" 的目前值: "release"

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

已覆寫預設值: "balanced"

From //build/config/compilation_modes.gni:19

compilation_settings_overrides

編譯模式的覆寫設定。這是一組變數的覆寫值,這些變數的預設值是由所選編譯模式 (如上) 設定。 * optimize:要使用的最佳化模式。有效值包括: * none:未經過最佳化,通常只經過建構測試,未執行 * debug:「針對偵錯進行最佳化」,輕量化程度足以避免混淆 * moderate:中等最佳化程度 (clang 的預設 -O2) * size:針對空間進行最佳化,而非單純針對速度 * size_thinlto:針對空間進行最佳化,並使用 Thin LTO * size_lto:針對空間進行最佳化,並使用 LTO * speed:單純針對速度進行最佳化 * sanitizer:針對清除器 (ASan 等) 進行最佳化 * profile:已針對涵蓋範圍/設定檔資料收集作業進行最佳化調整 * coverage:已針對涵蓋範圍資料收集作業進行最佳化調整

目前值 (來自預設值): { }

From //build/config/compilation_modes.gni:38

compress_debuginfo

啟用偵錯區段的壓縮功能。

目前值 (來自預設值): "zstd"

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

config_example_cpp_greeting

在 args.gn 中設定此值,即可覆寫這個範例發出的問候語。

目前值 (來自預設值): "World"

來自 //examples/components/config/cpp/BUILD.gn:10

config_example_rust_greeting

在 args.gn 中設定此值,即可覆寫這個範例發出的問候語。

目前值 (來自預設值): "World"

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

config_have_heap

告知 openweave 納入需要堆積存取的檔案。

目前值 (來自預設值): true

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

crash_diagnostics_dir

Clang 當機報告目錄路徑。使用空白路徑即可完全停用。

目前值 (來自預設值): "//out/not-default/clang-crashreports"

From //build/config/clang/crash_diagnostics.gni:7

crashpad_dependencies

目前值 (來自預設值): "fuchsia"

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

crashpad_http_transport_impl

目前值 (來自預設值): "socket"

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

crashpad_use_boringssl_for_http_transport_socket

目前值 (來自預設值): true

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

ctf_api_level

目前值 (來自預設值): "NEXT"

From //sdk/ctf/build/ctf_api_level.gni:6

ctf_output_directory

目前值 (來自預設值): "frozen-ctf-artifacts-subbuild"

From //sdk/ctf/build/ctf_output_directory.gni:6

current_build_target_api_level

目前建構版本的目標 API 級別。

預設平台建構作業的 API 級別為「PLATFORM」。

如果設為「PLATFORM」,則必須設為「NEXT」、「HEAD」或對應目前支援 (非淘汰) API 級別的正整數。在這種情況下,建構作業會以指定的 API 級別為目標。

這項功能適用於 IDK 子版本中包含的程式碼。並非所有目標都支援非預設值,且不支援其他用途。

目前值 (來自預設值): "PLATFORM"

From //build/config/fuchsia/target_api_level.gni:16

current_cpu

目前值 (來自預設值): ""

current_os

目前值 (來自預設值): ""

custom_signing_script

如果這個值不是空白,系統會叫用指定的指令碼來產生已簽署的 ZBI 圖片。提供的指令碼必須接受 -z 做為輸入 zbi 路徑,並接受 -o 做為輸出簽署的 zbi 路徑。路徑必須採用 GN 標籤語法 (即以 // 開頭)。

目前值 (來自預設值): ""

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

custom_signing_script_deps

如果 custom_signing_script 不是空白,則為指令碼的依附元件清單。

目前值 (來自預設值): []

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

custom_signing_script_inputs

如果 custom_signing_script 不是空白,這些輸入內容會列在組件目標中,讓密封性檢查程式知道要預期讀取這些檔案。

目前值 (來自預設值): []

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

custom_signing_script_tools

如果 custom signing script 不為空白,則為指令碼所依附的主機工具標籤清單 (不含工具鍊)。這些定義通常位於主機板專用的 .gni 檔案中,而 host_oshost_toolchain 尚未定義,因此這些定義不在 custom_signing_script_deps 中。因為這些項目是在實際剖析 BUILDCONFIG.gn 之前,從 args.gn 匯入。

目前值 (來自預設值): []

來自 //build/images/custom_signing.gni:26

custom_vulkan_loader_library_name

目前值 (來自預設值): ""

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

cxx_rbe_check

執行其中一項較昂貴的檢查,適用於 CI。 所有這些功能都需要 cxx_rbe_enable=true。

下列其中一項權限:

  • 「none」:不進行額外檢查。

  • 「決定性」: 在本地執行兩次並比較輸出內容,檢查 C++ 目標的決定性,如果發現任何差異,就會失敗。 即使這項檢查不涉及 RBE,但仍會使用相同的包裝函式指令碼,該指令碼會知道要預期和比較哪些輸出檔案。

    建議不要建構取決於時間的輸出內容,因為這會影響快取。已知的錯誤前置處理巨集包括 DATETIME

  • 「一致性」: 執行本機和遠端 C++ 編譯,並比較結果,檢查兩者是否一致。

目前值 (來自預設值): "none"

來自 //build/toolchain/rbe.gni:214

cxx_rbe_download_obj_files

控制是否要下載中繼 .o 檔案。 如果停用下載功能,建構作業會產生可用於稍後使用 build/rbe/dlwrap.py 擷取遠端構件的虛設常式。TODO(b/284994230):這個選項僅供開發人員使用,且不適用於缺乏直接網路存取的受限環境。

目前值 (來自預設值): true

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

cxx_rbe_enable

設為 true 即可使用 RBE 啟用 C++ 的分散式編譯。 遠端執行可提高建構平行處理和快取功能。

目前值 (來自預設值): false

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

cxx_rbe_exec_strategy

下列其中一項權限:

  • 「remote」:在快取失敗時,從遠端執行動作。遠端快取一律會更新為這個結果。

  • 「local」:在遠端快取中查詢動作,但如果快取失敗,則在本機執行動作。本機產生的結果不會上傳至遠端快取。

  • 「remote_local_fallback」:先遠端執行動作。如果失敗,請改為在本機執行。本機產生的結果不會上傳至遠端快取。

  • 「racing」:競賽本機與遠端執行作業,先完成者獲勝。

  • 「nocache」:強制執行遠端執行作業,但不使用快取結果。這項功能有助於基準化快取未中斷的情況。

    (還有其他未公開的重新包裝選項)。

目前值 (來自預設值): "remote_local_fallback"

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

cxx_rbe_full_toolchain

reclient 擁有決定遠端編譯所需輸入內容的邏輯,但在某些情況下,可能會落後上游工具鍊開發。這個選項會強制將整個工具鍊目錄納入為輸入內容,一般來說保證能正常運作,因為這不會對工具鍊的運作方式做出任何假設,但會造成效能負擔。主要用於偵錯和緊急情況下的解決方法。

目前值 (來自預設值): false

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

cxx_rbe_minimalist_wrapper

設為 true 即可使用快速的簡約包裝函式,這個函式缺少以 Python 為基礎的包裝函式功能,且接近對 rewrapper 的裸呼叫。只有在 cxx_rbe_enable 為 true 時,這個旗標才有意義。

目前值 (來自預設值): true

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

data_filesystem_format

設為「minfs」、「fxfs」或「f2fs」其中之一。 如果設為「minfs」以外的值,fshost 掛接時,現有的 minfs 分區會就地遷移至指定格式。

目前值 (來自預設值): "fxfs"

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

debuginfo

  • none 表示沒有偵錯資訊
  • backtrace 表示有足夠的偵錯資訊可將回溯轉換為符號
  • debug 代表適合偵錯的偵錯資訊

目前值 (來自預設值): "debug"

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

default_bazel_root_host_targets

範圍清單,說明可直接使用 Bazel 建構的 Bazel 主機目標,不需叫用 Ninja。這些目標不得依附於任何 Ninja 構件。結構定義為:

bazel_label [字串]:Bazel 目標標籤,開頭必須為 @

bazel_name [字串]:Bazel 構件檔案的選用檔案名稱,以防與標籤不符。

ninja_name [GN 路徑]:Ninja 硬連結至 Bazel 構件的選用檔案名稱,會顯示在 $NINJA_BUILD_DIR/bazel_artifacts/ 下方,預設為 bazel_name。

install_host_tool [布林值]:選用,設為 true 即可供 fx host-tool <ninja_name> 指令使用。

目前值 (來自預設值):

[{
  bazel_label = "//zircon/tools/merkleroot"
}, {
  bazel_label = "//build/beads/.agent/skills/migrating_host_tool_to_bazel/examples/go/after:go_example_bin_migrated"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/go_example_bin_migrated_/go_example_bin_migrated"
  ninja = "go_example_bin_migrated"
}]
  install_host_tool = true
}, {
  bazel_label = "//src/lib/testing/expectation/tool:list_test_expectations"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/list_test_expectations"
  ninja = "list_test_expectations"
}]
  install_host_tool = true
}, {
  bazel_label = "//tools/rust_test_parser:rust_test_parser"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/rust_test_parser_/rust_test_parser"
  ninja = "rust_test_parser"
}]
}, {
  bazel_label = "//tools/fidl/fidl_api_diff:fidl_api_diff"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/fidl_api_diff_/fidl_api_diff"
  ninja = "fidl_api_diff"
}]
  install_host_tool = true
}, {
  bazel_label = "//tools/go_test_parser:go_test_parser"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/go_test_parser_/go_test_parser"
  ninja = "go_test_parser"
}]
}, {
  bazel_label = "//tools/debug/covargs:covargs"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/covargs_/covargs"
  ninja = "covargs"
}]
}, {
  bazel_label = "//tools/debug/symbolize:symbolize"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/symbolize_/symbolize"
  ninja = "symbolize"
}]
}, {
  bazel_label = "//build/bazel/toolchains/tests:build"
  bazel_name = "build.stamp"
  ninja_name = "bazel_toolchains_tests_build.stamp"
}, {
  bazel_label = "//build/tools/json_validator:json_validator_valico"
  install_host_tool = true
}, {
  bazel_label = "//build/tools/formatjson5"
  install_host_tool = true
}, {
  bazel_label = "//build/tools/bazel2gn"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/bazel2gn_/bazel2gn"
  ninja = "bazel2gn"
}]
}, {
  bazel_label = "//tools/cargo-gnaw:cargo-gnaw-bin"
}, {
  bazel_label = "//tools/pretty_serial"
  install_host_tool = true
}, {
  bazel_label = "//tools/mdlint"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/mdlint_/mdlint"
  ninja = "mdlint"
}]
  install_host_tool = true
}, {
  bazel_label = "//tools/pkgstats/debugdump:debugdump"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/debugdump_/debugdump"
  ninja = "debugdump"
}]
  install_host_tool = true
}, {
  bazel_label = "//tools/debroot:debroot"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/debroot_/debroot"
  ninja = "debroot"
}]
}, {
  bazel_label = "//tools/whereiscl:whereiscl"
  copy_outputs = [{
  bazel = "{{BAZEL_TARGET_OUT_DIR}}/whereiscl_/whereiscl"
  ninja = "whereiscl"
}]
  install_host_tool = true
}, {
  bazel_label = "//tools/jq5:jq5"
  install_host_tool = true
}]

From //build/bazel/bazel_root_targets_list.gni:50

default_configs

目前值 (來自預設值): []

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

default_public_deps

目前值 (來自預設值): []

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

delegated_network_provisioning

請勿在產品定義中設定此項目!僅供開發人員使用 TODO(https://fxbug.dev/42082693):解決在執行階段變更 netcfg 設定的問題後,請移除這項設定。 LINT.IfChange

目前值 (來自預設值): false

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

delivery_blob_type

控管 pkg-resolver 擷取及 blobfs 接受的傳送 Blob 類型。 支援的類型請參閱 //src/storage/blobfs/delivery_blob.h 有效值為整數,例如:1 這個引數僅供當地開發人員使用,產品不應設定這個引數。

目前值 (來自預設值): 1

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

deny_warnings

控制是否要將警告升級為錯誤。

目前值 (來自預設值): true

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

developer_test_labels

開發人員專用引數,用於將測試新增至建構作業,而不需經過上述測試集驗證。這些一律是主要產品組件的依附元件。

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:92

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:92

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:92

dir_docker

目前值 (來自預設值): "//third_party/pigweed/src/docker"

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

dir_pigweed

Pigweed 存放區的位置。

目前值 (來自預設值): "//third_party/pigweed/src"

From //build_overrides/pigweed.gni:11

dir_pw_alignment

目前值 (來自預設值): "//third_party/pigweed/src/pw_alignment"

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

dir_pw_allocator

目前值 (來自預設值): "//third_party/pigweed/src/pw_allocator"

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

dir_pw_analog

目前值 (來自預設值): "//third_party/pigweed/src/pw_analog"

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

dir_pw_android_toolchain

目前值 (來自預設值): "//third_party/pigweed/src/pw_android_toolchain"

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

dir_pw_arduino_build

目前值 (來自預設值): "//third_party/pigweed/src/pw_arduino_build"

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

dir_pw_assert

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert"

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

dir_pw_assert_basic

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert_basic"

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

dir_pw_assert_fuchsia

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert_fuchsia"

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

dir_pw_assert_log

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert_log"

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

dir_pw_assert_tokenized

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert_tokenized"

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

dir_pw_assert_trap

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert_trap"

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

dir_pw_assert_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_assert_zephyr"

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

dir_pw_async

目前值 (來自預設值): "//third_party/pigweed/src/pw_async"

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

dir_pw_async2

目前值 (來自預設值): "//third_party/pigweed/src/pw_async2"

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

dir_pw_async_basic

目前值 (來自預設值): "//third_party/pigweed/src/pw_async_basic"

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

dir_pw_async_fuchsia

目前值 (來自預設值): "//third_party/pigweed/src/pw_async_fuchsia"

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

dir_pw_atomic

目前值 (來自預設值): "//third_party/pigweed/src/pw_atomic"

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

dir_pw_base64

目前值 (來自預設值): "//third_party/pigweed/src/pw_base64"

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

dir_pw_bloat

目前值 (來自預設值): "//third_party/pigweed/src/pw_bloat"

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

dir_pw_blob_store

目前值 (來自預設值): "//third_party/pigweed/src/pw_blob_store"

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

dir_pw_bluetooth

目前值 (來自預設值): "//third_party/pigweed/src/pw_bluetooth"

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

dir_pw_bluetooth_hci

目前值 (來自預設值): "//third_party/pigweed/src/pw_bluetooth_hci"

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

dir_pw_bluetooth_profiles

目前值 (來自預設值): "//third_party/pigweed/src/pw_bluetooth_profiles"

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

dir_pw_bluetooth_proxy

目前值 (來自預設值): "//third_party/pigweed/src/pw_bluetooth_proxy"

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

dir_pw_bluetooth_sapphire

目前值 (來自預設值): "//third_party/pigweed/src/pw_bluetooth_sapphire"

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

dir_pw_boot

目前值 (來自預設值): "//third_party/pigweed/src/pw_boot"

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

dir_pw_boot_cortex_m

目前值 (來自預設值): "//third_party/pigweed/src/pw_boot_cortex_m"

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

dir_pw_build

目前值 (來自預設值): "//third_party/pigweed/src/pw_build"

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

dir_pw_build_android

目前值 (來自預設值): "//third_party/pigweed/src/pw_build_android"

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

dir_pw_build_info

目前值 (來自預設值): "//third_party/pigweed/src/pw_build_info"

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

dir_pw_build_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_build_mcuxpresso"

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

dir_pw_bytes

目前值 (來自預設值): "//third_party/pigweed/src/pw_bytes"

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

dir_pw_change

目前值 (來自預設值): "//third_party/pigweed/src/pw_change"

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

dir_pw_channel

目前值 (來自預設值): "//third_party/pigweed/src/pw_channel"

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

dir_pw_checksum

目前值 (來自預設值): "//third_party/pigweed/src/pw_checksum"

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

dir_pw_chre

目前值 (來自預設值): "//third_party/pigweed/src/pw_chre"

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

dir_pw_chrono

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono"

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

dir_pw_chrono_embos

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono_embos"

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

dir_pw_chrono_freertos

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono_freertos"

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

dir_pw_chrono_rp2040

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono_rp2040"

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

dir_pw_chrono_stl

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono_stl"

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

dir_pw_chrono_threadx

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono_threadx"

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

dir_pw_chrono_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_chrono_zephyr"

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

dir_pw_cli

目前值 (來自預設值): "//third_party/pigweed/src/pw_cli"

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

dir_pw_cli_analytics

目前值 (來自預設值): "//third_party/pigweed/src/pw_cli_analytics"

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

dir_pw_clock_tree

目前值 (來自預設值): "//third_party/pigweed/src/pw_clock_tree"

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

dir_pw_clock_tree_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_clock_tree_mcuxpresso"

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

dir_pw_compilation_testing

目前值 (來自預設值): "//third_party/pigweed/src/pw_compilation_testing"

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

dir_pw_config_loader

目前值 (來自預設值): "//third_party/pigweed/src/pw_config_loader"

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

dir_pw_console

目前值 (來自預設值): "//third_party/pigweed/src/pw_console"

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

dir_pw_containers

目前值 (來自預設值): "//third_party/pigweed/src/pw_containers"

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

dir_pw_cpu_exception

目前值 (來自預設值): "//third_party/pigweed/src/pw_cpu_exception"

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

dir_pw_cpu_exception_cortex_m

目前值 (來自預設值): "//third_party/pigweed/src/pw_cpu_exception_cortex_m"

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

dir_pw_cpu_exception_risc_v

目前值 (來自預設值): "//third_party/pigweed/src/pw_cpu_exception_risc_v"

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

dir_pw_crypto

目前值 (來自預設值): "//third_party/pigweed/src/pw_crypto"

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

dir_pw_digital_io

目前值 (來自預設值): "//third_party/pigweed/src/pw_digital_io"

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

dir_pw_digital_io_linux

目前值 (來自預設值): "//third_party/pigweed/src/pw_digital_io_linux"

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

dir_pw_digital_io_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_digital_io_mcuxpresso"

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

dir_pw_digital_io_rp2040

目前值 (來自預設值): "//third_party/pigweed/src/pw_digital_io_rp2040"

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

dir_pw_digital_io_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_digital_io_zephyr"

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

dir_pw_display

目前值 (來自預設值): "//third_party/pigweed/src/pw_display"

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

dir_pw_dma_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_dma_mcuxpresso"

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

dir_pw_docgen

目前值 (來自預設值): "//third_party/pigweed/src/pw_docgen"

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

dir_pw_doctor

目前值 (來自預設值): "//third_party/pigweed/src/pw_doctor"

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

dir_pw_elf

目前值 (來自預設值): "//third_party/pigweed/src/pw_elf"

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

dir_pw_emu

目前值 (來自預設值): "//third_party/pigweed/src/pw_emu"

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

dir_pw_env_setup

目前值 (來自預設值): "//third_party/pigweed/src/pw_env_setup"

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

dir_pw_env_setup_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_env_setup_zephyr"

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

dir_pw_file

目前值 (來自預設值): "//third_party/pigweed/src/pw_file"

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

dir_pw_flatbuffers

目前值 (來自預設值): "//third_party/pigweed/src/pw_flatbuffers"

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

dir_pw_format

目前值 (來自預設值): "//third_party/pigweed/src/pw_format"

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

dir_pw_function

目前值 (來自預設值): "//third_party/pigweed/src/pw_function"

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

dir_pw_fuzzer

目前值 (來自預設值): "//third_party/pigweed/src/pw_fuzzer"

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

dir_pw_grpc

目前值 (來自預設值): "//third_party/pigweed/src/pw_grpc"

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

dir_pw_hdlc

目前值 (來自預設值): "//third_party/pigweed/src/pw_hdlc"

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

dir_pw_hex_dump

目前值 (來自預設值): "//third_party/pigweed/src/pw_hex_dump"

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

dir_pw_i2c

目前值 (來自預設值): "//third_party/pigweed/src/pw_i2c"

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

dir_pw_i2c_linux

目前值 (來自預設值): "//third_party/pigweed/src/pw_i2c_linux"

來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:115

dir_pw_i2c_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_i2c_mcuxpresso"

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

dir_pw_i2c_rp2040

目前值 (來自預設值): "//third_party/pigweed/src/pw_i2c_rp2040"

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

dir_pw_i2c_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_i2c_zephyr"

來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:118

dir_pw_ide

目前值 (來自預設值): "//third_party/pigweed/src/pw_ide"

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

dir_pw_interrupt

目前值 (來自預設值): "//third_party/pigweed/src/pw_interrupt"

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

dir_pw_interrupt_cortex_m

目前值 (來自預設值): "//third_party/pigweed/src/pw_interrupt_cortex_m"

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

dir_pw_interrupt_freertos

目前值 (來自預設值): "//third_party/pigweed/src/pw_interrupt_freertos"

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

dir_pw_interrupt_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_interrupt_zephyr"

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

dir_pw_intrusive_ptr

目前值 (來自預設值): "//third_party/pigweed/src/pw_intrusive_ptr"

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

dir_pw_json

目前值 (來自預設值): "//third_party/pigweed/src/pw_json"

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

dir_pw_kernel

目前值 (來自預設值): "//third_party/pigweed/src/pw_kernel"

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

dir_pw_kvs

目前值 (來自預設值): "//third_party/pigweed/src/pw_kvs"

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

dir_pw_libc

目前值 (來自預設值): "//third_party/pigweed/src/pw_libc"

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

dir_pw_libcxx

目前值 (來自預設值): "//third_party/pigweed/src/pw_libcxx"

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

dir_pw_log

目前值 (來自預設值): "//third_party/pigweed/src/pw_log"

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

dir_pw_log_android

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_android"

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

dir_pw_log_basic

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_basic"

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

dir_pw_log_fuchsia

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_fuchsia"

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

dir_pw_log_null

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_null"

來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:136

dir_pw_log_rpc

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_rpc"

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

dir_pw_log_string

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_string"

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

dir_pw_log_tokenized

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_tokenized"

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

dir_pw_log_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_log_zephyr"

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

dir_pw_malloc

目前值 (來自預設值): "//third_party/pigweed/src/pw_malloc"

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

dir_pw_malloc_freelist

目前值 (來自預設值): "//third_party/pigweed/src/pw_malloc_freelist"

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

dir_pw_malloc_freertos

目前值 (來自預設值): "//third_party/pigweed/src/pw_malloc_freertos"

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

dir_pw_memory

目前值 (來自預設值): "//third_party/pigweed/src/pw_memory"

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

dir_pw_metric

目前值 (來自預設值): "//third_party/pigweed/src/pw_metric"

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

dir_pw_module

目前值 (來自預設值): "//third_party/pigweed/src/pw_module"

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

dir_pw_multibuf

目前值 (來自預設值): "//third_party/pigweed/src/pw_multibuf"

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

dir_pw_multisink

目前值 (來自預設值): "//third_party/pigweed/src/pw_multisink"

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

dir_pw_numeric

目前值 (來自預設值): "//third_party/pigweed/src/pw_numeric"

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

dir_pw_package

目前值 (來自預設值): "//third_party/pigweed/src/pw_package"

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

dir_pw_perf_test

目前值 (來自預設值): "//third_party/pigweed/src/pw_perf_test"

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

dir_pw_persistent_ram

目前值 (來自預設值): "//third_party/pigweed/src/pw_persistent_ram"

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

dir_pw_polyfill

目前值 (來自預設值): "//third_party/pigweed/src/pw_polyfill"

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

dir_pw_preprocessor

目前值 (來自預設值): "//third_party/pigweed/src/pw_preprocessor"

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

dir_pw_presubmit

目前值 (來自預設值): "//third_party/pigweed/src/pw_presubmit"

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

dir_pw_protobuf

目前值 (來自預設值): "//third_party/pigweed/src/pw_protobuf"

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

dir_pw_protobuf_compiler

目前值 (來自預設值): "//third_party/pigweed/src/pw_protobuf_compiler"

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

dir_pw_random

目前值 (來自預設值): "//third_party/pigweed/src/pw_random"

來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:158

dir_pw_random_fuchsia

目前值 (來自預設值): "//third_party/pigweed/src/pw_random_fuchsia"

來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:159

dir_pw_result

目前值 (來自預設值): "//third_party/pigweed/src/pw_result"

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

dir_pw_ring_buffer

目前值 (來自預設值): "//third_party/pigweed/src/pw_ring_buffer"

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

dir_pw_router

目前值 (來自預設值): "//third_party/pigweed/src/pw_router"

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

dir_pw_rpc

目前值 (來自預設值): "//third_party/pigweed/src/pw_rpc"

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

dir_pw_rpc_transport

目前值 (來自預設值): "//third_party/pigweed/src/pw_rpc_transport"

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

dir_pw_rust

目前值 (來自預設值): "//third_party/pigweed/src/pw_rust"

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

dir_pw_sensor

目前值 (來自預設值): "//third_party/pigweed/src/pw_sensor"

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

dir_pw_snapshot

目前值 (來自預設值): "//third_party/pigweed/src/pw_snapshot"

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

dir_pw_software_update

目前值 (來自預設值): "//third_party/pigweed/src/pw_software_update"

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

dir_pw_span

目前值 (來自預設值): "//third_party/pigweed/src/pw_span"

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

dir_pw_spi

目前值 (來自預設值): "//third_party/pigweed/src/pw_spi"

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

dir_pw_spi_linux

目前值 (來自預設值): "//third_party/pigweed/src/pw_spi_linux"

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

dir_pw_spi_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_spi_mcuxpresso"

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

dir_pw_spi_rp2040

目前值 (來自預設值): "//third_party/pigweed/src/pw_spi_rp2040"

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

dir_pw_spi_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_spi_zephyr"

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

dir_pw_status

目前值 (來自預設值): "//third_party/pigweed/src/pw_status"

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

dir_pw_stm32cube_build

目前值 (來自預設值): "//third_party/pigweed/src/pw_stm32cube_build"

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

dir_pw_stream

目前值 (來自預設值): "//third_party/pigweed/src/pw_stream"

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

dir_pw_stream_uart_linux

目前值 (來自預設值): "//third_party/pigweed/src/pw_stream_uart_linux"

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

dir_pw_stream_uart_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_stream_uart_mcuxpresso"

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

dir_pw_string

目前值 (來自預設值): "//third_party/pigweed/src/pw_string"

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

dir_pw_symbolizer

目前值 (來自預設值): "//third_party/pigweed/src/pw_symbolizer"

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

dir_pw_sync

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync"

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

dir_pw_sync_baremetal

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync_baremetal"

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

dir_pw_sync_embos

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync_embos"

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

dir_pw_sync_freertos

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync_freertos"

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

dir_pw_sync_stl

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync_stl"

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

dir_pw_sync_threadx

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync_threadx"

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

dir_pw_sync_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_sync_zephyr"

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

dir_pw_sys_io

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io"

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

dir_pw_sys_io_ambiq_sdk

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_ambiq_sdk"

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

dir_pw_sys_io_arduino

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_arduino"

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

dir_pw_sys_io_baremetal_lm3s6965evb

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb"

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

dir_pw_sys_io_baremetal_stm32f429

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429"

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

dir_pw_sys_io_emcraft_sf2

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_emcraft_sf2"

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

dir_pw_sys_io_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_mcuxpresso"

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

dir_pw_sys_io_rp2040

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_rp2040"

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

dir_pw_sys_io_stdio

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_stdio"

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

dir_pw_sys_io_stm32cube

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_stm32cube"

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

dir_pw_sys_io_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_sys_io_zephyr"

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

dir_pw_system

目前值 (來自預設值): "//third_party/pigweed/src/pw_system"

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

dir_pw_target_runner

目前值 (來自預設值): "//third_party/pigweed/src/pw_target_runner"

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

dir_pw_third_party

為保持回溯相容而保留。建議改用 pwexternal* 變數。

目前值 (來自預設值): "//third_party/pigweed/src/third_party"

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

dir_pw_third_party_boringssl

如果使用 boringssl 編譯後端,這個變數會設為 boringssl 原始碼的路徑。設定後,系統會在「$pw_external_boringssl」建立 boringssl 程式庫的 pw_source_set。

目前值 (來自預設值): ""

From //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"

From //.gn:135

已覆寫預設值: ""

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

target_cpu = "riscv64" 的目前值: "//third_party/chre/src"

From //.gn:135

已覆寫預設值: ""

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

target_cpu = "x64" 的目前值: "//third_party/chre/src"

From //.gn:135

已覆寫預設值: ""

From //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"

From //.gn:102

已覆寫預設值: ""

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

target_cpu = "riscv64" 的目前值: "//third_party/github.com/google/emboss/src"

From //.gn:102

已覆寫預設值: ""

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

target_cpu = "x64" 的目前值: "//third_party/github.com/google/emboss/src"

From //.gn:102

已覆寫預設值: ""

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

dir_pw_third_party_fuchsia

要在 Pigweed 建構作業中使用的 Fuchsia 來源路徑。預設為 Pigweed 的鏡像,其中包含使用的少數 Fuchsia 來源檔案。

target_cpu = "arm64" 的目前值: "//"

From //.gn:96

已覆寫預設值: "//third_party/pigweed/src/third_party/fuchsia/repo"

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

target_cpu = "riscv64" 的目前值: "//"

From //.gn:96

已覆寫預設值: "//third_party/pigweed/src/third_party/fuchsia/repo"

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

target_cpu = "x64" 的目前值: "//"

From //.gn:96

已覆寫預設值: "//third_party/pigweed/src/third_party/fuchsia/repo"

From //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

目前值 (來自預設值): ""

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

dir_pw_third_party_nanopb

如果編譯 nanopb 的原型,這個變數會設為 nanopb 安裝路徑。設定後,系統會在「$pw_external_nanopb」建立 nanopb 程式庫的 pw_source_set。

目前值 (來自預設值): ""

From //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"

From //.gn:123

已覆寫預設值: ""

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

target_cpu = "riscv64" 的目前值: "//third_party/protobuf/src"

From //.gn:123

已覆寫預設值: ""

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

target_cpu = "x64" 的目前值: "//third_party/protobuf/src"

From //.gn:123

已覆寫預設值: ""

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

dir_pw_thread

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread"

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

dir_pw_thread_embos

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread_embos"

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

dir_pw_thread_freertos

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread_freertos"

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

dir_pw_thread_stl

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread_stl"

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

dir_pw_thread_threadx

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread_threadx"

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

dir_pw_thread_zephyr

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread_zephyr"

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

dir_pw_tls_client

目前值 (來自預設值): "//third_party/pigweed/src/pw_tls_client"

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

dir_pw_tls_client_boringssl

目前值 (來自預設值): "//third_party/pigweed/src/pw_tls_client_boringssl"

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

dir_pw_tls_client_mbedtls

目前值 (來自預設值): "//third_party/pigweed/src/pw_tls_client_mbedtls"

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

dir_pw_tokenizer

目前值 (來自預設值): "//third_party/pigweed/src/pw_tokenizer"

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

dir_pw_toolchain

目前值 (來自預設值): "//third_party/pigweed/src/pw_toolchain"

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

dir_pw_trace

目前值 (來自預設值): "//third_party/pigweed/src/pw_trace"

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

dir_pw_trace_tokenized

目前值 (來自預設值): "//third_party/pigweed/src/pw_trace_tokenized"

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

dir_pw_transfer

目前值 (來自預設值): "//third_party/pigweed/src/pw_transfer"

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

dir_pw_uart

目前值 (來自預設值): "//third_party/pigweed/src/pw_uart"

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

dir_pw_uart_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/pw_uart_mcuxpresso"

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

dir_pw_unit_test

目前值 (來自預設值): "//third_party/pigweed/src/pw_unit_test"

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

dir_pw_uuid

目前值 (來自預設值): "//third_party/pigweed/src/pw_uuid"

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

dir_pw_varint

目前值 (來自預設值): "//third_party/pigweed/src/pw_varint"

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

dir_pw_watch

目前值 (來自預設值): "//third_party/pigweed/src/pw_watch"

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

dir_pw_web

目前值 (來自預設值): "//third_party/pigweed/src/pw_web"

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

dir_pw_work_queue

目前值 (來自預設值): "//third_party/pigweed/src/pw_work_queue"

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

disable_boot_tests

為產生的 boot_test() 設定 disabled 參數的預設值。 TODO(https://fxbug.dev/320511796):不再需要時進行清理。

目前值 (來自預設值): false

來自 //build/testing/boot_tests/boot_test.gni:15

disable_cuckoo_tests

為產生的 cuckoo_test() 設定 disabled 參數的預設值。 TODO(https://fxbug.dev/320511796):不再需要時進行清理。

目前值 (來自預設值): false

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

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,因此沒有這個引數的「舊版」版本。

目前值 (來自預設值): []

From //BUILD.gn:52

dont_profile_source_files

不要透過 profile 變數檢測的來源檔案路徑清單。這些規則的優先順序高於 profile_source_files

目前值 (來自預設值): ["//prebuilt/*"]

來自 //build/config/profile/config.gni:18

dwarf_version

明確指定使用的 DWARF 版本。

目前值 (來自預設值): 5

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

e2e_test_labels

主機驅動的「端對端」測試,在 Fuchsia 映像檔上執行 (實體硬體或模擬)。

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:81

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:81

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:81

enable_assembly_heapdump

如果為 true,在組裝 eng 標準版本期間,系統會強制為整個系統 (包括 component_manager 和所有其他別名) 啟用 Heapdump。

目前值 (來自預設值): false

From //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

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

enable_delayed_bazel_actions

啟用 Bazel 延遲動作,以最佳化 Fuchsia 建構作業。這會導致 Ninja 延遲叫用 Bazel 動作,稍後再透過特殊工作人員指令碼啟動多個動作,該指令碼可將多個 bazel build 叫用合併為單一叫用。請參閱 https://fxbug.dev/468100333

目前值 (來自預設值): false

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

enable_frame_pointers

控制編譯器是否要為函式呼叫發出完整堆疊框架。這會降低效能,但可提高生成良好堆疊追蹤記錄的能力,特別是當我們有與解除堆疊表格生成相關的錯誤時。不適用於主機目標 (請參閱 //build/config/BUILD.gn,其中未設定)。

目前值 (來自預設值): true

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

enable_grpc_ares

使用 ares 編譯。

目前值 (來自預設值): false

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

enable_jobserver

設為 true 可讓 Ninja 實作 GNU Make 工作伺服器集區,以便更妥善地協調平行工作,尤其是在以遞迴方式叫用子建構時。

這樣一來,您就能同時啟動所有 IDK 子版本,不必擔心目前的機器過載。

重要事項:這項功能需要實作 --jobserver 選項的 Ninja 版本。詳情請參閱 https://fxbug.dev/XXXXX。

目前值 (來自預設值): false

From //build/config/jobserver.gni:16

enable_lock_dep

啟用核心鎖定依附元件追蹤。

目前值 (來自預設值): false

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

enable_lock_dep_metadata_only

僅啟用核心鎖定依附元件中繼資料 (如果 enable_lock_dep 為 true,則會忽略這項設定)。

目前值 (來自預設值): false

來自 //zircon/kernel/params.gni:21

enable_lock_dep_tests

啟用核心鎖定依附元件追蹤測試。根據預設,啟用追蹤功能時會啟用這項功能,但也可以獨立啟用,評估測試是否會在停用 lockdep 時建構並正確失敗

目前值 (來自預設值): false

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

enable_mdns_trace

啟用 mdns 的追蹤功能,可使用「mdns-util verbose」開啟。

目前值 (來自預設值): false

來自 //src/connectivity/network/mdns/service/BUILD.gn:14

enable_netboot

網路開機 zbi 已淘汰。這個 GN 參數現在會用於產生警告。

目前值 (來自預設值): false

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

enable_netstack2_tracing

目前值 (來自預設值): false

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

enable_perfetto_android_java_sdk

目前值 (來自預設值): false

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

enable_perfetto_benchmarks

目前值 (來自預設值): false

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

enable_perfetto_etm_importer

目前值 (來自預設值): false

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

enable_perfetto_fuzzers

目前值 (來自預設值): false

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

enable_perfetto_grpc

在 Perfetto 程式碼集啟用 gRPC。gRPC 會大幅增加建構時間和 Perfetto 的一般占用空間。由於這項功能僅適用於 BigTrace,而且只有在建構最終可出貨的二進位檔時才需要,因此請勿預設啟用這項功能。

目前值 (來自預設值): false

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

enable_perfetto_heapprofd

目前值 (來自預設值): false

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

enable_perfetto_integration_tests

目前值 (來自預設值): false

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

enable_perfetto_ipc

目前值 (來自預設值): true

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

enable_perfetto_llvm_demangle

目前值 (來自預設值): false

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

enable_perfetto_llvm_symbolizer

啟用 trace_processor 中的 LLVM 符號器。

目前值 (來自預設值): false

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

enable_perfetto_lockfree_taskrunner

這個旗標用於遷移 UnixTaskRunner -> LockFreeTaskRunner。這會決定 MaybeLockFreeTaskRunner 是由 UnixTaskRunner 還是較新的 LockFreeTaskRunner 支援。UnixTaskRunner 是經過實戰測試的原始 TaskRunner 實作項目,從 2017 年到 2025 年都使用這個項目。LockFreeTaskRunner 是改良過的新版 TaskRunner,我們計畫淘汰 UnixTaskRunner。請注意,在 Android 平台 (非獨立) 建構作業中,系統會忽略這個旗標,並改用 Android 旗標「use_lockfree_taskrunner」(請參閱 perfetto_flags.aconfig)。

目前值 (來自預設值): true

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

enable_perfetto_merged_protos_check

確認合併後的 perfetto_trace.proto 可以轉換為 C++ Lite Proto 並編譯。這項功能預設為停用,因為費用高昂 (可能需要幾分鐘)。

目前值 (來自預設值): false

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

enable_perfetto_pcre2

啟用 PCRE2 支援。不應提取 libpcre2 的個別模組 (例如 libperfetto_client_experimental) 可以透過在編譯時設定 -DPERFETTO_REGEX_FORCE_STD 來選擇停用,這會讓 base::Regex 回退至 std::regex 後端。

目前值 (來自預設值): false

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

enable_perfetto_platform_services

目前值 (來自預設值): false

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

enable_perfetto_re2

啟用 RE2 支援。

目前值 (來自預設值): false

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

enable_perfetto_rt_mutex

目前值 (來自預設值): false

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

enable_perfetto_site

允許建構 perfetto.dev 網站。警告:如果啟用這個標記,建構作業會在產生時執行 globbing。如果沒有重新執行 gn,系統就不會支援新增/移除檔案的漸進式建構作業。

目前值 (來自預設值): false

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

enable_perfetto_sock_inotify

目前值 (來自預設值): false

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

enable_perfetto_stderr_crash_dump

目前值 (來自預設值): false

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

enable_perfetto_system_consumer

目前值 (來自預設值): true

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

enable_perfetto_tools

目前值 (來自預設值): false

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

enable_perfetto_trace_processor

目前值 (來自預設值): false

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

enable_perfetto_trace_processor_httpd

目前值 (來自預設值): false

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

enable_perfetto_trace_processor_json

目前值 (來自預設值): false

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

enable_perfetto_trace_processor_linenoise

目前值 (來自預設值): false

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

enable_perfetto_trace_processor_mac_instruments

目前值 (來自預設值): false

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

enable_perfetto_trace_processor_percentile

目前值 (來自預設值): false

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

enable_perfetto_trace_processor_sqlite

目前值 (來自預設值): false

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

enable_perfetto_traceconv

目前值 (來自預設值): false

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

enable_perfetto_traced_perf

目前值 (來自預設值): false

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

enable_perfetto_traced_probes

目前值 (來自預設值): false

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

enable_perfetto_traced_relay

啟用平台服務時,系統會啟用中繼服務。TODO(chinglinyu) check if we can enable on Windows.

目前值 (來自預設值): false

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

enable_perfetto_ui

目前值 (來自預設值): false

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

enable_perfetto_unittests

目前值 (來自預設值): false

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

enable_perfetto_version_gen

目前值 (來自預設值): false

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

enable_perfetto_watchdog

目前值 (來自預設值): false

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

enable_perfetto_winscope

目前值 (來自預設值): false

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

enable_perfetto_x64_cpu_opt

目前值 (來自預設值): false

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

enable_perfetto_zlib

目前值 (來自預設值): false

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

enable_power_manager_debug

目前值 (來自預設值): false

來自 //src/power/power-manager/BUILD.gn:129

enable_rseq_backend_for_rcu

尚未導入 RSEQ 後端。

目前值 (來自預設值): false

From //src/lib/fuchsia-rcu/BUILD.gn:10

escher_test_for_glsl_spirv_mismatch

如果設為 true,|SpirvNotChangedTest| 會檢查磁碟上預先編譯的著色器是否為最新版本,並反映以最新 shaderc 工具/最佳化編譯的目前著色器原始碼。Scenic 團隊成員應開啟此標記進行建構,確保未透過前置編譯器執行的任何著色器變更,都會將更新後的 SPIR-V 寫入磁碟。其他團隊和 CQ 無須擔心這個旗標。

目前值 (來自預設值): false

From //src/ui/lib/escher/build_args.gni:18

escher_use_runtime_glsl

決定 escher 是否會使用 glslang 和 shaderc 程式庫建構。如果為 false,這些程式庫就不會納入 scenic/escher 二進位檔,因此無法在執行階段編譯著色器。系統會改為從磁碟將預先編譯的 SPIR-V 程式碼載入記憶體。

目前值 (來自預設值): false

From //src/ui/lib/escher/build_args.gni:10

exclude_testonly_syscalls

如果設為 true,系統會排除具有 [testonly] 屬性的系統呼叫。

目前值 (來自預設值): false

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

experimental_channel_call_propagation_enabled

傳播頻寬,並為進行管道呼叫的執行緒啟用執行佇列升級。

目前值 (來自預設值): false

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

experimental_continuous_per_vmo_attribution_enabled

新增核心內支援,用於查詢每個 VMO 填入的位元組高水位標記。

目前值 (來自預設值): false

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

experimental_cxx_version

注意:這項設定僅供實驗,通常不應變更。設定編譯時使用的 C++ 標準版本。必須是 _available_cxx_versions 中的其中一個值。另請注意,GN 程式碼絕不應直接使用這個變數,而是應一律使用 fuchsia_cxx_version 變數。

目前值 (來自預設值): false

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

experimental_dso_enabled

如果為 true,系統會納入啟用實驗性 dso 版本的元件 (//src/sys/runners/dso),取代標準版本。這個標記用於支援實驗性 DSO 建構工具,詳情請參閱 https://fxbug.dev/403545512

目前值 (來自預設值): false

From //build/assembly/tools/assembly/BUILD.gn:15

experimental_elf_page_size

TODO(https://fxbug.dev/42107211):這是極度實驗性的設定,不得用於正式版 (包括 SDK) 建構作業。

這是 ELF ABI 的頁面大小上限。在保持 ABI 相容性的情況下,這個值一律只能增加 (以 2 的次方為單位),不能減少;任何增加都可能影響儲存空間和記憶體大小。這個 GN 建構作業連結的二進位檔,會與系統上的 ELF 載入作業相容,因為系統在執行階段實際使用的頁面大小與這個大小相同,或小於這個大小 (最小為 4k)。如果系統使用的網頁大小大於此值,就無法載入這個建構作業產生的任何 ELF 二進位檔。

目前值 (來自預設值): 4096

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

experimental_force_enable_new_wakeup_accounting

強制啟用新的排程器喚醒會計功能,忽略開機選項值。這項設定用於在個別試用機器人層級強制啟用這項功能,可設定 gn 引數,但無法設定啟動選項。

TODO(https://fxbug.dev/322207536):解決堆疊中較高的競爭條件後,請停止重設開始和結束時間。

目前值 (來自預設值): false

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

experimental_thread_sampler_enabled

加入核心取樣執行緒的機制,並將結果寫入緩衝區

目前值 (來自預設值): false

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

export_bazel_host_tests

設為 True 可讓 Fuchsia 測試執行器 (即 fx testbotanist) 看到 Bazel 主機測試。這項功能仍在實驗階段,但會成為預設功能。詳情請參閱 https://fxbug.dev/349341932。

目前值 (來自預設值): false

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

exported_package_labels

如果為這個變數新增標籤,系統會收集這些標籤擷取的目標,並在「package_archives」建構 API 模組中公開。exported_fuchsia_package_archive()不會擷取一般fuchsia_package_archive()目標。

一般來說,建議使用明確定義的精選套件 group() 標籤,而不是直接新增 exported_fuchsia_package_archive() 目標的標籤。

目前值 (來自預設值): []

From //BUILD.gn:66

extra_bazel_assembly_targets

啟用 Bazel 組裝時要納入的額外 GN 目標。這份清單可用於納入驗證和其他 Bazel 組件專屬目標。

目前值 (來自預設值): []

來自 //build/images/args.gni:144

extra_bazel_build_action_labels

在 args.gn 中設定此項目,列出無法從 //:default 存取的 bazel_action() 標籤,但這些標籤可能會在開發期間在本機建構。這是必要步驟,可確保系統在產生時建立 @gn_targets_dir 目錄,並在 Bazel 圖表上正確執行查詢。

目前值 (來自預設值): []

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

extra_kernel_test_images

每個 kernel_zbi_test() 都會根據提供的核心映像檔清單中的每個項目,產生一個 zbi_test();這個清單會無條件擴充該選取範圍。這項功能可讓開發人員和建構人員在 GN 圖表中導入更多類型的測試,且預設不會影響產生時間。

目前值 (來自預設值): []

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

extra_package_labels

目前值 (來自預設值): []

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

extra_variants

支援其他變體工具鍊設定。 這只是新增至 known_variants

目前值 (來自預設值): []

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

fastboot_product

目前值 (來自預設值): ""

來自//build/images/args.gni:57//build/images/args.gni:57

fat_lto_objects

是否要在 LTO 建構作業中啟用 -ffat-lto-objects。 https://llvm.org/docs/FatLTO.html

目前值 (來自預設值): true

From //build/config/lto/config.gni:14

ffmpeg_profile

目前值 (來自預設值): "default"

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

ffx_build_dual_mode_plugins_as_subtools

建構任何可建構為內建或獨立子工具的 ffx 外掛程式。

請注意,如果您變更這項設定,但未執行 fx clean,可能會導致主要 ffx 二進位檔 (內建所有外掛程式) 或個別編譯的二進位檔過時,並產生令人困惑的 ffx helpffx commands 輸出。

所有要遷移至 SDK 的子工具都遷移完畢後,這個設定旗標預設會設為 true,並遭到淘汰,最終會移除:https://fxbug.dev/42068537

目前值 (來自預設值): false

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

flatland_verbose_logging

如果為 true,Flatland 會記錄大量資料。用於偵錯。

目前值 (來自預設值): false

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

font_catalog_paths

目前值 (來自預設值): ["//prebuilt/third_party/fonts/fuchsia.font_catalog.json"]

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

font_pkg_entries

合併 .font_pkgs.json 檔案的內容。在 fonts.gni 中填入。

目前值 (來自預設值): []

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

font_pkgs_paths

.font_pkgs.json 檔案的位置,其中列出工作區內字型檔案的位置,以及從字型檔案名稱衍生而來的安全名稱,可用於命名 Fuchsia 套件。

目前值 (來自預設值): ["//prebuilt/third_party/fonts/fuchsia.font_pkgs.json"]

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

fonts_dir

從 CIPD 簽出所有字型的目錄

目前值 (來自預設值): "//prebuilt/third_party/fonts"

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

fuchsia_product_assembly_config_label

用於設定主要 Fuchsia 映像檔的產品組裝設定。 這是 GN 產品的必填屬性。 對於 Bazel 產品,這是選填屬性。 如果是 Bazel 產品,只有在提供這項資訊時,才能使用網路開機。

目前值 (來自預設值): false

From //build/product.gni:14

fuchsia_sdk_root

Fuchsia SDK 的消費者會在建構根目錄中的特定位置,例項化各種 SDK 部分的範本。特定部分的目標名稱會從 meta.json 資訊清單中指定的部分名稱衍生而來。不同的 Buildroot 會在不同位置例項化 SDK 部分,然後設定這個變數。GN 規則隨後可以在 SDK 建構作業中,將這個變數名稱加到 SDK 部分的名稱前面。在非 SDK 建構根目錄中,這個標記沒有意義。

目前值 (來自預設值): ""

From //build/fuchsia/sdk.gni:17

fuchsia_sync_detect_lock_cycles

是否使用追蹤互斥鎖,偵測鎖定取得圖中的週期。 請只在偵錯版本中預設啟用這項功能,因為這會導致平衡/發布版本速度過慢,無法實際使用。

目前值 (來自預設值): false

From //src/lib/fuchsia-sync/build/args.gni:9

futex_block_tracing_enabled

TODO(johngro):文件

目前值 (來自預設值): false

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

fvm_partition

目前值 (來自預設值): ""

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

fxfs_blob

使用 Fxfs 的 Blob 實作項目 由於輸出內容已變更,因此閃爍邏輯也隨之變更。 切換大量測試,以使用 fxfs。

目前值 (來自預設值): true

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

fxfs_partition

目前值 (來自預設值): ""

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

gcc_tool_dir

GCC 工具鍊二進位檔 (「gcc」、「nm」等) 所在的目錄。這個目錄應包含用於建構 Fuchsia 目標的 aarch64-elf-*x86_64-elf-* 工具。這個目錄不會用於主機工具。如果這個值為「」,系統會使用標準預先建構的項目。

目前值 (來自預設值): ""

From //build/toolchain/zircon/gcc.gni:10

generate_cuckoo_tests

定義 kernel_zbi_test() 範本 generate_cuckoo 參數的預設值。 如果為 true,所有 kernel_zbi_tests() 執行個體預設都會產生 cuckoo_zbi_test(),這是為從目標系統外洩檢測資料而產生的完整系統映像檔。

目前值 (來自預設值): false

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

generate_licenses_spdx_stubs

如果為 true,generated_licenses_spdx 範本會產生含有預留位置授權的虛設常式 SPDX 檔案。系統將略過收集授權。 由於收集授權需要大量資源,因此這項功能適用於非正式版建構作業,可加快執行速度。您可以在特定 generated_licenses_spdx 範本叫用中,透過 generate_stub 參數覆寫全域設定。

目前值 (來自預設值): true

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

generate_plasa_artifacts

如果設定此屬性,系統就會產生 plasa 構件。並非所有建構作業都需要使用 plasa 構件,因此我們將預設值設為略過產生作業。

目前值 (來自預設值): false

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

gigaboot_backends

指定實作 gigaboot/cpp/backends.h 中定義必要後端的 gn 目標

目前值 (來自預設值): "//src/firmware/gigaboot/cpp:backends_nuc"

From //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"

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

gigaboot_gbl_efi_app

目前值 (來自預設值): "//prebuilt/third_party/android/gbl/mainline/gbl_x86_64_dev.efi"

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

gigaboot_use_gbl

布林值,指出是否要使用 GBL 開機。

TODO(b/368647237):這是暫時的切換選項,可先啟用以 GBL 為基礎的安裝程式,我們準備好將 gigaboot 遷移至 GBL 後,就會移除這個選項。

目前值 (來自預設值): false

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

gigaboot_user_permanent_attributes

prod 簽署的 gigaboot 永久屬性檔案。設定此項目會啟用目標 //src/firmware/gigaboot/cpp:user-esp

目前值 (來自預設值): ""

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

gigaboot_userdebug_permanent_attributes

使用者偵錯 Gigaboot 的永久屬性檔案。設定此項目會啟用目標 //src/firmware/gigaboot/cpp:userdebug-esp

目前值 (來自預設值): ""

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

go_vet_enabled

go_vet_enabled [bool] if false, go vet invocations are disabled for all builds.

目前值 (來自預設值): false

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

gocache_dir

gocache_dir GOCACHE 環境變數將設定為的目錄。這個目錄會快取建構和測試結果,且可安全地同時寫入。如果遭到覆寫,這個目錄必須是完整路徑。

目前值 (來自預設值): "/b/s/w/ir/x/w/fuchsia/out/not-default/.gocache"

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

graphics_compute_generate_debug_shaders

在 args.gn 檔案中設為 true,即可在 HotSort 和 Spinel 目標生成輸出目錄的「debug」子目錄下,生成預先處理和自動格式化的著色器。

這些值絕不會使用,但可手動查看,以驗證設定參數的影響,或修改運算著色器時使用。

結果範例:

out/default/ gen/src/graphics/lib/compute/ hotsort/targets/hs_amd_gcn3_u64/ comp/ hs_transpose.comp -> unpreprocessed shader debug/ hs_transpose.glsl -> preprocessed shader

目前值 (來自預設值): true

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

graphics_compute_generate_spirv_debug_info

如果您使用 GPU 輔助驗證,建議您一併納入偵錯資訊,並略過 spirv-opt 和 spirv-reduce 傳遞。

目前值 (來自預設值): false

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

graphics_compute_skip_spirv_opt

有時我們可能想比較未最佳化與最佳化著色器的效能。在電腦平台,使用 spirv-opt 似乎不會大幅提升效能,但可大幅縮減 SPIR-V 模組的大小。

停用 spirv-opt 傳遞也有助於找出程式碼產生錯誤並歸因。

目前值 (來自預設值): false

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

grpc_use_static_linking

目前值 (來自預設值): false

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

hangcheck_timeout_ms

設定此值,以配合長時間執行的測試

目前值 (來自預設值): 0

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

has_board

這個版本會匯入開發板 (而非 SDK)。如果已設定主機板 (fx set .),則為 true。

target_cpu = "arm64" 的目前值: true

From //boards/arm64.gni:20

已覆寫預設值: false

From //build/board.gni:8

target_cpu = "riscv64" 的目前值: true

From //boards/riscv64.gni:20

已覆寫預設值: false

From //build/board.gni:8

target_cpu = "x64" 的目前值: true

From //boards/x64.gni:20

已覆寫預設值: false

From //build/board.gni:8

hermetic_test_package_labels

完全密封的測試 (包括封裝和執行階段)

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:73

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:73

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:73

host_byteorder

目前值 (來自預設值): "undefined"

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

host_cpu

目前值 (來自預設值): "x64"

host_labels

如果為這個變數新增標籤,這些標籤會納入「主機」構件集,代表建構作業產生的另一組僅限主機的軟體。

這些項目會使用主機工具鍊新增至建構作業。

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:99

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:99

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:99

host_os

目前值 (來自預設值): "linux"

host_test_labels

僅限主機的測試。這些項目不得依附於組裝的平台映像檔或編譯的 OS 本身,即使是 host_test_data() 也不例外。

這些項目會使用主機工具鍊新增至建構作業。

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:87

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:87

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:87

host_tools_base_path_override

請將這個值設為目錄路徑,其中包含由 compiled_action() 產生的主機工具預先建構二進位檔。執行子建構 (例如產生 IDK 時,需要為不同 API 級別和 CPU 架構重建 SDK 集合) 時,這項設定非常實用,可避免每次都重建主機工具。

目前值 (來自預設值): ""

From //build/host.gni:21

host_tools_dir

這是安裝主機工具的目錄,供開發人員手動使用。開發人員可能會將其放入 Shell 的 $PATH。這裡不會複製僅在建構期間需要的主機工具。這個目錄僅適用於一般測試或偵錯,或 GN 建構程序以外的其他用途。這些工具只會透過明確的 install_host_tools() 規則安裝 (請參閱 //build/host.gni)。

目前值 (來自預設值): "//out/not-default/host-tools"

From //build/host.gni:13

hwasan_default_options

預設 HawrdwareAddressSanitizer 選項 (在執行階段讀取 HWASAN_OPTIONS 環境變數之前)。這項設定可以做為建構引數,影響 $variants 中的大多數「hwasan」變體 (請參閱),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。

請注意,即使這個項目為空白,這個建構版本中的程式無法定義自己的 __hwasan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項,都可以覆寫這個清單中的選項設定。

目前值 (來自預設值): ["allocator_may_return_null=1"]

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

i_can_haz_atlas_camera

設為 true 時,系統會在開機時開啟 Atlas 攝影機電源。 TODO(https://fxbug.dev/42162166):移除後,我們就能以更完善的方式管理 ACPI 裝置電源。

目前值 (來自預設值): false

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

ice_detection

啟用可偵測逾時和 ICE 的 rustc 包裝函式 TODO(pineapple):解決 b/345596983 後,使用 rust_incremental 時預設啟用

目前值 (來自預設值): false

From //build/rust/build.gni:30

icu_copy_icudata_to_root_build_dir

如果設定,則「:icudata」目標會將 ICU 資料複製到 $root_build_dir。

目前值 (來自預設值): false

From //build/icu.gni:27

icu_disable_thin_archive

如為 true,請將 icu 編譯為獨立的靜態資料庫。目前這項功能僅適用於 ChromeOS。

目前值 (來自預設值): false

From //build/icu.gni:19

icu_fuchsia_extra_compile_flags

有時 Fuchsia 需要 ICU 的額外編譯旗標,才能配合目前的工具鍊。由於 ICU 需要一段時間才能在 Fuchsia 中推出,因此從 ICU 提交到修正程式在 Fuchsia 中推出,可能需要很長的時間。這個標記可讓我們在 //build/icu.gni 中預先定義標記,並移除推出問題。

目前值 (來自預設值): ["-Wno-newline-eof", "-Wno-unnecessary-virtual-specifier"]

From //build/icu.gni:38

icu_fuchsia_extra_configs

與上述類似,但可新增整個 config 目標。

目前值 (來自預設值): []

From //build/icu.gni:47

icu_fuchsia_override_data_dir

如果設為非空白,這個標籤就是用來擷取 ICU 資料檔案內容的目錄標籤。只有在 Fuchsia 來源樹狀結構中建構時,這項設定才會生效。

目前值 (來自預設值): ""

From //build/icu.gni:24

icu_fuchsia_remove_configs

與上述類似,但允許移除整個 config 目標 (如果存在)。

目前值 (來自預設值): []

From //build/icu.gni:51

icu_major_version_number

包含 ICU 程式庫的主要版本號碼,適用於需要根據程式庫版本進行不同設定的依附元件。目前這項功能僅適用於 Fuchsia。

目前值 (來自預設值): "78"

來自 //third_party/icu/default/version.gni:13

icu_tzres_path

目前值 (來自預設值): "//prebuilt/third_party/tzres"

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

icu_tzres_source

要用於 ICU 時區 .res 檔案的來源位置:「git」或「prebuilt」。

如果設為「git」,則 tzres 檔案會包含與 ICU 資料單體相同的時區定義。

如果設為「預先建構」,系統會從 CIPD 擷取 tzres 檔案,這些檔案可能比 ICU 資料單體中的檔案新。

目前值 (來自預設值): "prebuilt"

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

icu_use_data_file

告知 icu 載入外部資料檔案,而非依附直接連結至二進位的 icudata。

目前值 (來自預設值): true

From //build/icu.gni:10

icu_use_stub_data

如果為 true,系統會建立虛設常式資料檔案。如要改用自訂資料檔案,請停用這項設定,以免符號衝突。

目前值 (來自預設值): true

From //build/icu.gni:15

icu_use_target_out_dir

如果設定這個值,建構的程式庫會位於各自的預設輸出目錄,而不是 root_build_dir。

目前值 (來自預設值): true

From //build/icu.gni:31

idk_buildable_api_levels

這項建構作業將在 IDK/SDK 中提供建構時間支援的 API 級別組合。預設集合是 //sdk/version_history.json 中的所有 supportedin development 非特殊 API 級別。其他有效值是包含預設值子集的清單。如果為空白,則只會建構 IDK 包含在「PLATFORM」建立的構件的目標。

這有助於縮短任何包含 IDK/SDK 的建構作業整體建構時間,但會減少 API 級別支援的涵蓋範圍。例如:fx build //sdk:final_fuchsia_idk

如要覆寫 CPU 架構集,請參閱 idk_buildable_cpus

請勿直接使用 platform_version 成員。 LINT.IfChange

目前值 (來自預設值): [27, 28, 29, 30, 31, "NEXT"]

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

idk_buildable_cpus

建構作業將在 IDK/SDK 中提供建構時間支援的目標 CPU 架構集。預設集相當於 ["arm64", "riscv64", "x64"]。其他有效值為清單,其中包含該清單的子集,包括目前的 `target_cpu`。

這有助於縮短任何包含 IDK/SDK 的建構作業整體建構時間,但會減少目標 CPU 架構支援的涵蓋範圍。例如:fx build //sdk:final_fuchsia_idk

如要覆寫 API 級別組合,請參閱 idk_buildable_api_levels。 LINT.IfChange

目前值 (來自預設值): ["arm64", "riscv64", "x64"]

From //build/sdk/config.gni:71

in_default_toolchain

很遺憾的是,GN 永遠不會在執行 BUILDCONFIG.gn 時設定 current_toolchain,因此這個變數可用於偵測這個檔案是否在預設工具鍊的環境中執行。

如果使用非預設工具鍊,系統會將這個值設為 false。此外,也不應在 args.gn 中設定。

LINT.IfChange(in_default_toolchain)

目前值 (來自預設值): true

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

include_account_in_fvm

如果設為 true,則在 FVM 映像檔中加入帳戶分割區。

目前值 (來自預設值): false

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

include_clippy

將 Rust 目標轉換為包含一般目標和 Clippy 目標的群組。這會導致建構作業中包含剪貼簿目標。這項功能預設會透過 fx set 啟用,但在 GN 中預設為關閉,因此不會在基礎架構中啟用。

目前值 (來自預設值): false

From //build/rust/rust_auxiliary_args.gni:16

include_internal_fonts

如要將內部字型納入建構作業,請將此旗標設為 true。

目前值 (來自預設值): false

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

include_rustdoc

.rustdoc 子目標的啟用切換開關。如果 true,請遵守每個目標的 disable_rustdoc 設定。如果是 false,請勿定義任何 rustdoc 子目標。

目前值 (來自預設值): false

From //build/rust/rust_auxiliary_args.gni:21

include_zxdb_large_tests

通常不會建構及執行這些測試,因為需要下載大量選用資料。將此值設為 true,即可啟用 zxdb_large_tests 的建構作業。 如要瞭解如何下載這項測試所需的資料,請參閱 symbols/test_data/README.md。

目前值 (來自預設值): false

來自 //src/developer/debug/zxdb/BUILD.gn:12

inet_config_enable_async_dns_sockets

告訴 inet 額外支援非同步 DNS 通訊端。

目前值 (來自預設值): true

From //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

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

inet_want_endpoint_tcp

目前值 (來自預設值): true

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

inet_want_endpoint_tun

目前值 (來自預設值): true

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

inet_want_endpoint_udp

目前值 (來自預設值): true

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

integration_tests_verbose_logging

根據預設,在測試中記錄詳細的字型訊息。

目前值 (來自預設值): true

From//src/fonts/tests/integration/BUILD.gn:20//src/fonts/tests/integration/BUILD.gn:20

is_analysis

如果設定此選項,建構作業會產生編譯分析傾印,用於程式碼搜尋中的程式碼交叉參照。分析期間的額外工作僅適用於交叉參照建構作業,因此我們預設會關閉標記和分析負擔。

目前值 (來自預設值): false

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

is_multi_product_build

目前值 (來自預設值): false

來自//build/images/args.gni:185//build/images/args.gni:185

is_perfetto_build_generator

所有工具/gen_* 指令碼都會將這個值設為 true。這項功能主要用於從 //gn (而非 //build) 尋找 .gni 檔案。

目前值 (來自預設值): false

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

is_perfetto_embedder

這是透過 gn args 覆寫 (例如適用於 tools/gen_xxx)。以 GN 為基礎的嵌入器 (例如 v8)「不應」設定這個值,而應直接在 GN 檔案中設定 perfetto_build_with_embedder=true。

目前值 (來自預設值): false

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

jtrace_enabled

如需這些設定選項的說明,請參閱 https://fuchsia.dev/fuchsia-src/development/debugging/jtrace。

請注意,特殊值「auto」僅用於項目的預設定義 (如下)。這個值會根據是否為持續追蹤設定 JTRACE,自動選擇預設值,同時允許使用者明確覆寫該值,無論是否啟用持續追蹤都適用。

目前值 (來自預設值): false

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

jtrace_last_entry_storage

目前值 (來自預設值): 0

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

jtrace_target_buffer_size

目前值 (來自預設值): "auto"

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

jtrace_use_large_entries

目前值 (來自預設值): "auto"

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

jtrace_use_mono_timestamps

目前值 (來自預設值): false

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

kernel_debug_level

啟用各種核心偵錯和診斷功能。有效值介於 0 至 2 之間。值越高,啟用的功能就越多。如果值為 0,系統會停用所有功能。

TODO(https://fxbug.dev/42117912):與舊版圖片一併刪除。

目前值 (來自預設值): 2

From //zircon/kernel/switch/set/legacy/BUILD.gn:23

kernel_debug_print_level

控制核心 dprintf 訊息的詳細程度。值越高,發出的 dprintf 訊息就越多。有效值為 0 到 2 (含): 0 - CRITCAL / ALWAYS 1 - INFO 2 - SPEW

目前值 (來自預設值): 2

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

kernel_extra_defines

核心程式碼的額外巨集定義,例如「ENABLE_KERNEL_LL_DEBUG」。

目前值 (來自預設值): []

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

kernel_memory_profiler

針對每個 malloc 和 free 啟用堆疊追蹤和統計資料匯總。 /boot/kernel/i/memory-profile/d/heap.bin 包含二進位資料。使用 ffx profile heapdump snapshot --kernel 產生符號化記憶體設定檔。

目前值 (來自預設值): false

From //zircon/kernel/switch/BUILD.gn:20

kernel_no_userabi

建構不支援使用者空間的核心,僅供開發用途。

目前值 (來自預設值): false

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

kernel_version_string

核心中嵌入的 zx_system_get_version_string 版本字串。 如果設為預設值「」,系統會根據 Fuchsia Git 存放區的狀態產生字串。

目前值 (來自預設值): ""

From //zircon/kernel/lib/version/BUILD.gn:22

known_variants

將做為變體工具鍊基礎的變體清單。如要使用變體,請設定 select_variant

通常這不會設為建構引數,但可用於記錄可用的變數集。如要新增更多,請改為設定 extra_variants

清單中的每個元素都是一個變體,也就是定義範圍:

configs (選用) [標籤清單] 每個標籤都會命名一個設定,這個設定會由這個變體中建構的每個目標自動使用。 每個設定 ${label} 也必須有目標 ${label}_deps,這個變數中建構的每個目標都會自動依附於該目標。建議使用 variant() 範本,同時定義設定及其 _deps 目標。

remove_common_configs (選用) remove_shared_configs (選用) [標籤清單] 這個清單會從 default_common_binary_configs 清單 (或 default_shared_library_configs 清單) 中移除 (使用 -=), 前提是已新增所有其他預設值 (和這個變體的設定)。

deps (選用) [標籤清單] 新增至這個變體中連結的每個終端目標的依附元件 (以及設定中每個標籤的自動 ${label}_deps)。

executable_deps [標籤清單] 新增至這個變體中連結的每個 executable() 目標的 deps (以及上述的 deps,和 configs 中每個標籤的自動 ${label}_deps)。

link_deps [標籤清單] 新增至這個變體中連結的每個連結目標 (即終端目標,以及 shared_library() 目標) 的 deps,以及上述的 deps,和 configs 中每個標籤的自動 ${label}_deps

source_deps [標籤清單] 新增至每個編譯目標的依附元件。sources這會新增至 source_set() 和 static_library() 目標,且僅限於此;連結目標會同時取得這項和 deps

name (如果省略 configs,則為必要) [string] 變體名稱,如 select_variant 元素 variant 欄位中所用。 建議您使用簡潔且有意義的名稱,例如在 $root_build_dir 下的目錄名稱中。如果省略名稱,設定檔不得為空白,且這些設定檔的簡單名稱 (不是完整標籤,只是所有 /: 後的部分) 會用於工具鍊名稱 (每個名稱都以「-」做為前置字元),因此構成每個變體的設定檔名稱清單在 known_variants + extra_variants 的清單中不得重複。

tags (選用) [字串清單] 描述從這個變數範圍建立的工具鍊執行個體屬性寬鬆字串清單。See //build/toolchain/variant_tags.gni for the list of available values and their meaning.

toolchain_args (選用) [scope] 這個範圍中定義的每個變數,都會覆寫這個變體工具鍊環境中的建構引數。

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", "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"]
}, {
  configs = ["//build/config/lto:thinlto", "//build/config/sanitizers:cfi"]
  tags = ["lto", "custom-runtime"]
}, {
  configs = ["//build/config/sanitizers:asan", "//build/config:no-safe-stack", "//build/config/sanitizers:sancov"]
  host_only = {
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
  name = "kasan-sancov"
  remove_common_configs = []
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-only", "sancov"]
  toolchain_args = { }
}, {
  configs = ["//build/config/sanitizers:asan", "//build/config/fuzzer", "//build/config/sanitizers:rust-asan", "//build/config:icf"]
  host_only = {
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
  name = "asan-fuzzer"
  remove_common_configs = ["//build/config:default_frame_pointers", "//build/config:icf"]
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
  tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded", "fuzzer"]
  toolchain_args = {
  asan_default_options = "alloc_dealloc_mismatch=0:check_malloc_usable_size=0:detect_odr_violation=0:max_uar_stack_size_log=16:print_scariness=1:allocator_may_return_null=1:detect_leaks=0:detect_stack_use_after_return=1:malloc_context_size=128:print_summary=1:print_suppressions=0:strict_memcmp=0:symbolize=0"
}
}, {
  configs = ["//build/config/fuzzer", "//build/config/sanitizers:ubsan", "//build/config:icf"]
  name = "ubsan-fuzzer"
  remove_common_configs = ["//build/config:icf", "//build/config:no_rtti"]
  remove_shared_configs = ["//build/config:symbol_no_undefined"]
  tags = ["fuzzer", "instrumented", "instrumentation-runtime", "needs-compiler-abi", "ubsan"]
}, {
  name = "gcc"
  tags = ["gcc"]
}, {
  name = "cxx20"
  toolchain_args = {
  experimental_cxx_version = 20
}
}, {
  configs = ["//build/config/profile:heapdump"]
  tags = ["fuchsia-only", "heapdump", "instrumented", "instrumentation-runtime", "kernel-excluded", "needs-compiler-abi"]
}]

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

執行其中一項較昂貴的檢查,適用於 CI。 所有這些功能都需要 link_rbe_enable=true。

下列其中一項權限:

  • 「none」:不進行額外檢查。

  • 「決定性」: 在本機執行兩次並比較輸出內容,檢查連結的決定性,如果發現任何差異,就會失敗。 即使這項檢查不涉及 RBE,但仍會使用相同的包裝函式指令碼,該指令碼會知道要預期和比較哪些輸出檔案。

  • 「一致性」: 執行本機和遠端連結動作,並比較結果,檢查兩者是否一致。

目前值 (來自預設值): "none"

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

目前值 (來自預設值): true

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

設為 true,即可使用 RBE 啟用遠端連結。這包括使用 ar 的動作,或使用 clang 驅動連結器 (例如 lld)。

目前值 (來自預設值): false

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

下列其中一項權限:

  • 「remote」:在快取失敗時,從遠端執行動作。遠端快取一律會更新為這個結果。

  • 「local」:在遠端快取中查詢動作,但如果快取失敗,則在本機執行動作。本機產生的結果不會上傳至遠端快取。

  • 「remote_local_fallback」:先遠端執行動作。如果失敗,請改為在本機執行。本機產生的結果不會上傳至遠端快取。

  • 「racing」:競賽本機與遠端執行作業,先完成者獲勝。

  • 「nocache」:強制執行遠端執行作業,但不使用快取結果。這項功能有助於基準化快取未中斷的情況。

    (還有其他未公開的重新包裝選項)。

目前值 (來自預設值): "remote_local_fallback"

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

reclient 擁有決定遠端連結所需輸入內容的邏輯,但在某些情況下,可能會落後上游工具鍊開發。這個選項會強制將整個工具鍊目錄納入為輸入內容,一般來說保證能正常運作,因為這不會對工具鍊的運作方式做出任何假設,但會造成效能負擔。主要用於偵錯和緊急情況下的解決方法。

目前值 (來自預設值): false

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

llvm_prefix

這個目錄包含 linux-x64、linux-arm64 和 mac-x64 的 cipd 套件。您可以從 cipd 下載這些個別套件,並將此設定為包含這些套件的目錄,而不要使用來源樹狀結構提供的預先建構項目。

目前值 (來自預設值): "//prebuilt/third_party/llvm"

From //src/lib/llvm/llvm_library.gni:10

local_bench

fx shell 中執行基準測試時,可用於啟用本機基準測試/微調。將 --args=local_bench='true' 傳遞至 fx set,即可啟用這項功能。

目前值 (來自預設值): false

From //src/developer/fuchsia-criterion/BUILD.gn:13

lock_name_tracing_enabled

在核心發出的時間長度中啟用鎖定名稱:爭用類別。 這會少量增加每個鎖的大小,以參照其追蹤標籤。

目前值 (來自預設值): false

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

log_startup_sleep

目前值 (來自預設值): "30000"

From //src/diagnostics/log_listener/BUILD.gn:14

lsan_default_options

預設 LeakSanitizer 選項 (在執行階段讀取 LSAN_OPTIONS 環境變數之前)。這項設定可以做為建構引數,影響 $variants 中的大多數「lsan」變數 (請參閱),或在其中一個變數的 $toolchain_args 中覆寫。可以是字串清單或單一字串。

請注意,即使這個項目為空白,這個建構版本中的程式無法定義自己的 __lsan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項,都可以覆寫這個清單中的選項設定。

目前值 (來自預設值): []

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

magma_debug

目前值 (來自預設值): false

From //src/graphics/magma/lib/magma/util/BUILD.gn:17

magma_enable_tracing

啟用這項功能即可納入 Fuchsia 追蹤記錄能力

目前值 (來自預設值): true

From //src/graphics/lib/magma/gnbuild/magma.gni:12

magma_openvx_include

OpenVX 標頭的路徑

目前值 (來自預設值): ""

From //src/graphics/lib/magma/gnbuild/magma.gni:15

magma_openvx_package

OpenVX 實作路徑

目前值 (來自預設值): ""

From //src/graphics/lib/magma/gnbuild/magma.gni:18

main_pb_label

如果不想使用多產品建構中的預設產品,請使用指向主要產品組合的標籤。

目前值 (來自預設值): ""

來自 //build/images/args.gni:148

max_log_disk_usage

控管用於保存裝置記錄的磁碟空間位元組數。 應為只包含數字的字串值。

目前值 (來自預設值): "0"

From //src/diagnostics/log_listener/BUILD.gn:13

mbedtls_config_file

MbedTLS 的設定檔。

目前值 (來自預設值): "mbedtls-config.h"

From //third_party/openthread/third_party/mbedtls/BUILD.gn:57

mbedtls_deps

MbedTLS 的額外依附元件

目前值 (來自預設值): ["../../src/core:libopenthread_core_config"]

From //third_party/openthread/third_party/mbedtls/BUILD.gn:60

min_crashlog_size

控制要為當機記錄保留的永久 RAM 最低空間量。啟用其他功能 (例如持續性偵錯記錄) 時,這個值會控管一律為當機記錄保留的位元組下限 (視可用的持續性 RAM 總量而定),無論持續性 RAM 的其他使用者要求多少 RAM。必須是 128 個位元組的倍數。

目前值 (來自預設值): 2048

From //zircon/kernel/lib/crashlog/params.gni:14

mini_chromium_is_chromeos_ash

目前值 (來自預設值): false

From //third_party/mini_chromium/src/build/platform.gni:32

mini_chromium_is_chromeos_lacros

目前值 (來自預設值): false

From //third_party/mini_chromium/src/build/platform.gni:31

monolithic_binaries

目前值 (來自預設值): false

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

msd_arm_enable_all_cores

啟用所有 8 個核心,速度較快但會產生更多熱能。

目前值 (來自預設值): true

From //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:9

msd_arm_enable_cache_coherency

如果 GPU 支援,系統會嘗試使用快取一致性記憶體。

目前值 (來自預設值): true

From //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:13

msd_arm_enable_protected_debug_swap_mode

在保護模式下,錯誤不會傳回太多資訊,因此偵錯難度較高。為解決這個問題,請新增模式,讓受保護的原子在非受保護模式下執行,反之亦然。

注意:記憶體安全範圍也應設定為與正常情況相反 (在 TrustZone 中),這樣一來,非受保護模式存取權就只能存取受保護的記憶體,反之亦然。此外,可成長的記憶體錯誤不會在這個模式中運作,因此可成長的記憶體較大區塊應預先提交 (預設不會執行這項操作)。

目前值 (來自預設值): false

From //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:23

msd_vsi_vip_enable_suspend

啟用暫停功能。 如果沒有提交的指令,這會停止環形緩衝區並暫停 clk。

目前值 (來自預設值): true

來自 //src/graphics/drivers/msd-vsi-vip/BUILD.gn:14

netstack3_profile_rustc

建構 netstack3 目標時,新增編譯旗標以發出 rustc 自我剖析。這有助於我們追蹤時間的耗用位置和記憶體消耗量,以便與 RBE 順利搭配運作。

目前值 (來自預設值): false

From //src/connectivity/network/netstack3/BUILD.gn:9

ninja_upload_build_events

設定 ninja,將建構事件和結果串流至服務。 這項功能有助於分享建構結果和叫用詳細資料,以重現及分類問題。這個選項會直接存取網路,因此需要驗證。 _infra 變體適用於建構基礎架構。bazel 的類似設定位於 //build/bazel/remote_services.gni。注意:目前不支援上傳至 Sponge。

有效選項: 「」:不串流 (預設) 「resultstore」:上傳至 ResultStore (適用於使用者) 「resultstore_infra」:上傳至 ResultStore (適用於基礎架構)

目前值 (來自預設值): ""

From //build/toolchain/resultstore.gni:18

openthread_config_anycast_locator_enable

啟用任播定位器功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:82

openthread_config_assert_enable

啟用斷言。

目前值 (來自預設值): true

From //third_party/openthread/etc/gn/openthread.gni:79

openthread_config_backbone_router_enable

啟用骨幹路由器功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:85

openthread_config_ble_tcat_enable

啟用 BLE 委派功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:88

openthread_config_border_agent_enable

啟用邊界代理程式支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:91

openthread_config_border_agent_id_enable

啟用邊界代理程式 ID

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:94

openthread_config_border_router_enable

啟用邊界路由器支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:97

openthread_config_border_routing_enable

啟用邊界轉送支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:100

openthread_config_channel_manager_enable

啟用管道管理員支援

目前值 (來自預設值): false

From //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

From //third_party/openthread/etc/gn/openthread.gni:109

openthread_config_coap_api_enable

啟用 CoAP API 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:112

openthread_config_coap_observe_api_enable

啟用 CoAP 觀察 (RFC7641) API 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:118

openthread_config_coap_secure_api_enable

啟用安全 CoAP API 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:115

openthread_config_coexistence_enable

啟用無線電共存

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:248

openthread_config_commissioner_enable

啟用專員支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:121

openthread_config_deps

OpenThread 設定的額外依附元件。

目前值 (來自預設值): []

From //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

From //third_party/openthread/etc/gn/openthread.gni:130

openthread_config_diag_enable

啟用診斷支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:133

openthread_config_dns_client_enable

啟用 DNS 用戶端支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:136

openthread_config_dnssd_server_enable

啟用 DNS-SD 伺服器支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:139

openthread_config_dua_enable

為 Thread 1.2 啟用網域單點播送位址功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:145

openthread_config_ecdsa_enable

啟用 ECDSA 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:142

openthread_config_enable_builtin_mbedtls_management

目前值 (來自預設值): true

From //third_party/openthread/etc/gn/openthread.gni:245

openthread_config_file

OpenThread 設定標頭。

目前值 (來自預設值): "<openthread-config-fuchsia.h>"

From //third_party/openthread/etc/gn/openthread.gni:35

openthread_config_full_logs

啟用完整記錄

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:232

openthread_config_heap_external_enable

啟用外部堆積支援

目前值 (來自預設值): true

From //third_party/openthread/etc/gn/openthread.gni:151

openthread_config_ip6_fragmentation_enable

啟用 IPv6 封包片段支援功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:154

openthread_config_ip6_slaac_enable

啟用支援功能,讓 OpenThread 新增自動設定的 SLAAC 位址

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:208

openthread_config_jam_detection_enable

啟用干擾偵測支援功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:157

openthread_config_joiner_enable

啟用加入者支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:160

openthread_config_legacy_enable

啟用舊版網路支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:163

啟用連結指標啟動器

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:166

啟用連結指標主體

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:169

啟用連結原始服務

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:172

openthread_config_log_level_dynamic_enable

啟用動態記錄層級控制項

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:175

openthread_config_log_output

記錄輸出:none、debug_uart、app、platform

目前值 (來自預設值): ""

From //third_party/openthread/etc/gn/openthread.gni:76

openthread_config_mac_csl_receiver_enable

啟用 CSL 接收器

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:124

openthread_config_mac_filter_enable

啟用 MAC 篩選器支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:178

openthread_config_message_use_heap

啟用訊息緩衝區的內建堆積

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:181

openthread_config_mle_long_routes_enable

啟用 MLE 長路徑擴充功能 (實驗功能,會破壞 Thread 一致性)

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:184

openthread_config_mlr_enable

為 Thread 1.2 啟用多點播送監聽器註冊功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:148

openthread_config_multiple_instance_enable

啟用多個執行個體

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:190

openthread_config_ncp_hdlc_enable

啟用 NCP HDLC 支援

目前值 (來自預設值): false

來自 //third_party/openthread/etc/gn/openthread.gni:241

openthread_config_ncp_spi_enable

啟用 NCP SPI 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:238

openthread_config_otns_enable

啟用 OTNS 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:235

openthread_config_ping_sender

啟用 Ping 傳送端支援

目前值 (來自預設值): false

來自 //third_party/openthread/etc/gn/openthread.gni:223

openthread_config_platform_netif_enable

啟用平台 netif 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:193

openthread_config_platform_udp_enable

啟用平台 UDP 支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:196

openthread_config_reference_device_enable

啟用 Thread 測試控管工具參考裝置支援功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:199

openthread_config_sntp_client_enable

啟用 SNTP 用戶端支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:211

openthread_config_srp_client_enable

啟用 SRP 用戶端支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:214

openthread_config_srp_server_enable

啟用 SRP 伺服器支援

目前值 (來自預設值): false

來自 //third_party/openthread/etc/gn/openthread.gni:217

openthread_config_tcp_enable

啟用 TCP 支援

目前值 (來自預設值): true

From //third_party/openthread/etc/gn/openthread.gni:220

openthread_config_thread_version

Thread 版本

目前值 (來自預設值): "1.4"

From //third_party/openthread/etc/gn/openthread.gni:73

openthread_config_time_sync_enable

啟用時間同步服務功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:226

openthread_config_tmf_netdata_service_enable

啟用將服務項目注入 Thread 網路資料的功能

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:202

openthread_config_tmf_netdiag_client_enable

啟用 TMF 網路診斷用戶端

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:187

openthread_config_udp_forward_enable

啟用 UDP 轉送支援

目前值 (來自預設值): false

From //third_party/openthread/etc/gn/openthread.gni:229

openthread_core_config_deps

OpenThread 核心設定的額外依附元件。

目前值 (來自預設值): []

From //third_party/openthread/etc/gn/openthread.gni:50

openthread_core_config_platform_check_file

OpenThread 平台專屬設定檢查標頭

目前值 (來自預設值): ""

From //third_party/openthread/etc/gn/openthread.gni:47

openthread_enable_core_config_args

透過 GN 引數設定 OpenThread。

目前值 (來自預設值): true

From //third_party/openthread/etc/gn/openthread.gni:67

openthread_external_mbedtls

使用外部 mbedtls。如果留空,系統會使用內部 mbedtls。

目前值 (來自預設值): ""

From //third_party/openthread/etc/gn/openthread.gni:56

openthread_external_platform

使用外部平台。

目前值 (來自預設值): ""

From //third_party/openthread/etc/gn/openthread.gni:53

openthread_package_name

OpenThread 的套件名稱。

目前值 (來自預設值): "OPENTHREAD"

From //third_party/openthread/etc/gn/openthread.gni:59

openthread_package_version

OpenThread 的套件版本。

目前值 (來自預設值): "1.0.0"

From //third_party/openthread/etc/gn/openthread.gni:62

openthread_project_core_config_file

OpenThread 專案專屬核心設定標頭

目前值 (來自預設值): ""

From //third_party/openthread/etc/gn/openthread.gni:44

openthread_project_include_dirs

包含專案專屬設定的目錄。

目前值 (來自預設值): []

From //third_party/openthread/etc/gn/openthread.gni:41

openthread_settings_ram

啟用設定的僅限揮發性儲存空間

目前值 (來自預設值): false

來自 //third_party/openthread/etc/gn/openthread.gni:205

最佳化

「foo_optimize」引數的全域覆寫。

目前值 (來自預設值): false

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

output_breakpad_syms

設定是否應輸出 Fuchsia 二進位檔的 breakpad 符號。

目前值 (來自預設值): false

來自 //build/config/BUILDCONFIG.gn:32

output_gsym

控制是否應輸出 Fuchsia 二進位檔的 GSYM 檔案。

目前值 (來自預設值): false

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

override_target_api_level

上述變數的已淘汰名稱,仍由舊版機器人使用。 TODO(https://fxbug.dev/330709069):請在關閉 core.x64-sdk_source_sets_and_shlibs-api*-build_only 機器人後移除。

目前值 (來自預設值): false

From //build/config/fuchsia/target_api_level.gni:21

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」變種版本,而非預設變種版本。使用這個範本的所有其他套件都會使用預設套件變種版本。

目前值 (來自預設值): []

From //build/packages/prebuilt_package_with_flavors.gni:30

perfetto_build_with_android

Android 藍圖檔案產生器會將此值設為 true (以及 is_perfetto_build_generator)。這只是在 Android 樹狀結構 (AOSP 和內部) 中建構,與目標 OS 無關。在獨立 Android 版本和 Chromium Android 版本中,這個值為 false。

目前值 (來自預設值): false

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

perfetto_enable_git_rev_version_header

目前值 (來自預設值): false

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

perfetto_force_dcheck

是否應啟用 DCHECK。值:「on」|「off」|「」。 根據預設 (「」),系統只會在下列情況啟用 DCHECK: - 定義 DCHECK_ALWAYS_ON (這主要是 Chromium 的特性)。 在偵錯版本 (即未定義 NDEBUG 時),但僅限於 Chromium、Android 和獨立版本。- 在所有其他建構版本 (例如 SDK) 中,無論 NDEBUG 為何,這項功能都會關閉 (除非定義了 CHECK_ALWAYS_ON)。如要瞭解所有這些項目的實作方式,請參閱 base/logging.h。

目前值 (來自預設值): ""

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

perfetto_force_dlog

是否應在偵錯版本 (「」)、所有版本 (「on」) 或任何版本 (「off」) 中啟用 DLOG。我們預設會停用這項功能,以免在嵌入者的控制台中出現大量垃圾訊息。

目前值 (來自預設值): ""

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

perfetto_http_additional_cors_origins

以逗號分隔的額外 CORS 來源清單,允許用於 trace_processor 和 websocket_bridge。

目前值 (來自預設值): ""

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

perfetto_thread_safety_annotations

目前值 (來自預設值): false

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

perfetto_use_pkgconfig

供 CrOS 建構作業使用。使用 pkg-config 判斷適當的標記,以納入及連結系統程式庫。將 host_pkg_config 設為 BUILD_PKG_CONFIG,並將 pkg_config 設為目標 PKG_CONFIG。注意:如果啟用這項功能,也應啟用 perfetto_use_system_protobuf

目前值 (來自預設值): false

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

perfetto_use_system_protobuf

用於 CrOS 系統建構。使用 /usr/include 中的系統版 protobuf,而非密封版。

目前值 (來自預設值): false

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

perfetto_use_system_sqlite

用於 CrOS 系統建構。使用 /usr/include 中的系統版 sqlite,而非密封版。

目前值 (來自預設值): false

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

perfetto_use_system_zlib

目前值 (來自預設值): false

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

perfetto_verbose_logs_enabled

目前值 (來自預設值): true

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

persistent_ram_allocation_granularity

控制全域永久 RAM 集區的分配精細程度。 如要使用持續性 RAM 在重新啟動時保留資料,所有功能都必須在是這個值倍數的分配中運作。這個值應為 2 的乘冪,且通常應為目標架構的快取行大小的倍數。

目前值 (來自預設值): 128

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

pgo_profile_path

PGO 使用的設定檔資料路徑。

目前值 (來自預設值): ""

來自 //build/config/profile/config.gni:45

pre_erase_flash

目前值 (來自預設值): false

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

prebuilt_dart_sdk

包含預先建構的 Dart SDK 的目錄。這個目錄的 bin/ 子目錄中必須有 gen_snapshot.OS-CPU 二進位檔。

目前值 (來自預設值): "//prebuilt/third_party/dart/linux-x64"

From //build/dart/dart.gni:8

prebuilt_fastboot

目前值 (來自預設值): "//prebuilt/third_party/fastboot/fastboot"

來自//build/images/tools/fastboot.gni:6//build/images/tools/fastboot.gni:6

prebuilt_go_dir

prebuilt_go_dir [string] 指向包含預先建構主機 Go 二進位檔的目錄。根據預設,這會指向 //prebuilts 目錄。

目前值 (來自預設值): "//prebuilt/third_party/go/linux-x64"

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

product_assembly_overrides

這個 GN 參數可讓開發人員覆寫指定組件目標

這是包含兩個欄位的範圍清單: - 組件:(GN 標籤模式) 要套用覆寫項目的 GN 標籤 - 覆寫項目 (GN 標籤):一組開發人員覆寫項目的標籤

範例:

product_assembly_overrides = [ { assembly = "//build/images/fuchsia/*" overrides = "//local:my_assembly_overrides" } ]

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //build/assembly/developer_overrides.gni:441

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //build/assembly/developer_overrides.gni:441

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //build/assembly/developer_overrides.gni:441

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

product_assembly_overrides_label

這個 GN 引數提供簡短的機制,可為產品的「主要」產品組件設定開發人員覆寫項目。如果已設定此值,但未定義「主要」產品組件,就會產生 GN 錯誤。

目前值 (來自預設值): false

From //build/assembly/developer_overrides.gni:446

product_bundle_labels

除了主要產品組合外,要組裝的產品組合標籤。

目前值 (來自預設值): []

From //BUILD.gn:141

profile_source_files

要由 profile 變數插碼的來源檔案路徑清單。

目前值 (來自預設值): ["//*"]

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

profile_source_files_list_files

以 Clang 的 -fprofile-list 格式列出檔案路徑,說明要由 profile 變體插碼的檔案和函式。

目前值 (來自預設值): []

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

proprietary_codecs

目前值 (來自預設值): false

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

pw_assert_BACKEND

pw_assert 模組 CHECK facade 的後端。

target_cpu = "arm64" 的目前值: "//third_party/pigweed/backends/pw_assert"

From //.gn:70

已覆寫預設值: ""

From //third_party/pigweed/src/pw_assert/backend.gni:19

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/backends/pw_assert"

From //.gn:70

已覆寫預設值: ""

From //third_party/pigweed/src/pw_assert/backend.gni:19

target_cpu = "x64" 的目前值: "//third_party/pigweed/backends/pw_assert"

From //.gn:70

已覆寫預設值: ""

From //third_party/pigweed/src/pw_assert/backend.gni:19

pw_assert_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //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"

From //third_party/pigweed/src/pw_assert/backend.gni:25

pw_async2_DISPATCHER_FOR_TEST_BACKEND

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_async2/backend.gni:31

pw_bloat_BLOATY_CONFIG

Bloaty 設定檔的路徑,用於定義目標二進位檔的記憶體配置和容量。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_bloat/bloat.gni:23

pw_bloat_SHOW_SIZE_REPORTS

控制是否要在建構輸出內容中顯示大小報表。

目前值 (來自預設值): false

From //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 目標就會變成空值。

目前值 (來自預設值): []

From //third_party/pigweed/src/pw_bloat/bloat.gni:37

pw_bluetooth_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_bluetooth/BUILD.gn:30

pw_build_COLORIZE_OUTPUT

控管是否要告知編譯器和其他工具使用彩色輸出。

目前值 (來自預設值): true

From //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"

From //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 建構作業正常運作,pw_build_DEFAULT_VISIBILITY 至少必須一律包含 Pigweed 存放區 ("$dir_pigweed/*")。

明確設定目標的瀏覽權限會覆寫這項預設值。

目前值 (來自預設值): ["*"]

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

pw_build_EXECUTABLE_TARGET_TYPE

用於建構 Pigweed 可執行檔的 GN 目標類型名稱。

如果是自訂範本,則必須在目標設定檔頂端匯入包含範本的 .gni 檔案,才能全域使用。

目前值 (來自預設值): "executable"

From //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 檔案,以提供範本定義。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:45

要新增為 pw_executable、pw_static_library 和 pw_shared_library 目標依附元件的其他建構目標。$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"]

From //.gn:90

已覆寫預設值: []

From //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"]

From //.gn:90

已覆寫預設值: []

From //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"]

From //.gn:90

已覆寫預設值: []

From //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"]

From //third_party/pigweed/src/pw_build/python.gni:27

pw_build_PIP_REQUIREMENTS

所有以 Pigweed 為基礎的專案,預設的 pip 需求檔案。

目前值 (來自預設值): []

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

pw_build_PYLINT_OUTPUT_FORMAT

Pylint 的輸出格式。選項包括「文字」和「彩色」。

目前值 (來自預設值): "colorized"

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

pw_build_PYTHON_BUILD_VENV

預設 gn 建構 virtualenv 目標。

target_cpu = "arm64" 的目前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"

From //.gn:118

已覆寫預設值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"

From //third_party/pigweed/src/pw_build/python_gn_args.gni:23

target_cpu = "riscv64" 的目前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"

From //.gn:118

已覆寫預設值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"

From //third_party/pigweed/src/pw_build/python_gn_args.gni:23

target_cpu = "x64" 的目前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"

From //.gn:118

已覆寫預設值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"

From //third_party/pigweed/src/pw_build/python_gn_args.gni:23

pw_build_PYTHON_PIP_DEFAULT_OPTIONS

傳遞至 pip 指令的一般選項 https://pip.pypa.io/en/stable/cli/pip/#general-options

目前值 (來自預設值): ["--disable-pip-version-check"]

From //third_party/pigweed/src/pw_build/python_gn_args.gni:51

pw_build_PYTHON_PIP_DOWNLOAD_ALL_PLATFORMS

DOCSTAG: [default-pip-gn-args] 設定 pw_python_venv.vendor_wheel 目標,下載所有平台組合的 Python 套件。這項作業需要相當長的時間。

目前值 (來自預設值): false

From //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

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

包含 Python wheel (.whl) 或來源 tar 檔案 (.tar.gz) 的資料夾路徑清單。Pip 會檢查這些目錄,尋找可能的安裝候選項目。每個路徑都會以「--find-links PATH」的形式,傳遞至所有「pip install」指令。

目前值 (來自預設值): []

From //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

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

pw_build_PYTHON_PIP_INSTALL_REQUIRE_HASHES

新增「--require-hashes」。這個選項會強制對 Python 套件檔案執行雜湊檢查。

目前值 (來自預設值): false

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

pw_build_PYTHON_STATIC_ANALYSIS_TOOLS

DOCSTAG: [python-static-analysis-tools] Default set of Python static alaysis tools to run for pw_python_package targets.

目前值 (來自預設值): ["pylint", "mypy"]

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

pw_build_PYTHON_TEST_COVERAGE

如為 true,GN 會使用涵蓋範圍指令執行各項 Python 測試。系統會為每項測試儲存個別的涵蓋範圍資料檔案。如要根據這項資訊產生報表,請執行:pw presubmit --step gn_python_test_coverage

目前值 (來自預設值): false

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

pw_build_PYTHON_TOOLCHAIN

Python 工作 (例如執行測試和 Pylint) 會在單一 GN 工具鍊中完成,避免建構作業出現不必要的重複。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build/python_toolchain:python"

From //third_party/pigweed/src/pw_build/python_gn_args.gni:20

pw_build_TEST_TRANSITIVE_PYTHON_DEPS

是否要對 pw_python_package 目標的遞移依附元件執行 Lint/測試。

舉例來說,如果 lib_a 依附於 lib_b,且 pw_build_TEST_TRANSITIVE_PYTHON_DEPS 為 true,則系統會先執行 lib_b.tests,再執行 lib_a.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

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

pw_build_TEST_TRANSITIVE_PYTHON_DEPS_FILTER_EXCLUDES

如要在部分目標上啟用遞移依附元件,請使用這項功能篩除不想要的遞移依附元件。例如:[ "$dir_pigweed/*" ]

目前值 (來自預設值): []

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

pw_build_TOOLCHAIN_LINK_DEPS 由 pw_toolchain 模組用於設定預設程式庫依附元件。一般來說,這項功能並非供使用者使用,但如果需要移除這裡導入的項目,可以在自己的工具鍊中覆寫這個變數。

目前值 (來自預設值): []

From //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:32

pw_chre_CONFIG

建構 CHRE 的設定。

target_cpu = "arm64" 的目前值: "//third_party/chre:chre_config"

From //.gn:136

已覆寫預設值: "//third_party/chre:default_chre_config"

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

target_cpu = "riscv64" 的目前值: "//third_party/chre:chre_config"

From //.gn:136

已覆寫預設值: "//third_party/chre:default_chre_config"

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

target_cpu = "x64" 的目前值: "//third_party/chre:chre_config"

From //.gn:136

已覆寫預設值: "//third_party/chre:default_chre_config"

From //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"

From //.gn:137

已覆寫預設值: "//pw_chre:chre_backend"

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

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend"

From //.gn:137

已覆寫預設值: "//pw_chre:chre_backend"

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

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend"

From //.gn:137

已覆寫預設值: "//pw_chre:chre_backend"

From //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"

From //.gn:139

已覆寫預設值: "//pw_chre:chre_backend_headers"

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

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"

From //.gn:139

已覆寫預設值: "//pw_chre:chre_backend_headers"

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

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"

From //.gn:139

已覆寫預設值: "//pw_chre:chre_backend_headers"

From //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"

From //.gn:73

已覆寫預設值: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:17

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"

From //.gn:73

已覆寫預設值: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:17

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"

From //.gn:73

已覆寫預設值: ""

From //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"

From //.gn:81

已覆寫預設值: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:20

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"

From //.gn:81

已覆寫預設值: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:20

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"

From //.gn:81

已覆寫預設值: ""

From //third_party/pigweed/src/pw_chrono/backend.gni:20

pw_command_launcher

編譯指令的前置字串 (例如 Goma 或 CCache 編譯器啟動器的路徑)。ccache 範例: gn gen out --args='pw_command_launcher="ccache"'

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_toolchain/toolchain_args.gni:24

pw_compilation_testing_NEGATIVE_COMPILATION_ENABLED

為目前的工具鍊啟用或停用負面編譯測試。由於負面編譯測試會大幅增加 gn 生成時間,因此預設為停用。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_compilation_testing/negative_compilation_test.gni:24

pw_containers_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_containers/BUILD.gn:31

pw_emboss_build_dir_to_root

root_build_dir// 的選用相對路徑,emboss_cc_library 可使用此路徑重新設定 embossc 來源檔案的基準。

通常我們不需要手動定義這個項目,可以依賴內建的 GN 函式來對 rebase_path() 執行 root_build_dir,但對於 建構環境而言,這種做法不可靠,因為 //out 是指向 // 以外目錄的符號連結GN 一律會提供 root_build_dir 做為絕對符號連結取消參照路徑

在這種情況下,我們不應直接使用 root_build_dir,而是必須建構 root_build_dir 的「詞彙本機」版本,也就是 // 的子路徑。

以下範例說明如何執行這項操作:

使用類似這樣的專案檔案系統結構: /home/alice/foo_project (as //) 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"

如果輸出目錄不是符號連結,結果就會有所不同。 在這種情況下,相同的 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 也會取消呼叫 embossc 的開頭 ../ 區段,並使用巢狀 r"(fake/)*" 目錄的 --output-path,確保這些產生的檔案包含在 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// 的邏輯相對路徑,即可建構出類似 root_build_dirsymlink_safe_build_dir,而不必解析符號連結。

目前值 (來自預設值): ""

From //third_party/pigweed/src/third_party/emboss/build_defs.gni:71

pw_env_setup_CIPD_BAZEL

目前值 (來自預設值): "../../prebuilt/third_party/bazel/linux-x64/bin"

From //build_overrides/pigweed_environment.gni:24

pw_env_setup_CIPD_DEFAULT

目前值 (來自預設值): "//prebuilt/third_party"

From //build_overrides/pigweed_environment.gni:18

pw_env_setup_CIPD_PIGWEED

目前值 (來自預設值): "//prebuilt/third_party"

From //build_overrides/pigweed_environment.gni:19

pw_env_setup_CIPD_PYTHON

目前值 (來自預設值): "../../prebuilt/third_party/python/linux-x64/bin"

From //build_overrides/pigweed_environment.gni:21

pw_external_abseil_cpp

目前值 (來自預設值): "//third_party/pigweed/src/third_party/abseil-cpp"

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

pw_external_ambiq

目前值 (來自預設值): "//third_party/pigweed/src/third_party/ambiq"

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

pw_external_apollo4

目前值 (來自預設值): "//third_party/pigweed/src/third_party/apollo4"

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

pw_external_arduino

目前值 (來自預設值): "//third_party/pigweed/src/third_party/arduino"

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

pw_external_boringssl

目前值 (來自預設值): "//third_party/pigweed/src/third_party/boringssl"

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

pw_external_chre

目前值 (來自預設值): "//third_party/pigweed/src/third_party/chre"

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

pw_external_chromium_verifier

目前值 (來自預設值): "//third_party/pigweed/src/third_party/chromium_verifier"

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

pw_external_embos

目前值 (來自預設值): "//third_party/pigweed/src/third_party/embos"

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

pw_external_emboss

目前值 (來自預設值): "//third_party/pigweed/src/third_party/emboss"

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

pw_external_freertos

目前值 (來自預設值): "//third_party/pigweed/src/third_party/freertos"

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

pw_external_fuchsia

目前值 (來自預設值): "//third_party/pigweed/src/third_party/fuchsia"

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

pw_external_fuzztest

目前值 (來自預設值): "//third_party/pigweed/src/third_party/fuzztest"

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

pw_external_googletest

目前值 (來自預設值): "//third_party/pigweed/src/third_party/googletest"

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

pw_external_llvm_builtins

目前值 (來自預設值): "//third_party/pigweed/src/third_party/llvm_builtins"

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

pw_external_llvm_libc

目前值 (來自預設值): "//third_party/pigweed/src/third_party/llvm_libc"

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

pw_external_llvm_libcxx

目前值 (來自預設值): "//third_party/pigweed/src/third_party/llvm_libcxx"

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

pw_external_mbedtls

目前值 (來自預設值): "//third_party/pigweed/src/third_party/mbedtls"

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

pw_external_mcuxpresso

目前值 (來自預設值): "//third_party/pigweed/src/third_party/mcuxpresso"

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

pw_external_nanopb

目前值 (來自預設值): "//third_party/pigweed/src/third_party/nanopb"

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

pw_external_perfetto

目前值 (來自預設值): "//third_party/pigweed/src/third_party/perfetto"

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

pw_external_pico_sdk

目前值 (來自預設值): "//third_party/pigweed/src/third_party/pico_sdk"

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

pw_external_protobuf

目前值 (來自預設值): "//third_party/pigweed/src/third_party/protobuf"

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

pw_external_repo

目前值 (來自預設值): "//third_party/pigweed/src/third_party/repo"

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

pw_external_smartfusion_mss

目前值 (來自預設值): "//third_party/pigweed/src/third_party/smartfusion_mss"

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

pw_external_stm32cube

目前值 (來自預設值): "//third_party/pigweed/src/third_party/stm32cube"

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

pw_external_threadx

目前值 (來自預設值): "//third_party/pigweed/src/third_party/threadx"

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

pw_external_tinyusb

目前值 (來自預設值): "//third_party/pigweed/src/third_party/tinyusb"

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

pw_log_BACKEND

pw_log 模組的後端。

target_cpu = "arm64" 的目前值: "//third_party/pigweed/backends/pw_log"

From //.gn:71

已覆寫預設值: ""

From //third_party/pigweed/src/pw_log/backend.gni:17

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/backends/pw_log"

From //.gn:71

已覆寫預設值: ""

From //third_party/pigweed/src/pw_log/backend.gni:17

target_cpu = "x64" 的目前值: "//third_party/pigweed/backends/pw_log"

From //.gn:71

已覆寫預設值: ""

From //third_party/pigweed/src/pw_log/backend.gni:17

pw_log_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_log/BUILD.gn:28

pw_log_GLOG_ADAPTER_CONFIG

建構目標,可覆寫這個模組 glog 介面卡部分的預設設定選項。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_log/BUILD.gn:32

pw_module_tests

包含所有 Pigweed 模組測試群組的清單。請勿設定這個建構引數!

目前值 (來自預設值): ["//third_party/pigweed/src/docker:tests", "//third_party/pigweed/src/pw_alignment:tests", "//third_party/pigweed/src/pw_allocator:tests", "//third_party/pigweed/src/pw_analog:tests", "//third_party/pigweed/src/pw_android_toolchain:tests", "//third_party/pigweed/src/pw_arduino_build:tests", "//third_party/pigweed/src/pw_assert:tests", "//third_party/pigweed/src/pw_assert_basic:tests", "//third_party/pigweed/src/pw_assert_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_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_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_function:tests", "//third_party/pigweed/src/pw_fuzzer:tests", "//third_party/pigweed/src/pw_grpc:tests", "//third_party/pigweed/src/pw_hdlc:tests", "//third_party/pigweed/src/pw_hex_dump:tests", "//third_party/pigweed/src/pw_i2c:tests", "//third_party/pigweed/src/pw_i2c_linux:tests", "//third_party/pigweed/src/pw_i2c_mcuxpresso:tests", "//third_party/pigweed/src/pw_i2c_rp2040:tests", "//third_party/pigweed/src/pw_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_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_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_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"]

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

pw_modules

包含所有 Pigweed 模組路徑的清單。請勿設定這個建構引數!

目前值 (來自預設值): ["//third_party/pigweed/src/docker", "//third_party/pigweed/src/pw_alignment", "//third_party/pigweed/src/pw_allocator", "//third_party/pigweed/src/pw_analog", "//third_party/pigweed/src/pw_android_toolchain", "//third_party/pigweed/src/pw_arduino_build", "//third_party/pigweed/src/pw_assert", "//third_party/pigweed/src/pw_assert_basic", "//third_party/pigweed/src/pw_assert_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_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_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_function", "//third_party/pigweed/src/pw_fuzzer", "//third_party/pigweed/src/pw_grpc", "//third_party/pigweed/src/pw_hdlc", "//third_party/pigweed/src/pw_hex_dump", "//third_party/pigweed/src/pw_i2c", "//third_party/pigweed/src/pw_i2c_linux", "//third_party/pigweed/src/pw_i2c_mcuxpresso", "//third_party/pigweed/src/pw_i2c_rp2040", "//third_party/pigweed/src/pw_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_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_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_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"]

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

pw_preprocessor_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //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

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:28

pw_protobuf_compiler_GENERATE_PROTOS_ARGS

generate_protos.py 的引數

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:43

pw_protobuf_compiler_GENERATE_PYTHON_TYPE_HINTS

為 Python 型別提示產生 .pyi 檔案。這項操作需要 PATH 中提供「protoc-gen-mypy」。

target_cpu = "arm64" 的目前值: false

From //.gn:132

已覆寫預設值: true

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40

target_cpu = "riscv64" 的目前值: false

From //.gn:132

已覆寫預設值: true

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40

target_cpu = "x64" 的目前值: false

From //.gn:132

已覆寫預設值: true

From //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

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:32

pw_protobuf_compiler_NO_ONEOF_CALLBACKS

如為 true,系統會停用 oneof 欄位的回呼介面,並保留舊版「oneof 做為 struct 成員」介面。

目前值 (來自預設值): false

From //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"

From //.gn:122

已覆寫預設值: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59

target_cpu = "riscv64" 的目前值: "host_x64/protoc"

From //.gn:122

已覆寫預設值: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59

target_cpu = "x64" 的目前值: "host_x64/protoc"

From //.gn:122

已覆寫預設值: ""

From //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"]

From //.gn:126

已覆寫預設值: []

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42

target_cpu = "riscv64" 的目前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]

From //.gn:126

已覆寫預設值: []

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42

target_cpu = "x64" 的目前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]

From //.gn:126

已覆寫預設值: []

From //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"

From //.gn:121

已覆寫預設值: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39

target_cpu = "riscv64" 的目前值: "//third_party/protobuf:protoc"

From //.gn:121

已覆寫預設值: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39

target_cpu = "x64" 的目前值: "//third_party/protobuf:protoc"

From //.gn:121

已覆寫預設值: ""

From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39

pw_protobuf_compiler_TOOLCHAIN

目前值 (來自預設值): "//third_party/pigweed/src/pw_protobuf_compiler/toolchain:protocol_buffer"

From //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:22

pw_rbe_arm_gcc_config

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_toolchain/rbe.gni:30

pw_rbe_clang_config

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_toolchain/rbe.gni:29

pw_rust_ENABLE_EXPERIMENTAL_BUILD

啟用 Pigweed 的 Rust 程式庫編譯作業。

警告:這是實驗功能,保證可以運作。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_rust/rust.gni:19

pw_rust_USE_STD

目前值 (來自預設值): true

From //third_party/pigweed/src/pw_rust/rust.gni:21

pw_span_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

大多數模組都依附於 pw_build_DEFAULT_MODULE_CONFIG 做為預設設定,但由於這個模組的設定選項需要與建構系統互動,因此預設為內部設定,才能正確支援 pw_span_ENABLE_ASSERTS。

目前值 (來自預設值): "//third_party/pigweed/src/pw_span:span_asserts"

From //third_party/pigweed/src/pw_span/BUILD.gn:37

pw_span_ENABLE_ASSERTS

是否要在 pw::span 中啟用邊界檢查斷言。啟用這項功能可能會大幅增加二進位檔大小,而且如果 pw_assert 後端的標頭直接或間接依附於 pw_span,可能會導致依附元件週期。建議盡可能為偵錯版本啟用這項功能。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_span/BUILD.gn:27

pw_status_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //third_party/pigweed/src/pw_status/BUILD.gn:25

pw_string_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

From //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"

From //.gn:83

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:17

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"

From //.gn:83

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:17

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"

From //.gn:83

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:17

pw_sync_CONDITION_VARIABLE_BACKEND

pw_sync 模組條件變數的後端。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_sync/backend.gni:20

pw_sync_COUNTING_SEMAPHORE_BACKEND

pw_sync 模組計數信號燈的後端。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_sync/backend.gni:23

pw_sync_INTERRUPT_SPIN_LOCK_BACKEND

pw_sync 模組中斷自旋鎖的後端。

目前值 (來自預設值): ""

From //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"

From //.gn:74

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:26

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"

From //.gn:74

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:26

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"

From //.gn:74

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:26

pw_sync_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK

是否應在確保選擇 pw_chrono_SYSTEM_CLOCK_BACKEND 的相容後端時,將 GN 判斷提示設為靜音。如要停用斷言,請設為 true。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_sync/backend.gni:46

pw_sync_RECURSIVE_MUTEX_BACKEND

pw_sync 模組遞迴互斥鎖的後端。

目前值 (來自預設值): ""

From //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"

From //.gn:78

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:38

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"

From //.gn:78

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:38

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"

From //.gn:78

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:38

pw_sync_TIMED_MUTEX_BACKEND

pw_sync 模組的計時互斥鎖定後端。

目前值 (來自預設值): ""

From //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"

From //.gn:79

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:41

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"

From //.gn:79

已覆寫預設值: ""

From //third_party/pigweed/src/pw_sync/backend.gni:41

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"

From //.gn:79

已覆寫預設值: ""

From //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"

From //.gn:99

已覆寫預設值: ""

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

target_cpu = "riscv64" 的目前值: "//third_party/boringssl"

From //.gn:99

已覆寫預設值: ""

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

target_cpu = "x64" 的目前值: "//third_party/boringssl"

From //.gn:99

已覆寫預設值: ""

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

pw_third_party_emboss_CONFIG

目前值 (來自預設值): "//third_party/pigweed/src/third_party/emboss:default_overrides"

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

pw_third_party_emboss_USE_GEN_SOURCES

使用 Emboss 專案提供的預先產生來源清單。這個標記暫時使用,直到下游使用者有足夠時間將 Emboss 更新至較新版本為止。TODO(b/449017056):下游使用者遷移後,請移除這個標記。

target_cpu = "arm64" 的目前值: "true"

From //.gn:103

已覆寫預設值: "false"

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

target_cpu = "riscv64" 的目前值: "true"

From //.gn:103

已覆寫預設值: "false"

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

target_cpu = "x64" 的目前值: "true"

From //.gn:103

已覆寫預設值: "false"

From //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"

From //.gn:148

已覆寫預設值: ""

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

target_cpu = "riscv64" 的目前值: "//third_party/googletest:gmock_no_testonly"

From //.gn:148

已覆寫預設值: ""

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

target_cpu = "x64" 的目前值: "//third_party/googletest:gmock_no_testonly"

From //.gn:148

已覆寫預設值: ""

From //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"

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

pw_third_party_nanopb_AGGRESSIVE_NANOPB_PB2_REGEN

已淘汰,不會執行任何動作。

目前值 (來自預設值): true

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

pw_third_party_nanopb_CONFIG

建構目標會覆寫這個模組的預設設定選項。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。

目前值 (來自預設值): "//third_party/pigweed/src/pw_build:empty"

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

pw_thread_ID_BACKEND

pw_thread 模組 pw::Thread::id 的後端。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_thread/backend.gni:19

pw_thread_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK

是否應在確保選擇 pw_chrono_SYSTEM_CLOCK_BACKEND 的相容後端時,將 GN 判斷提示設為靜音。如要停用斷言,請設為 true。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_thread/backend.gni:42

pw_thread_SLEEP_BACKEND

pwthread 模組的 pw::執行緒::sleep{for,until} 後端。

target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_thread_stl:sleep"

From //.gn:76

已覆寫預設值: ""

From //third_party/pigweed/src/pw_thread/backend.gni:22

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_thread_stl:sleep"

From //.gn:76

已覆寫預設值: ""

From //third_party/pigweed/src/pw_thread/backend.gni:22

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_thread_stl:sleep"

From //.gn:76

已覆寫預設值: ""

From //third_party/pigweed/src/pw_thread/backend.gni:22

pw_thread_TEST_THREAD_CONTEXT_BACKEND

pw_thread 模組的 pw::執行緒::test_thread_context 後端。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_thread/backend.gni:37

pw_thread_THREAD_BACKEND

pw_thread 模組的 pw::Thread 後端,用於建立執行緒。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_thread/backend.gni:25

pw_thread_THREAD_CREATION_BACKEND

目前值 (來自預設值): "//third_party/pigweed/src/pw_thread:generic_thread_creation_unsupported"

From //third_party/pigweed/src/pw_thread/backend.gni:31

pw_thread_THREAD_ITERATION_BACKEND

pw_thread 模組的 pw::執行緒::thread_iteration 後端。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_thread/backend.gni:45

pw_thread_YIELD_BACKEND

pw_thread 模組的 pw::執行緒::yield 後端。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_thread/backend.gni:34

pw_toolchain_CLANG_PREFIX

這個標記可讓您指定要用於 clang、clang++ 和 llvm-ar 二進位檔的前置字元,以便使用以 clang 為基礎的工具鍊進行編譯。這項功能有助於使用外部提供的工具鍊建構,藉此偵錯工具鍊相關問題。

Pigweed 工具鍊「不應覆寫這個變數,因此專案或使用者可以透過 .gn 控制這個變數,或將其設為一般 gn 引數 (例如 gn gen --args='pw_toolchain_CLANG_PREFIX=/path/to/my-llvm-')。

範例: pw_toolchain_CLANG_PREFIX = "" command: "clang" (from PATH)

pw_toolchain_CLANG_PREFIX = "my-" command: "my-clang" (from PATH)

pw_toolchain_CLANG_PREFIX = "/bin/my-" command: "/bin/my-clang" (absolute path)

pw_toolchain_CLANG_PREFIX = "環境/clang_next/" command: "../environment/clang_next/clang" (relative path)

GN 範本應使用 pw_toolchain_clang_tools.* 取得預期指令字串,而非直接依附於 pw_toolchain_CLANG_PREFIX。

如果前置字串開頭為「//」,系統會重新設定基準,使其相對於根層級建構目錄。

目前值 (來自預設值): "//prebuilt/third_party/bin/"

From //third_party/pigweed/src/pw_toolchain/clang_tools.gni:58

pw_toolchain_COVERAGE_ENABLED

指出這個工具鍊是否支援從 pw_test 目標產生涵蓋範圍報告。

舉例來說,如果執行的靜態分析工具鍊是 clang-tidy,而非測試二進位檔本身,就無法產生涵蓋範圍報告。

這通常是由個別工具鍊設定,而非 GN 參數。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:32

pw_toolchain_FUZZING_ENABLED

指出此工具鍊是否支援建構模糊測試器。這通常是由個別工具鍊設定,而非 GN 參數。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:39

pw_toolchain_OSS_FUZZ_ENABLED

指出這個建構版本是否屬於 OSS-Fuzz,這類版本必須能夠提供自己的編譯器和旗標。這會違反建構密封性,且僅適用於 OSS-Fuzz。

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:44

pw_toolchain_PROFILE_SOURCE_FILES

要選擇性收集涵蓋範圍的來源檔案清單。

目前值 (來自預設值): []

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:35

pw_toolchain_RBE_DEBUG

目前值 (來自預設值): false

From //third_party/pigweed/src/pw_toolchain/rbe.gni:26

pw_toolchain_RUST_PREFIX

這個標記可讓您指定 rustc 的前置字元。

這項規則與 pw_toolchain_CLANG_PREFIX 相同,詳情請參閱上文。

如果前置字串開頭為「//」,系統會重新設定基準,使其相對於根層級建構目錄。

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_toolchain/clang_tools.gni:67

pw_toolchain_SANITIZERS

設定要傳遞至 clang 的清除器。有效值為「address」、「memory」、「執行緒」、「undefined」、「undefined_heuristic」。

目前值 (來自預設值): []

From //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:23

pw_toolchain_SCOPE

定義目前工具鍊的範圍。包含 generate_toolchain 範本所需的所有引數。請勿手動修改這項設定。

目前值 (來自預設值): { }

From //third_party/pigweed/src/pw_toolchain/toolchain_args.gni:18

pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS

針對特定 include 路徑停用 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/."]

目前值 (來自預設值): []

From //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/.*"]

目前值 (來自預設值): []

From //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:33

pw_toolchain_USE_RBE

目前值 (來自預設值): false

From //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 上的可執行檔名稱,或可執行檔的路徑) 用途:僅由工具鍊控管

目前值 (來自預設值): ""

From //third_party/pigweed/src/pw_unit_test/test.gni:53

pw_unit_test_AUTOMATIC_RUNNER_ARGS

要轉送至自動執行元件的選用引數清單。

類型:字串清單 (要傳遞至 pw_unit_test_AUTOMATIC_RUNNER 的引數) 用途:僅供工具鍊控管

目前值 (來自預設值): []

From //third_party/pigweed/src/pw_unit_test/test.gni:59

pw_unit_test_AUTOMATIC_RUNNER_TIMEOUT

透過自動執行元件執行測試時,可套用的選用逾時。逾時時間以秒為單位。預設為空白,表示沒有逾時。

目前值 (來自預設值): ""

From //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"

From //.gn:143

已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:light"

From //third_party/pigweed/src/pw_unit_test/test.gni:31

target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_unit_test:googletest"

From //.gn:143

已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:light"

From //third_party/pigweed/src/pw_unit_test/test.gni:31

target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_unit_test:googletest"

From //.gn:143

已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:light"

From //third_party/pigweed/src/pw_unit_test/test.gni:31

pw_unit_test_EXECUTABLE_TARGET_TYPE

用於建構 pw_unit_test 可執行檔的 GN 目標類型名稱。

類型:字串 (GN 範本名稱) 用途:僅限工具鍊控制

目前值 (來自預設值): "pw_executable"

From //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 檔案的路徑) 用途:僅限工具鍊控管

目前值 (來自預設值): ""

From //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"

From //.gn:141

已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"

From //third_party/pigweed/src/pw_unit_test/test.gni:38

target_cpu = "riscv64" 的目前值: "//src/lib/fxl/test:gtest_main"

From //.gn:141

已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"

From //third_party/pigweed/src/pw_unit_test/test.gni:38

target_cpu = "x64" 的目前值: "//src/lib/fxl/test:gtest_main"

From //.gn:141

已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"

From //third_party/pigweed/src/pw_unit_test/test.gni:38

pw_unit_test_POOL_DEPTH

目前工具鍊可並行執行的單元測試數量上限。如將此值設為 0,系統會停用集區的使用,允許無限平行化。

類型:整數 用途:僅由工具鍊控制

目前值 (來自預設值): 0

From //third_party/pigweed/src/pw_unit_test/test.gni:76

pw_unit_test_POOL_TOOLCHAIN

參照 pw_unit_test 執行元件集區時要使用的工具鍊。停用時,系統會使用目前的工具鍊。也就是說,每個工具鍊都會使用自己的集區定義。如果兩個工具鍊應共用同一個集區,這個引數應由其中一個工具鍊提供,指向另一個工具鍊的 GN 路徑。

類型:字串 (工具鍊的 GN 路徑) 用途:僅限工具鍊控制

目前值 (來自預設值): ""

From //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

From //.gn:144

已覆寫預設值: false

From //third_party/pigweed/src/pw_unit_test/test.gni:107

target_cpu = "riscv64" 的目前值: true

From //.gn:144

已覆寫預設值: false

From //third_party/pigweed/src/pw_unit_test/test.gni:107

target_cpu = "x64" 的目前值: true

From //.gn:144

已覆寫預設值: false

From //third_party/pigweed/src/pw_unit_test/test.gni:107

qemu_boot_format

要搭配 QEMU 使用的啟動格式。這會選擇要搭配 QEMU 使用的啟動格式,決定要將哪個啟動墊片實作項目做為 QEMU「核心」。有效替代方案因機器而異,但包括「linuxboot」。

目前值 (來自預設值): "linuxboot"

From //zircon/kernel/phys/qemu.gni:165

rbe_extra_reproxy_configs

其他 reproxy 設定檔。 這些項目會依顯示順序與主要 reproxy_config_file 串連。清單中後續檔案的設定優先於清單中較早的設定。

目前值 (來自預設值): []

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

rbe_mode

RBE 的整體運作模式。有效值如下: *「off」=> 完全停用 RBE。這適用於僅使用本機資源的離線建構作業。*「legacy_default」=> 如果未指定其他設定,則使用標準 RBE 設定。這包含已啟用/停用的遠端服務。* 'remote_full' => 盡可能遠端執行動作,包括快取未命中,以減少本機資源用量。* 'racing' => Race remote against local execution, for some action types. * 'cloudtop' => An RBE configuration that's optimized for running on a cloudtop. 適合用於連線至遠端服務和下載遠端輸出內容的高頻寬連線。*「workstation」=> 經過最佳化調整的 RBE 設定,適用於在大型工作站上執行。適用於具有大量快速核心,且與遠端服務之間有高頻寬連線的機器。*「infra」=> 建議用於 CI/CQ 機器人的 RBE 設定。 也會使用高頻寬。 * 'remote_cache_only' => Use RBE only as a remote-cache: on cache-miss, execute locally instead of remotely. * 'low_bandwidth_remote' => An RBE configuration for low network bandwidth. 避免下載部分中繼結果,節省頻寬。* 'nocache' => Force all cache-misses, and re-execute remotely.

目前值 (來自預設值): "off"

From //build/toolchain/rbe_modes.gni:44

rbe_settings_overrides

RBE 模式的覆寫設定。這是一組變數的覆寫值,這些變數的預設值是由所選 RBE 模式 (如上所述) 設定。

目前值 (來自預設值): { }

From //build/toolchain/rbe_modes.gni:48

recovery_board_configuration_label

可能使用與主要產品不同的復原設定。預設使用同一塊看板。

這是獨立的 declare_args() 區塊,因此可以預設為「board_configuration_label」提供的

目前值 (來自預設值): "//boards/arm64"

From //build/board.gni:46

recovery_label

允許產品指定 zircon_r 插槽中使用的復原映像檔。 預設復原映像檔為 zedboot。覆寫這個值會將 zedboot 保留在建構作業中,但不會將其納入預設 zirconr 映像檔。復原映像檔可透過在 =格式中指定中繼資料項目「update_target」,提供更新目標。(例如 update_target = [ "recovery=" + rebase_path(recovery_path, root_build_dir) ])範例值:「//build/images/recovery」

目前值 (來自預設值): "//build/images/zedboot"

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

recovery_only

這實際上是復原映像檔的建構作業,因此建構的紫紅色映像檔未正確設定,請停用新的映像檔組裝作業,直到問題解決為止。

目前值 (來自預設值): false

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

redirect_guest_serial_logs

如為 true,系統會將訪客序列輸出內容重新導向至系統記錄。

目前值 (來自預設值): false

From //src/virtualization/bin/args.gni:10

remove_default_configs

target_cpu = "arm64" 的目前值: ["//third_party/pigweed/src/pw_build:reduced_size"]

From //.gn:157

已覆寫預設值: []

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

target_cpu = "riscv64" 的目前值: ["//third_party/pigweed/src/pw_build:reduced_size"]

From //.gn:157

已覆寫預設值: []

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

target_cpu = "x64" 的目前值: ["//third_party/pigweed/src/pw_build:reduced_size"]

From //.gn:157

已覆寫預設值: []

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

remove_default_public_deps

目前值 (來自預設值): []

From //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 與 Blob 的 Merkle 不符。

目前值 (來自預設值): "hard-link"

From //src/sys/pkg/bin/package-tool/package-tool.gni:141

restat_cc

設為 true 可讓 C++ 編譯作業保留未變更輸出內容的時間戳記。re-client 預設會透過 --preserve_unchanged_output_mtime 提供這項功能,因此使用 cxx_rbe_enable 時,預設值設為 true 較為合理。如果不使用重新用戶端,您仍可透過 restat_wrapper 指令碼取得寫入時變更的行為,但代價是包裝函式負荷 (與動作修剪的取捨)。

目前值 (來自預設值): false

From //build/toolchain/restat.gni:27

restat_rust

設為 true 可讓 Rust 編譯保留未變更輸出的時間戳記。

目前值 (來自預設值): true

From //build/toolchain/restat.gni:19

riscv64_enable_vector

是否啟用 RISC-V 向量指令。

目前值 (來自預設值): true

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

rust_cap_lints

設定最高 Lint 級別。 「deny」會將所有警告視為錯誤,「warn」則會保留警告,「allow」則會忽略警告。

目前值 (來自預設值): "deny"

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

rust_debug_assertions

啟用偵錯斷言,例如用於溢位檢查。

目前值 (來自預設值): false

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

rust_incremental

啟用 Rust 遞增編譯。採用要當做快取的目錄路徑。

目前值 (來自預設值): ""

From //build/rust/build.gni:8

rust_lto

設定 rustc 建構作業的預設 LTO 類型。

目前值 (來自預設值): ""

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

rust_one_rlib_per_dir

為避免建構期間外部搜尋路徑解析為多個路徑,導致建構不確定性,這個選項會將每個 rlib 放入專屬目錄。由於這會導致指令列膨脹,因此需要 rustc_use_response_file = true

目前值 (來自預設值): true

From //build/rust/build.gni:22

rust_parallel_frontend_threads

啟用具有 N 個執行緒的 Rust 並行前端

目前值 (來自預設值): false

From //build/config/rust/BUILD.gn:29

rust_rbe_check

執行其中一項較昂貴的檢查,適用於 CI。 所有這些都需要 rust_rbe_enable=true。

下列其中一項權限:

  • 「none」:不進行額外檢查。

  • 「determinism」: 在本地執行兩次並比較輸出內容,檢查 rustc 目標的決定性,如果發現任何差異,就會失敗。 即使這項檢查不涉及 RBE,但仍會使用相同的包裝函式指令碼,該指令碼會知道要預期和比較哪些輸出檔案。

    建議不要建構取決於時間的輸出內容,因為這會影響快取。如果結果取決於目前時間,這項檢查一定會失敗。如果只取決於日期,且重新執行作業的時間是次日,仍有非零的失敗機率。

  • 「consistency」: 執行本機和遠端 Rust 編譯,並比較結果,檢查兩者之間的一致性。

目前值 (來自預設值): "none"

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

rust_rbe_download_rlibs

TODO(b/42084033):控制是否要從遠端 Rust 建構動作下載 (中繼) rlib。

目前值 (來自預設值): true

From //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」:強制執行遠端執行作業,但不使用快取結果。這項功能有助於基準化快取未中斷的情況。

    (還有其他未公開的重新包裝選項)。

目前值 (來自預設值): "remote"

From //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

From //build/config/rust/BUILD.gn:26

rust_virtio_net

如為 true,系統會使用新的 Rust virtio-net 裝置,而非舊版 C++ 裝置。

目前值 (來自預設值): true

From //src/virtualization/bin/args.gni:7

rustc_prefix

rustccargo 設定自訂基本目錄。 這可用於測試自訂 Rust 工具鍊。

目前值 (來自預設值): "//prebuilt/third_party/rust/linux-x64"

來自 //build/rust/config.gni:20

rustc_timeout

以秒為單位表示的逾時時間,用於偵測 rustc 停止回應。如果值為零,表示沒有逾時

目前值 (來自預設值): 0

From //build/rust/build.gni:34

rustc_use_response_files

將冗長的 rustdeps 和 externs (GN) 放入 ninja 回應檔案。 需要回應檔案才能解決指令列長度限制。rustc 支援回應檔案 (GN 建構中需要) 是透過修訂版本「git_revision:dfe53afaebd817f334d8ef9dc75a5cd2562cf6e6」新增。

目前值 (來自預設值): true

From //build/rust/build.gni:16

rustc_version_description

工具鍊版本的可讀 ID。

TODO(tmandry):Make this the same repo/revision info from rustc --version. 例如 clang_version_description = read_file("$_rustc_lib_dir/VERSION")

目前值 (來自預設值): ""

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

rustc_version_string

這個字串會識別使用的特定工具鍊版本。這個值唯一的作用是確保在切換至新工具鍊時會變更,以便觸發使用新編譯器的重新編譯作業。

使用預建項目時,系統會忽略此 ID,並使用預建項目的 CIPD 執行個體 ID。

目前值 (來自預設值): "cf4S8WqIuIzG2Dz5LKvxjk79OrXRzqf0btPWLUq7MBwC"

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

rustdoc_extern_html_root_url_base

目前值 (來自預設值): "https://fuchsia-docs.firebaseapp.com/rust"

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

scenic_enable_vulkan_validation

在 Scenic 中加入 Vulkan 驗證層。

目前值 (來自預設值): false

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

scheduler_extra_invariant_validation

啟用排程器不變量的額外 (昂貴) 驗證,協助偵錯排程器行為的變更。

目前值 (來自預設值): false

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

scheduler_lock_spin_tracing_compressed

啟用壓縮記錄,追蹤鎖定旋轉事件。這樣一來,您會更難在追蹤視覺化工具中解讀事件,但可節省空間,並為剖析鎖定追蹤資料的指令碼提供相同資訊。

目前值 (來自預設值): false

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

scheduler_lock_spin_tracing_enabled

啟用排程器鎖定旋轉追蹤事件,以利根據追蹤記錄分析排程器效能。

目前值 (來自預設值): false

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

scheduler_queue_tracing_enabled

啟用排程器佇列追蹤功能,以利根據追蹤記錄分析排程器效能。

目前值 (來自預設值): false

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

scheduler_tracing_level

啟用後,排程器追蹤記錄的詳細程度。值大於零時,會增加詳細資料,但會導致追蹤緩衝區用量增加。

0 = 預設 (標準) 核心:sched 追蹤。 1 = 新增重要排程器作業的持續時間追蹤記錄。 2 = 新增頻寬計數器,用於計算使用率和處理速率。 3 = 新增執行佇列事件。 4 = Adds flow events from wakeup to running state. 5 = Adds counters for misc stats and estimates. 6 = 新增詳細的內部事件。

目前值 (來自預設值): 0

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

scudo_default_options

預設 Scudo 選項 (在執行階段讀取 SCUDO_OPTIONS 環境變數之前)。Scudo 是 Fuchsia C 程式庫中的記憶體分配器,因此會影響所有 Fuchsia 程式。可以是字串清單或單一字串。

這項功能與 asan_default_options 類似,也與其他清理工具的同類功能相似,但略有不同。如果這個變數為空白,系統就不會將任何 __scudo_default_options 函式插入程式。個別目標可以使用 sanitizer_extra_options() 目標的依附元件,導致選項遭到注入,且這會與 scudo_default_options 的任何建構範圍設定相容。程式可以定義自己的 __scudo_default_options 函式,但如果這樣做,所有建構作業都會中斷,因為這個變數設為非空白,因此建構作業中需要這類設定的任何程式 (應該只在測試中) 都可以改用 sanitizer_extra_options() 機制。

目前值 (來自預設值): []

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

sdk_archive_labels

要上傳至構件儲存庫的額外 idk_archive() 標籤。這是 IDK 位元的擴充機制,適用於主要存放區以外的位元。

目前值 (來自預設值): []

From //BUILD.gn:109

sdk_cross_compile_host_tools

是否要為所有支援的主機工具鍊進行跨平台程式碼編譯 SDK 工具, 而不僅限於目前的主機工具鍊。舉例來說,如果這個值為 true,則在 Linux x64 上建構時,您也會為 Linux arm64 建構 SDK 主機工具。

目前值 (來自預設值): false

From //sdk/config.gni:16

sdk_host_tool_bazel_targets

列出 SDK 中包含的 Bazel 主機目標範圍。

這是獨立的項目,因為可以在 SDK 建構工具上進行交叉編譯。

目前值 (來自預設值):

[{
  bazel_label = "//zircon/tools/merkleroot"
}]

來自 //build/bazel/bazel_root_targets_list.gni:26

sdk_id

Core SDK 的 ID。 LINT.IfChange

目前值 (來自預設值): "31.99991231.0.1"

From //sdk/config.gni:8

sdk_inside_sub_build

目前是否正在建構子版本 (相較於以「PLATFORM」和主要目標 CPU 架構為目標的主要版本)。盡可能使用其他機制。 適用於任何 API 級別,包括「PLATFORM」和 CPU 架構。

目前值 (來自預設值): false

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

sdk_max_simultaneous_sub_builds

如果未設定 enable_jobserver,這會提供可同時執行的子建構數量上限。數字越大,代表以下優點: - 改善 GN 和 ninja 本質上單一執行緒部分的平行化。 - 針對建構作業中的「落後者」進行更完善的平行處理,也就是每個子建構作業執行少量動作的情況。

但也有以下缺點: - 記憶體用量增加,可能導致交換和速度變慢。 - 建構程序實際受 CPU 限制時,CPU 爭用情況會更加嚴重。 - 可能會強制降低 sdk_sub_build_parallelism 的值,因為總負載與 sdk_max_simultaneous_sub_builds * sdk_sub_build_parallelism 成正比。

選擇 5 主要是因為我每隻手都有 5 根手指。

目前值 (來自預設值): 5

From //build/sdk/config.gni:43

sdk_sub_build_max_load_average

如果未設定 enable_jobserver,則為在子建構期間傳遞至 ninja 的 -l 值。如果系統的系統負載平均值超過這個值,ninja 就會自行節流。如果留空,子建構指令碼會進行猜測。

目前值 (來自預設值): ""

來自 //build/sdk/config.gni:55

sdk_sub_build_parallelism

如果未設定 enable_jobserver,則為在子建構期間傳遞至 ninja 的 -j 值。請注意,最多可平行執行 sdk_max_simultaneous_sub_builds 個子建構作業,因此並行動作數量可能高達這個數字的倍數。如果留空,子建構指令碼會進行猜測。

目前值 (來自預設值): ""

來自 //build/sdk/config.gni:50

sdk_sub_build_verbose

設為 true 可在 IDK 子版本建構期間啟用詳細記錄。

目前值 (來自預設值): false

From //build/sdk/config.gni:58

select_variant

要求特定目標的變體版本建構作業的「選取器」清單。 每個選取器都會指定相符條件和所選變體。 清單中第一個與指定目標相符的選取器,會決定該目標使用的變體。

每個選取器都是字串或範圍。捷徑選取器是字串,會展開為完整選取器。完整選取器是範圍,如下所述。

字串選取器可以比對 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 變數前使用特定變數清單。

每個「[字串]」條件都是字串清單,只要候選字串符合任一字串,即滿足條件。

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`).

目前值 (來自預設值): []

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

select_variant_canonical

這個值絕不應設為建構引數。 這個值只會設在 toolchain_args 中。 詳情請參閱 //build/toolchain/clang_toolchain.gni。

目前值 (來自預設值): []

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

select_variant_shortcuts

常用變體選取器的簡短名稱清單。通常這不會設為建構引數,但可用於記錄變體選取器的可用捷徑名稱集。這個清單的每個元素都是範圍,其中 .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", "//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"
}]
}]

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

skip_buildtools_check

略過建構工具依附元件檢查 (ChromeOS 適用)。

目前值 (來自預設值): false

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

smp_max_cpus

目前值 (來自預設值): 16

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

spinel_platform_header

Spinel 的平台可攜性標頭。

目前值 (來自預設值): "\"spinel_platform.h\""

From //third_party/openthread/src/lib/spinel/BUILD.gn:32

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

From //build/config/clang/stack_clash_protection.gni:9

starnix_enable_console_tool

控制台工具僅供開發人員使用。預設為停用,避免自動使用。

目前值 (來自預設值): false

From //src/developer/ffx/tools/starnix/BUILD.gn:12

starnix_enable_rust_backtrace

是否要將 Starnix 核心的 RUST_BACKTRACE 環境變數預設設為 1。這有助於找出在死結週期中取得鎖定的堆疊。

目前值 (來自預設值): false

From //src/starnix/build/args.gni:22

starnix_enable_trace_and_debug_logs_in_release

在發布版本中編譯追蹤和偵錯記錄。根據預設,基於效能考量,這些記錄會編譯出來。

這個選項不會影響 fuchsia_trace Crate 的使用情形,因為這與 Rust 的追蹤程式庫無關。

詳情請參閱 https://fuchsia-review.googlesource.com/c/fuchsia/+/929995。

目前值 (來自預設值): false

From //src/starnix/build/args.gni:18

starnix_force_build_host_tests

是否強制建構 syscall 測試的 x64 ELF 可執行檔,俗稱「主機測試」。預設偏好設定是針對 Machina 建構及執行測試。

目前值 (來自預設值): false

From //src/starnix/build/args.gni:8

starnix_host_linux_toolchain

我們想使用比 $host_toolchain 中預設提供的更新的 sysroot。

目前值 (來自預設值): "//build/toolchain:linux_x64"

From //src/starnix/build/args.gni:25

starnix_kgsl_debug

這個標記會啟用詳細記錄和偵錯檢查。

目前值 (來自預設值): false

From //src/starnix/modules/kgsl/BUILD.gn:15

starnix_kgsl_enable

這個標記會影響特定容器二進位檔使用的信號 ioctl 傳回值,引導這些二進位檔使用以 kgsl 或 magma 為基礎的驅動程式。這不會影響容器內 kgsl 裝置的可用性。

目前值 (來自預設值): false

From //src/starnix/modules/kgsl/BUILD.gn:12

sysmem_contiguous_guard_page_count

目前值 (來自預設值): -1

From //src/sysmem/server/BUILD.gn:25

sysmem_contiguous_guard_pages_fatal

目前值 (來自預設值): false

From //src/sysmem/server/BUILD.gn:23

sysmem_contiguous_guard_pages_internal

目前值 (來自預設值): false

From //src/sysmem/server/BUILD.gn:24

sysmem_contiguous_guard_pages_unused

目前值 (來自預設值): false

From //src/sysmem/server/BUILD.gn:26

sysmem_contiguous_guard_pages_unused_cycle_seconds

目前值 (來自預設值): 600

From //src/sysmem/server/BUILD.gn:28

sysmem_contiguous_guard_pages_unused_fraction_denominator

目前值 (來自預設值): 128

From //src/sysmem/server/BUILD.gn:27

sysmem_contiguous_memory_size

目前值 (來自預設值): -1

From //src/sysmem/server/BUILD.gn:19

sysmem_contiguous_memory_size_percent

目前值 (來自預設值): 5

From //src/sysmem/server/BUILD.gn:20

sysmem_protected_memory_size

目前值 (來自預設值): 0

From //src/sysmem/server/BUILD.gn:21

sysmem_protected_memory_size_percent

目前值 (來自預設值): -1

From //src/sysmem/server/BUILD.gn:22

sysmem_protected_ranges_disable_dynamic

目前值 (來自預設值): false

From //src/sysmem/server/BUILD.gn:29

target_cpu

target_cpu = "arm64" 的目前值: "arm64"

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

已覆寫預設值: ""

target_cpu = "riscv64" 的目前值: "riscv64"

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

已覆寫預設值: ""

target_cpu = "x64" 的目前值: "x64"

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

已覆寫預設值: ""

target_os

目前值 (來自預設值): ""

target_persistent_debuglog_size

控制永久偵錯記錄檔的目標大小 (以位元組為單位)。如果設為零,所有持續性偵錯記錄檔功能都會停用。請注意,雖然系統會嘗試為永久偵錯記錄檔保留這麼多位元組,但由於永久 RAM 資源有限,可能無法達成。必須是 128 個位元組的倍數。

目前值 (來自預設值): 0

From //zircon/kernel/lib/persistent-debuglog/params.gni:13

target_sysroot

與目標工具鍊搭配使用的 sysroot 絕對路徑。

目前值 (來自預設值): ""

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

termina_extras_tests

如果 true,則會將額外的測試專用內容新增至 extras.img,並在容器內的 /mnt/chromeos 中建構及掛接。

目前值 (來自預設值): true

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:12

termina_hermetic_bootstrap

如果為「true」,請將容器映像檔與 termina_guest_manager 套件組合,並用來初始化 Linux 容器。

如果為「false」,系統不會一併封裝容器映像檔,而是在執行階段由目標下載容器。這樣一來,建構作業會比較小,但目標裝置必須在執行階段連上網際網路。

目前值 (來自預設值): false

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:35

termina_stateful_partition_size_bytes

預設有狀態映像檔大小 (40 GiB)。

如果變更這個值,您需要使用「guest wipe termina」重建客體分割區,新大小才會生效。

目前值 (來自預設值): 42949672960

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:26

termina_user_extras

將此項目指向要納入為額外內容的外部檔案位置

目前值 (來自預設值): []

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:20

termina_volatile_block

如果 true,所有通常會以 READ_WRITE 載入的區塊裝置都會以 VOLATILE_WRITE 載入。如果正在變更 Linux 核心,這項功能就非常實用,因為當機和恐慌有時會導致映像檔損毀。

目前值 (來自預設值): false

From //src/virtualization/bin/termina_guest_manager/BUILD.gn:17

terminal_bold_font_path

目前值 (來自預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Bold.ttf"

From //src/ui/bin/terminal/terminal_args.gni:12

terminal_bold_italic_font_path

目前值 (來自預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-BoldItalic.ttf"

From //src/ui/bin/terminal/terminal_args.gni:20

terminal_fallback_font_paths

備用字型的檔案路徑

目前值 (來自預設值): []

From //src/ui/bin/terminal/terminal_args.gni:23

terminal_font_path

目前值 (來自預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Regular.ttf"

From //src/ui/bin/terminal/terminal_args.gni:8

terminal_italic_font_path

目前值 (來自預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Italic.ttf"

From //src/ui/bin/terminal/terminal_args.gni:16

test_durations_file

這個檔案包含這項建構設定的歷史測試時間長度資料,供 testsharder 用於在分片之間平均分配測試。如果後續要執行 testsharder,就應為所有建構版本設定這項屬性。

目前值 (來自預設值): ""

From //BUILD.gn:105

test_package_labels

非密封測試 (在執行階段)。如果這個群組中含有非測試套件,建構作業會將其標示為錯誤。

target_cpu = "arm64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:77

target_cpu = "riscv64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:77

target_cpu = "x64" 的目前值: []

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

已覆寫預設值: []

From //BUILD.gn:77

thinlto_cache_dir

ThinLTO 快取目錄路徑。

目前值 (來自預設值): "thinlto-cache"

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

thinlto_jobs

平行 ThinLTO 工作數量。

目前值 (來自預設值): 8

From //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

From //build/config/clang/time_trace.gni:8

toolchain_variant

這個值絕不應設為建構引數。 這個值只會設在 toolchain_args 中。 如需各個欄位的詳細資料和說明文件,請參閱 //docs/concepts/build_system/internals/toolchains/build_arguments.md#toolchain_variant。

目前值 (來自預設值):

{
  base = "//build/toolchain/fuchsia:arm64"
}

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

truncate_build_info_commit_date

將 build_info 中的日期截斷為世界標準時間午夜,並將提交雜湊替換為從該日期合成的雜湊。這個檔案不應在目錄外使用。這個檔案只會出現在 .gni 檔案中,//build/bazel:gn_build_variables_for_bazel 才能存取。

目前值 (來自預設值): false

From //build/info/info.gni:23

tsan_default_options

預設 ThreadSanitizer 選項 (在執行階段讀取 TSAN_OPTIONS 環境變數之前)。這可以設為建構引數,影響 $variants 中的大多數「tsan」變體 (請參閱),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。

請注意,即使這個項目為空白,這個建構版本中的程式無法定義自己的 __tsan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項,都可以覆寫這個清單中的選項設定。

TODO(https://fxbug.dev/42171381):ignore_noninstrumented_modules=1 can be reevaluated when/if we have an instrumented libstd for Rust.

目前值 (來自預設值): ["ignore_noninstrumented_modules=1"]

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

ubsan_default_options

預設 UndefinedBehaviorSanitizer 選項 (在執行階段讀取 UBSAN_OPTIONS 環境變數之前)。這項設定可做為建構引數,影響 $variants 中的大多數「ubsan」變體 (請參閱),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。

請注意,即使這個項目為空白,這個建構版本中的程式無法定義自己的 __ubsan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項,都可以覆寫這個清單中的選項設定。

目前值 (來自預設值): ["print_stacktrace=1", "halt_on_error=1"]

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

universe_package_labels

如果將套件標籤加到這個變數,套件就會納入「universe」套件組合,代表所有要發布至套件存放區或 SDK 的軟體。

target_cpu = "arm64" 的目前值: ["//bundles/docs_roller"]

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

已覆寫預設值: []

From //BUILD.gn:40

target_cpu = "riscv64" 的目前值: ["//bundles/docs_roller"]

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

已覆寫預設值: []

From //BUILD.gn:40

target_cpu = "x64" 的目前值: ["//bundles/docs_roller"]

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

已覆寫預設值: []

From //BUILD.gn:40

update_goldens

將 golden_file 範本設為 true,即可隱含地寫入更新後的黃金檔案,而非導致動作或測試失敗。LINT.IfChange

目前值 (來自預設值): false

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

update_product_epoch

更新 (OTA) 套件中要使用的紀元。 套用更新前,Fuchsia 會確認更新套件中的紀元不小於系統上安裝的紀元。這樣可防止 Fuchsia 下載可能無法開機的更新。

產品紀元會先新增至平台紀元,再放入更新套件。如果平台有不相容的重大變更,每個產品的平台紀元都會增加,確保產品不會受到影響。

目前值 (來自預設值): 0

來自 //build/images/args.gni:28

use_bazel_images_only

如果為 true,images.json 建構 API 模組只會納入 bazel_product_bundle_target 及其依附元件識別的圖片。

注意:這個欄位仍在實驗階段,請勿設定,除非您確切瞭解自己要執行的操作。

target_cpu = "arm64" 的目前值: true

From //products/core.gni:27

已覆寫預設值: false

來自 //build/images/args.gni:113

target_cpu = "riscv64" 的目前值: true

From //products/minimal.gni:38

已覆寫預設值: false

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

target_cpu = "x64" 的目前值: true

From //products/core.gni:27

已覆寫預設值: false

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

目前值 (來自預設值): false

From //build/config/features.gni:13

use_bringup_assembly

產品使用的 assemble_system() 例項是標準例項還是啟動例項?

目前值 (來自預設值): false

From //build/product.gni:8

use_ccache

如要啟用 ccache 編譯功能,請將此旗標設為 true

目前值 (來自預設值): false

From //build/toolchain/ccache.gni:9

use_dbus

目前值 (來自預設值): false

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

use_direct_for_carnelian_examples

在範例套件中加入設定,嘗試使用直接檢視模式。

目前值 (來自預設值): false

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

use_gio

目前值 (來自預設值): false

From //build/config/features.gni:12

use_llvm_libc_string_functions

注意:實驗功能使用字串函式的 llvm-libc 實作項目。

目前值 (來自預設值): false

From //sdk/lib/c/libc.gni:20

use_null_vulkan_on_host

TODO(liyl):目前非 x64 平台不支援 Vulkan,因此我們一律使用空值 Vulkan 實作。

全域引數,用於判斷是否在主機 vulkan_executables 和 vulkan_tests 上使用「空值」Vulkan 實作項目,以便任何建立 VkInstances 或 VkDevice 的嘗試都會失敗。

這個引數會影響所有 vulkan_{executable/test} 建構目標。

目前值 (來自預設值): true

From //src/lib/vulkan/build/config.gni:29

use_prebuilt_buildidtool

使用預先建構的 buildidtool 二進位檔,而非在本機建構的二進位檔。注意:將此設定設為 false 會使用 GN 中的 toolchain_deps 機制,這可能會大幅減緩 Ninja 的速度。此外,由於 $host_toolchain 沒有 toolchain_deps,因此無法確保 buildidtool 會在需要前建構,這會導致循環依附元件。這可能會導致建構作業不可靠,但應該可以逐步進行增量建構,最終完成新工具的建置。只有在積極開發 buildidtool 本身時,才應使用此功能。

請注意,由於在 buildidtool 的建構作業中使用 buildidtool 會造成循環,因此這項規則絕不會套用至 Go 建構作業。

目前值 (來自預設值): true

From //build/toolchain/buildidtool.gni:17

use_prebuilt_ffmpeg

請使用預先建構的 ffmpeg 二進位檔,而非在本機建構。詳情請參閱 //src/media/lib/ffmpeg/README.md。 如果建構的變體版本沒有預先建構的項目,系統就會忽略這個屬性。在這種情況下,ffmpeg 一律會從來源建構,以便使用所選變體的設定建構。如果這是 false (明確或在變體建構中),則 //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 更新發生錯誤,則可以只複製 Git (但 jiri 更新不會管理 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/BUILD.gn:33

use_spinel_for_carnelian_examples

在範例套件中加入設定,嘗試使用 Spinel

目前值 (來自預設值): false

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

use_swiftshader_vulkan_icd_on_host

全域引數,用於判斷是否在主機 vulkan_executables 和 vulkan_tests 上使用 SwiftShader Vulkan ICD。

這項引數會影響所有 vulkan_{executable/test} 建構目標,且只有在 use_null_vulkan_on_host 設為 false 時才會生效。

目前值 (來自預設值): true

From //src/lib/vulkan/build/config.gni:38

use_udev

目前值 (來自預設值): false

來自 //build/config/features.gni:10

use_vbmeta

如果為 true,系統會為提供的 ZBI 生成 vbmeta 映像檔,鋪路指令碼則會將 vbmeta 映像檔鋪路至目標裝置。LINT.IfChange

target_cpu = "arm64" 的目前值: true

From //boards/arm64.gni:33

已覆寫預設值: false

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

目前值 (來自預設值): false

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

using_fuchsia_sdk

僅在建構根目錄中設定,目標會自行設定以搭配 Fuchsia SDK 使用

目前值 (來自預設值): false

From //build/fuchsia/sdk.gni:8

vbmeta_a_partition

目前值 (來自預設值): ""

來自//build/images/args.gni:51//build/images/args.gni:51

vbmeta_b_partition

目前值 (來自預設值): ""

來自//build/images/args.gni:52//build/images/args.gni:52

vbmeta_r_partition

目前值 (來自預設值): ""

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

verbose_image_assembly

ffx assembly image 啟用詳細輸出內容,這會建立非靜音的建構輸出內容,因此在已簽入的設定中,絕不應為「true」,且僅供開發人員偵錯。

目前值 (來自預設值): false

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

verify_depfile

控制建構作業是否執行 depfile 驗證器

目前值 (來自預設值): true

From //build/rust/build.gni:25

vfs_rust_uses_log

將此值設為 true,即可在 vfs Crate 中啟用一些額外記錄,並讓其依附於記錄 Crate。一般來說,非主機建構作業不應啟用這項功能,因為這會導致以 dylib 建構的 vfs Crate 成為全域記錄器的來源,進而對動態連結 Rust 程式庫 (例如驅動程式) 的項目造成問題,最嚴重的情況是導致連結錯誤,或至少會造成記錄歸因錯誤。

目前值 (來自預設值): false

From //src/storage/lib/vfs/rust/BUILD.gn:16

vim3_mcu_fan_default_level

VIM3 MCU 驅動程式使用的預設風扇等級。

有效值介於 0 (完全關閉) 和 3 (全速運作)。

請勿在已簽入的程式碼中依賴這項設定。這項設定旨在方便您在辦公桌上開發,之後會由更完善的設定機制取代。

目前值 (來自預設值): 1

From //src/devices/mcu/drivers/vim3-mcu/BUILD.gn:18

virtio_gpu_display_flavor

在 C++ 和 Rust 驅動程式庫實作項目之間切換。

TODO(https://fxbug.dev/504722357):Rust 移植作業完成後,請移除切換鈕。 有效值:「cpp」、「rust」

目前值 (來自預設值): "cpp"

來自 //src/graphics/display/drivers/virtio-gpu-display/BUILD.gn:15

virtmagma_debug

在 virtmagma 相關程式碼中啟用詳細記錄功能

目前值 (來自預設值): false

From //src/graphics/lib/magma/include/virtio/virtmagma_debug.gni:7

virtual_alloc_host_size_shift

設定主機的頁面大小位移。在可能沒有頁面大小常數的主機環境中執行分配器時,會使用這個值。如果這與實際主機網頁大小不符,就會發生執行階段錯誤。

目前值 (來自預設值): 12

From //zircon/kernel/lib/virtual_alloc/BUILD.gn:13

vm_tracing_level

VM 系統發出的追蹤記錄詳細程度。值大於零時,會增加詳細資料,但會導致追蹤緩衝區用量增加。

0 = 預設核心:* 追蹤。 1 = 為非同步網頁要求新增流程事件。 2 = Adds duration events related to accessed faults and page faults. 3 = Adds duration events for PMM allocations and frees.

目前值 (來自預設值): 0

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

vulkan_host_runtime_dir

|vulkan_host_runtime_dir| 是 Vulkan 執行階段程式庫的路徑,其中包含預先建構的 Vulkan 載入器、Vulkan 層、SwiftShader Vulkan ICD,以及載入程式庫所需的描述元檔案。

目前值 (來自預設值): "//prebuilt/third_party/vulkan_runtime/linux-x64"

From //src/lib/vulkan/build/config.gni:17

vulkan_loader_allow_goldfish

目前值 (來自預設值): true

From //src/graphics/bin/vulkan_loader/BUILD.gn:8

vulkan_sdk

目前值 (來自預設值): ""

From //src/graphics/examples/vkproto/common/common.gni:48

wait_queue_depth_tracing_enabled

啟用等待佇列深度追蹤功能。用於後續處理分析,瞭解各種負載下等待佇列的深度,以及深度變化的頻率。

目前值 (來自預設值): false

來自 //zircon/kernel/params.gni:64

warn_on_sdk_changes

是否只在 SDK 經過修改時發出警告。如果為 false,任何未確認的 SDK 變更都會導致建構失敗。LINT.IfChange

目前值 (來自預設值): false

From //build/sdk/config.gni:17

weave_build_legacy_wdm

告知 OpenWeave 支援舊版 WDM 模式。

目前值 (來自預設值): false

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

weave_build_warm

指示 openweave 建構 WARM 程式庫。

目前值 (來自預設值): true

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

weave_system_config_use_sockets

告知 openweave 元件使用類似 BSD 的通訊端。

目前值 (來自預設值): true

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

weave_with_nlfaultinjection

告知 openweave 元件支援錯誤注入。

目前值 (來自預設值): false

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

weave_with_verhoeff

告知 openweave 支援 Verhoeff 總和檢查碼。

目前值 (來自預設值): true

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

wlancfg_config_type

選取要使用的 WLAN 設定類型。選項: 「client」- 用戶端模式 「ap」- 存取點模式 「」(空字串) - 無設定

目前值 (來自預設值): "client"

From //src/connectivity/wlan/wlancfg/BUILD.gn:17

zedboot_product_assembly_config_label

用於設定 Zedboot 映像檔的產品組裝設定。

目前值 (來自預設值): false

From //build/product.gni:17

zircon_a_partition

fx flash 指令碼的引數 (以及指定分割區的任何 firmware_prebuilts)。

如果提供 (正好一個) fvm_partitionfxfs_partition,快閃指令碼會快閃完整 OS、復原 + Zircon + FVM (或 Fxfs) + SSH 金鑰。在這種情況下,開機載入程式也必須支援 fastboot oem add-staged-bootloader-file ssh.authorized_keys

否則,指令碼會將復原映像檔刷新至所有插槽,這不需要 FVM 或 SSH 金鑰。

目前值 (來自預設值): ""

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

zircon_asserts

在內部用於啟用 提供的 ZX_ASSERT_XXX 巨集。請勿在 args.gn 中設定此值。

如要覆寫預設值,GN 目標應使用設定標籤 //build/config/fuchsia:enable_zircon_asserts,而 Bazel 目標應使用功能名稱「enable_zircon_asserts」。

目前值 (來自預設值): false

From //build/config/fuchsia/zircon_asserts.gni:13

zircon_b_partition

目前值 (來自預設值): ""

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

zircon_kernel_disable_asserts

強制停用 Zircon 核心的所有斷言。如果設定這個值,預設會使用 zx_assert_level 的值,在建構核心時控制斷言。

目前值 (來自預設值): false

From //build/zircon/build_args.gni:9

zircon_r_partition

目前值 (來自預設值): ""

來自 //build/images/args.gni:50

zircon_toolchain

這個值絕不應設為建構引數。 這個值只會設在 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:970

zircon_tracelog

從 Zircon 的 GN 執行中發出追蹤記錄的位置。如果提供空字串,系統不會產生任何追蹤記錄。路徑可以是來源絕對路徑或系統絕對路徑。

目前值 (來自預設值): ""

From //build/zircon/build_args.gni:13

zx_assert_level

控制要啟用哪些斷言。

ZX_ASSERT」一律會啟用。

  • 如果設為 0,系統會停用標準 C assert()ZX_DEBUG_ASSERT
  • 1 停用 ZX_DEBUG_ASSERT。標準 C assert() 仍會啟用。
  • 2 啟用所有斷言。

目前值 (來自預設值): 2

From //build/config/zircon/levels.gni:13

target_cpu = "arm64"

arm_use_neon

是否使用 neon FPU 指令集。 TODO(https://fxbug.dev/42168336):將這個項目移至開發板。

目前值 (來自預設值): true

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

qemu_arm64_enable_user_pci

在 qemu-arm64 板載驅動程式中啟用使用者空間 PCI 堆疊。

目前值 (來自預設值): false

From //src/devices/board/drivers/qemu-arm64/pci.gni:7

target_cpu = "x64"

build_libvulkan_goldfish

目前值 (來自預設值): "//third_party/android/device/generic/goldfish-opengl:libvulkan_goldfish"

From //src/graphics/lib/goldfish-vulkan/gnbuild/BUILD.gn:12