所有版本
acpica_debug_output
在 ACPI 程式庫 (由 ACPI 匯流排驅動程式使用) 中啟用偵錯輸出。
目前的值 (預設值): false
來自 //zircon/system/ulib/acpica/acpica.gni:7
add_qemu_to_build_archives
是否要在建構封存檔中,納入在 QEMU 中執行 Fuchsia 所需的映像檔。
目前的值 (預設值): false
additional_bazel_sdk_labels
要納入 bazel_sdk_info API 模組的額外 generate_fuchsia_bazel_sdk 目標。這項操作可讓您在主要存放區外定義 Bazel SDK。
目前的值 (預設值): []
additional_default_targets
平台建構工具可以將目標新增至這份清單,以便使用 //:default 目標建構
目前的值 (預設值): []
additional_tefmocheck_labels
要納入資訊清單的其他 tefmocheck 目標標籤清單。預設為空白。
目前的值 (預設值): []
all_cpu_kernel_boot_tests
讓 //zircon/kernel:boot_tests 為所有支援的 CPU (不只是 $target_cpu) 產生實體啟動測試。
目前的值 (預設值): false
來自 //zircon/kernel/BUILD.gn:23
all_cpu_phys_boot_tests
讓 //zircon/kernel/phys:boot_tests 為所有支援的 CPU (不只是 $target_cpu) 產生 phys 啟動測試。
目前的值 (預設值): false
來自 //zircon/kernel/phys/BUILD.gn:25
all_font_file_paths
每個字型素材資源的檔案路徑清單。在 fonts.gni 中填入。
目前的值 (預設值): []
來自 //src/fonts/build/font_args.gni:35
all_toolchain_variants
請勿將這些設為建構引數。 這項設定會在下方設定,並透過 toolchain_args 傳遞至其他工具鍊 (請參閱 variant_toolchain.gni)。
目前的值 (預設值): []
來自 //build/config/BUILDCONFIG.gn:787
allowed_test_device_types
這項建構作業可執行測試的裝置類型清單。如果設定,系統只會使用這些裝置類型進行測試。
目前的值 (預設值): []
來自 //build/testing/device_types.gni:11
allowed_test_host_device_types
這項建構作業可在哪些主機裝置類型上執行測試。如果設定,則只有這些主機裝置類型會用於測試。
目前的值 (預設值): []
來自 //build/testing/device_types.gni:15
amlogic_decoder_firmware_path
amlogic 解碼器韌體檔案的路徑。覆寫建構作業中的預設值。
目前的值 (預設值): ""
來自 //src/media/drivers/amlogic_decoder/BUILD.gn:13
arm_sdk_tools
如果設為 true,SDK 就會包含 arm64 主機工具。
目前的值 (預設值): false
來自 //src/developer/ffx/plugins/emulator/emu_companion.gni:9
asan_default_options
預設 AddressSanitizer 選項 (在執行階段讀取 ASAN_OPTIONS 環境變數之前)。這可以設為建構引數,影響 $variants 中的大多數「asan」變體 (請參閱),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。
請注意,即使這個欄位留空,這個建構作業中的程式也無法定義自己的 __asan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項都可以覆寫此清單中該選項的設定。
目前的值 (預設值): ["detect_stack_use_after_return=1", "quarantine_size_mb=32"]
來自 //build/config/sanitizers/sanitizer_default_options.gni:18
assembly_board_configs
平台建構工具應在 product.gni 檔案中填入這份清單。基礎架構會建構結果,並上傳至 CIPD。
目前的值 (預設值): []
assembly_partitions_configs
平台建構工具應在 product.gni 檔案中填入這份清單。基礎架構會建構結果,並上傳至 CIPD。
目前的值 (預設值): []
assembly_product_configs
平台建構工具應在 product.gni 檔案中填入這份清單。基礎架構會建構結果,並上傳至 CIPD。
目前的值 (預設值): []
avb_atx_metadata
用於驗證公開金鑰的 AVB 中繼資料
target_cpu = "arm64" 的目前值: "//third_party/android/platform/external/avb/test/data/atx_metadata.bin"
已覆寫預設值: ""
來自 //build/images/vbmeta.gni:20
目前的值 (預設值): ""
來自 //build/images/vbmeta.gni:20
avb_key
用於簽署 VBMETA 和 AVB 映像檔的金鑰
target_cpu = "arm64" 的目前值: "//third_party/android/platform/external/avb/test/data/testkey_atx_psk.pem"
已覆寫預設值: ""
來自 //build/images/vbmeta.gni:17
目前的值 (預設值): ""
來自 //build/images/vbmeta.gni:17
basic_env_names
要納入「basic_envs」的環境名稱清單。
目前的值 (預設值): ["emu"]
來自 //build/testing/environments.gni:7
bazel_auto_refresh_compdb
建構 bazel_actions 後,自動重新整理 compile_commands.json。
注意:啟用後,建構作業會增加幾秒鐘的負擔。
目前的值 (預設值): false
來自 //build/bazel/bazel_action.gni:15
bazel_execution_logs
如果設為 true,則會發出額外的執行記錄,其中包含遠端執行作業及其動作摘要、快取狀態、遠端輸入等資訊。
目前的值 (預設值): true
來自 //build/bazel/config/logging.gni:9
bazel_product_bundle_board
target_cpu = "arm64" 的目前值: "arm64"
已覆寫預設值: false
target_cpu = "riscv64" 的目前值: "riscv64"
已覆寫預設值: false
target_cpu = "x64" 的目前值: "x64"
已覆寫預設值: false
bazel_product_bundle_full
bazel_productbundle[full|root|prefix|board] 會一併識別 GN 目標中的 bazel_product_bundle 目標,以便在 Bazel 組件中使用。實際使用的目標如下:
${bazel_product_bundle_full}.${bazel_product_bundle_board} (如果已定義 ${bazel_product_bundle_full}),否則為 ${bazel_product_bundle_root}/${bazel_product_bundle_prefix}.${bazel_product_bundle_board}。
注意:bazel_product_bundle_prefix 應包含目標的完整路徑前置字元。必須設定這兩個引數,才能啟用 Bazel 組合。
舉例來說,假設:
bazel_product_bundle_root = "//" bazel_product_bundle_prefix = "build/bazel/assembly:minimal" bazel_product_bundle_board = "x64"
用於 Bazel 組合的實際 bazel_product_bundle 為:
//build/bazel/assembly:minimal.x64
目前的值 (預設值): false
bazel_product_bundle_prefix
target_cpu = "arm64" 的目前值: "//products/core:product_bundle"
已覆寫預設值: false
target_cpu = "riscv64" 的目前值: "//products/minimal:product_bundle"
已覆寫預設值: false
target_cpu = "x64" 的目前值: "//products/core:product_bundle"
已覆寫預設值: false
bazel_product_bundle_root
目前的值 (預設值): "//"
bazel_rbe_download_outputs
控管要下載哪些 bazel 遠端建構輸出內容。 請參閱 https://bazel.build/reference/command-line-reference#flag--remote_download_outputs 有效選項:all、minimal、toplevel (Bazel 7.1 起的預設值) -「toplevel」和「minimal」可節省大量下載頻寬 -「all」適合用於偵錯遠端建構問題
目前的值 (預設值): "toplevel"
來自 //build/bazel/remote_services.gni:32
bazel_rbe_exec_strategy
如果 bazel 設為使用 RBE,這項設定會控制所用的執行策略。
支援的選項: 「remote」:快取失敗時,從遠端建構 (預設) 「local」:快取失敗時,從本機建構 「nocache」:強制執行,如同快取失敗。
目前的值 (預設值): "remote"
來自 //build/bazel/remote_services.gni:25
blobfs_page_in_metrics_recording
設定 gn args 時,請將此值設為 true,啟用 blobfs page-in 指標記錄功能。這也會將 blobfs 的檢查 VMO 大小增加至 2 MiB,以容納大量指標項目。
目前的值 (預設值): false
來自 //src/storage/blobfs/BUILD.gn:12
board_configuration_label
與 Product Assembly 搭配使用的板設定目標標籤
target_cpu = "arm64" 的目前值: "//boards/arm64"
已覆寫預設值: false
target_cpu = "riscv64" 的目前值: "//boards/riscv64"
已覆寫預設值: false
target_cpu = "x64" 的目前值: "//boards/x64"
已覆寫預設值: false
board_description
與主機板名稱對應的人類可讀主機板說明。
target_cpu = "arm64" 的目前值: "A generic emulated arm64 device."
已覆寫預設值: ""
target_cpu = "riscv64" 的目前值: "A generic emulated riscv64 device."
已覆寫預設值: ""
target_cpu = "x64" 的目前值: "A generic x64 device"
已覆寫預設值: ""
board_is_emu
主機板是否支援模擬器裝置。這項設定會決定產品組合中繼資料是否應產生虛擬裝置規格,或兩者皆產生。
target_cpu = "arm64" 的目前值: true
已覆寫預設值: false
target_cpu = "riscv64" 的目前值: true
已覆寫預設值: false
target_cpu = "x64" 的目前值: true
已覆寫預設值: false
board_name
用於 Paving 和 Amber 更新的板名稱。
target_cpu = "arm64" 的目前值: "arm64"
已覆寫預設值: ""
target_cpu = "riscv64" 的目前值: "riscv64"
已覆寫預設值: ""
target_cpu = "x64" 的目前值: "x64"
已覆寫預設值: ""
board_tools
要納入建構輸出內容的板專屬工具路徑清單。
大多數開發人員工具都可以在樹狀結構內使用,不需要包含在這裡。這個引數僅適用於可能需要與建構檔案一起發布的工具,例如從 SoC 復原模式刷機的工具。
以這種方式納入的資產僅限於盡力而為,不會為封存檔使用者形成任何形式的穩定合約。
目前的值 (預設值): []
build_all_vp9_file_decoder_conformance_tests
目前的值 (預設值): false
來自 //src/media/codec/examples/BUILD.gn:11
build_id_format
用於 Fuchsia 目標程式碼的建構 ID 演算法。這不適用於主機或訪客程式碼。這個值是連結器 --build-id=... 切換鈕的引數。如果留空 (預設),則會使用連結器的預設格式。
目前的值 (預設值): ""
來自 //build/config/build_id.gni:10
build_info_board
目前建構作業的板設定
target_cpu = "arm64" 的目前值: "arm64"
來自 //out/not-default/args.gn:8
已覆寫預設值: "arm64"
target_cpu = "riscv64" 的目前值: "riscv64"
來自 //out/not-default/args.gn:8
已覆寫預設值: "riscv64"
target_cpu = "x64" 的目前值: "x64"
來自 //out/not-default/args.gn:8
已覆寫預設值: "x64"
build_info_product
LINT.IfChange 目前建構作業的產品設定
target_cpu = "arm64" 的目前值: "core"
來自 //out/not-default/args.gn:9
已覆寫預設值: ""
target_cpu = "riscv64" 的目前值: "minimal"
來自 //out/not-default/args.gn:9
已覆寫預設值: ""
target_cpu = "x64" 的目前值: "core"
來自 //out/not-default/args.gn:9
已覆寫預設值: ""
build_info_version
目前建構作業的邏輯版本。如未設定,則預設為最近一次更新的時間戳記。
目前的值 (預設值): ""
build_only_labels
這些標籤會透過「//:build_only」以遞移方式新增為「//:default」的依附元件。這些是用來新增需要建構,但不屬於任何產品、主機板等的目標。
如果子建構作業只想建構及定義樹狀結構的一小部分,也可以使用這些指令,做為「//:default」的替代方案。
target_cpu = "arm64" 的目前值: []
來自 //out/not-default/args.gn:13
已覆寫預設值: []
target_cpu = "riscv64" 的目前值: []
來自 //out/not-default/args.gn:13
已覆寫預設值: []
target_cpu = "x64" 的目前值: []
來自 //out/not-default/args.gn:13
已覆寫預設值: []
build_should_trace_actions
如果啟用,系統會追蹤動作的所有檔案系統活動,並根據宣告的輸入和輸出內容以及 depfile (如有) 進行檢查。如果動作存取未宣告的輸入或輸出內容,建構作業就會失敗。
目前的值 (預設值): false
來自 //build/tracer/tracer.gni:12
call_graph_section
是否在輸出檔案中發出呼叫圖區段 https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fexperimental-call-graph-section
目前的值 (預設值): true
來自 //build/config/clang/call_graph_section.gni:8
camera_debug
目前的值 (預設值): false
camera_gym_configuration_cycle_interval_ms
目前的值 (預設值): 10000
來自 //src/camera/bin/camera-gym/BUILD.gn:13
carnelian_static_images_extras
將此指向要納入為額外項目的外部圖片檔案位置
目前的值 (預設值): []
來自 //src/lib/ui/carnelian/BUILD.gn:12
carnelian_static_rives_extras
將此指向外部 Rive 檔案的位置,以便納入為額外項目
目前的值 (預設值): []
來自 //src/lib/ui/carnelian/BUILD.gn:15
carnelian_static_txts_extras
請將此指向要額外加入的外部 txt 檔案位置
目前的值 (預設值): []
來自 //src/lib/ui/carnelian/BUILD.gn:18
channel_message_body_tracing_enabled
在 IPC 追蹤記錄中加入部分管道訊息內文。# 這項功能僅供本機偵錯,不適用於正式環境。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:124
check_output_dir_leaks
如果啟用,請確認輸出目錄路徑不會洩漏到指令或任何輸出檔案中。這對遠端建構一致性和快取非常重要。
目前的值 (預設值): true
來自 //build/tracer/tracer.gni:21
check_repeatability
如果啟用,請執行每個受影響的操作兩次 (一次使用重新命名的輸出內容),並比較輸出內容的可重現性。
目前的值 (預設值): false
來自 //build/tracer/tracer.gni:16
check_vtables_in_rodata
確認 binaries.json 中列出的 Fuchsia 二進位檔中,所有 vtable 都在唯讀資料區段中。這項檢查會在完整建構作業結束時執行。
這項設定主要供 clang 初期測試建構工具使用。
目前的值 (預設值): false
chromium_build_dir
這個變數會指定完整的 Chromium 建構輸出目錄,例如 /home/$USER/chrome/src/out/fuchsia,系統會從中取得 web_engine。所有目標都必須存在於輸出目錄中。如未設定,系統會使用 CIPD 的預先建構套件。
目前的值 (預設值): ""
來自 //src/chromium/build_args.gni:11
cipd_assembly_artifact_targets
Targets to be traversed by //:cipd_assembly_artifacts for GN metadata only. 這些目標應在中繼資料中設定「assembly_inputs」,其中可包含 JSON 檔案,用於描述要上傳至 CPID 的構件。
注意:這些目標僅適用於 GN 中繼資料逐步操作。如果需要建構構件,則應透過其他方式將其納入建構圖。
目前的值 (預設值): ["//build/images:main_assembly"]
clang_embed_bitcode
將 LLVM 位元碼嵌入 ELF 檔案中的 .llvmbc 區段。這項功能主要用於使用位元碼進行分析的外部工具。
目前的值 (預設值): false
來自 //build/config/clang/clang.gni:12
clang_enable_error_reproducers
發生錯誤時啟用重現器。除了當機之外,這項功能也會在編譯器錯誤時提供類似當機的重現器。請注意,目前應該很少人會使用這個旗標,因為它依賴的功能尚未在預先建構的 clang 中。這項功能僅適用於 clang canary 建構工具,以及使用自訂 clang 的使用者。
目前的值 (預設值): false
來自 //build/config/clang/clang.gni:20
clang_ml_inliner
控管是否要在 Clang 中使用機器學習內嵌器來縮減大小。
目前的值 (預設值): true
來自 //build/config/clang/clang.gni:23
clang_prefix
預先建構提供的預設 clang 工具鍊。Go 工具鍊也會使用這個變數。LINT.IfChange
目前的值 (預設值): "//prebuilt/third_party/clang/linux-x64/bin"
來自 //build/config/clang/clang_prefix.gni:11
clang_tool_dir
Clang 工具鍊二進位檔 (「clang」、「llvm-nm」等) 所在的目錄。如果這是「」,則行為取決於 $clang_prefix。這個工具鍊應同時支援 Fuchsia 目標和主機。
目前的值 (預設值): ""
來自 //build/toolchain/zircon/clang.gni:11
clang_toolchain_info
包含目前 Clang 工具鍊相關資訊的範圍。請勿將其設為建構引數。
目前的值 (來自預設值):
{
aarch64_unknown_fuchsia = {
libclang_rt_profile_a = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.profile.a"
libunwind_so = "lib/aarch64-unknown-fuchsia/libunwind.so.1.0"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.lsan.a"
clang_rt_cxx = ""
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
aarch64_unknown_linux_gnu = {
libclang_rt_profile_a = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
armv7_unknown_linux_gnueabihf = {
libclang_rt_profile_a = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.hwasan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.hwasan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/armv7-unknown-linux-gnueabihf/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
fallback = {
libclang_rt_profile_a = ""
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = { }
}
riscv64_unknown_fuchsia = {
libclang_rt_profile_a = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.profile.a"
libunwind_so = "lib/riscv64-unknown-fuchsia/libunwind.so.1.0"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
riscv64_unknown_linux_gnu = {
libclang_rt_profile_a = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/riscv64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
runtimes = [{
cflags = []
ldflags = []
runtime = [{
breakpad = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.sym"
debug = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.debug"
dist = "aarch64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.sym"
debug = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.debug"
dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.sym"
debug = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.debug"
dist = "aarch64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.sym"
debug = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.sym"
debug = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.sym"
debug = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.sym"
debug = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.debug"
dist = "aarch64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.sym"
debug = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.sym"
debug = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.debug"
dist = "aarch64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.sym"
debug = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.debug"
dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.sym"
debug = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.debug"
dist = "aarch64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.sym"
debug = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
breakpad = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.sym"
debug = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.sym"
debug = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.sym"
debug = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = []
ldflags = ["-static-libstdc++"]
runtime = []
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.sym"
debug = "debug/.build-id/3d/cd4a0696538a0793ddb23f45ac47baf6c21564.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.sym"
debug = "debug/.build-id/12/08cb15312d180249bdb6012ead0864d3783786.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.sym"
debug = "debug/.build-id/5c/7a421f76c18c0e274d3629636a4867446b2898.debug"
dist = "aarch64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.sym"
debug = "debug/.build-id/94/bfe1a4a5b058593a446d217573e3949608a478.debug"
dist = "aarch64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.sym"
debug = "debug/.build-id/51/23a2051d3a8288441bb9329aa6b2eb00a40a94.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.sym"
debug = "debug/.build-id/21/5054d98211ce827f601b92cc8af21cf81ef25a.debug"
dist = "aarch64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.sym"
debug = "debug/.build-id/c0/281ec58ca29bb406e0da116e9796aa09468622.debug"
dist = "aarch64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.sym"
debug = "debug/.build-id/81/c2cc40414f986086b772bec78cb263380e88d5.debug"
dist = "aarch64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.sym"
debug = "debug/.build-id/96/a110c2aee4f613d7e36f7e3cdfca50b6ded518.debug"
dist = "clang/24/lib/aarch64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
breakpad = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.sym"
debug = "debug/.build-id/ed/a8b4e9524f5914dcb6b6fce0b0ec349d779466.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.sym"
debug = "debug/.build-id/42/e96bd4cca8d8a0034c6cef6d62d1506a8b533e.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.sym"
debug = "debug/.build-id/94/6112a7de9a73a63264dee867bd7eb8b263bb85.debug"
dist = "aarch64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["aarch64-unknown-fuchsia", "aarch64-fuchsia"]
}, {
cflags = []
ldflags = []
runtime = [{
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/d4/543e0d613d29fb6da69d24094d68c6af75a939.debug"
dist = "riscv64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = []
runtime = [{
debug = "debug/.build-id/52/6f9b59180aaf3d092b4441b145ff1408d81329.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
debug = "debug/.build-id/a4/6eb67351f1301859cd64dda4b62f1e61d91b0d.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/d1/5ee3f465371e696c6f82f7c1339a9797806126.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/a5/fef44be170726f450f137b629d8d78b397baef.debug"
dist = "riscv64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = []
runtime = [{
debug = "debug/.build-id/18/893fd84153684436cc423817d9f008da2f6382.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/d4/543e0d613d29fb6da69d24094d68c6af75a939.debug"
dist = "riscv64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = []
runtime = [{
debug = "debug/.build-id/c9/02badf5cfc0d6b0f3c3002d35f4c5248d2d59c.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/95/14b1660e3b2170310031d84f705eb72a9548cc.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = []
ldflags = ["-static-libstdc++"]
runtime = []
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = ["-static-libstdc++"]
runtime = [{
debug = "debug/.build-id/52/6f9b59180aaf3d092b4441b145ff1408d81329.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
debug = "debug/.build-id/a4/6eb67351f1301859cd64dda4b62f1e61d91b0d.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/d1/5ee3f465371e696c6f82f7c1339a9797806126.debug"
dist = "riscv64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/a5/fef44be170726f450f137b629d8d78b397baef.debug"
dist = "riscv64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = ["-static-libstdc++"]
runtime = [{
debug = "debug/.build-id/18/893fd84153684436cc423817d9f008da2f6382.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/d4/543e0d613d29fb6da69d24094d68c6af75a939.debug"
dist = "riscv64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = ["-fsanitize=hwaddress"]
ldflags = ["-static-libstdc++"]
runtime = [{
debug = "debug/.build-id/c9/02badf5cfc0d6b0f3c3002d35f4c5248d2d59c.debug"
dist = "clang/24/lib/riscv64-unknown-fuchsia/libclang_rt.hwasan.so"
soname = "libclang_rt.hwasan.so"
}, {
debug = "debug/.build-id/a1/e648641e00de37624d69c86ab3197217308b50.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
debug = "debug/.build-id/ce/182019ff0b8e32fd19c99f86c5e1336dead920.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
debug = "debug/.build-id/95/14b1660e3b2170310031d84f705eb72a9548cc.debug"
dist = "riscv64-unknown-fuchsia/hwasan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["riscv64-unknown-fuchsia", "riscv64-fuchsia"]
}, {
cflags = []
ldflags = []
runtime = [{
breakpad = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.sym"
debug = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.debug"
dist = "x86_64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.sym"
debug = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.debug"
dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.sym"
debug = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.debug"
dist = "x86_64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.sym"
debug = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.sym"
debug = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.sym"
debug = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.sym"
debug = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.debug"
dist = "x86_64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = []
runtime = [{
breakpad = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.sym"
debug = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.sym"
debug = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.debug"
dist = "x86_64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.sym"
debug = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.debug"
dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.sym"
debug = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.debug"
dist = "x86_64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = []
ldflags = ["-static-libstdc++"]
runtime = []
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=address"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.sym"
debug = "debug/.build-id/ed/305cad953b45484f1a1a7c6be6c36ad2482651.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
soname = "libclang_rt.asan.so"
}, {
breakpad = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.sym"
debug = "debug/.build-id/77/01a33706bea1907a74b8e10e0e0496fecf69eb.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.sym"
debug = "debug/.build-id/3a/1c5b18e94c76ffdbc345a1d6bb82a97b115ec0.debug"
dist = "x86_64-unknown-fuchsia/asan/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.sym"
debug = "debug/.build-id/56/32ae0454c067ba563fa4889a4cb8ac6d013242.debug"
dist = "x86_64-unknown-fuchsia/asan/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}, {
cflags = ["-fsanitize=undefined"]
ldflags = ["-static-libstdc++"]
runtime = [{
breakpad = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.sym"
debug = "debug/.build-id/de/722a9f163586a2df028773c173a956fbad40b7.debug"
dist = "clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
soname = "libclang_rt.ubsan_standalone.so"
}, {
breakpad = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.sym"
debug = "debug/.build-id/3c/b5e2fa04bb94868c16ecddf5b25221b3a6f511.debug"
dist = "x86_64-unknown-fuchsia/libc++.so.2"
name = "libc++"
soname = "libc++.so.2"
}, {
breakpad = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.sym"
debug = "debug/.build-id/93/6a9312b803d0a253f22aa3104195b89c5757de.debug"
dist = "x86_64-unknown-fuchsia/libc++abi.so.1"
name = "libc++abi"
soname = "libc++abi.so.1"
}, {
breakpad = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.sym"
debug = "debug/.build-id/f2/20a80f26908a14f709f486c87fc6ba31ed70b4.debug"
dist = "x86_64-unknown-fuchsia/libunwind.so.1"
name = "libunwind"
soname = "libunwind.so.1"
}]
target = ["x86_64-unknown-fuchsia", "x86_64-fuchsia"]
}]
x86_64_pc_windows_msvc = {
libclang_rt_profile_a = "../../../../out/not-default/libclang_rt.profile.lib"
libunwind_so = "../../../../out/not-default/libunwind.dll"
resource_dir = "lib/clang/24"
variants = { }
}
x86_64_unknown_fuchsia = {
libclang_rt_profile_a = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.profile.a"
libunwind_so = "lib/x86_64-unknown-fuchsia/libunwind.so.1.0"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.so"
}
static = {
clang_rt = "../../../../out/not-default/libclang_rt.tsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
x86_64_unknown_linux_gnu = {
libclang_rt_profile_a = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a"
libunwind_so = "../../../../out/not-default/libunwind.so"
resource_dir = "lib/clang/24"
variants = {
asan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.asan_cxx.a"
}
}
hwasan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan_cxx.a"
}
}
lsan = {
shared = {
clang_rt = "../../../../out/not-default/libclang_rt.lsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.lsan.a"
clang_rt_cxx = "../../../../out/not-default/libclang_rt.lsan_cxx.a"
}
}
tsan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan_cxx.a"
}
}
ubsan = {
shared = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so"
}
static = {
clang_rt = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a"
clang_rt_cxx = "lib/clang/24/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a"
}
}
}
}
}
來自 //build/config/clang/clang_toolchain_info.gni:42
clippy_cause_failure
如果發現任何「deny」lint,Clippy 目標就會建構失敗
目前的值 (預設值): true
clippy_force_warn_all
強制將所有 clippy lint 的 lint 層級設為「warn」。注意:這會覆寫來源屬性和預設 lint 層級,且只能用於收集來源樹狀結構中 clippy lint 的統計資料。
目前的值 (預設值): false
clippy_ignore_rustc
根據預設,建構 clippy 目標會輸出 lint,以及透過檢查建構 crate 發出的任何 rustc 診斷。這個旗標會讓建構作業的輸出內容只包含 Lint,避免重複 rustc 的診斷結果 (實際目標建構完成時會發出)。請注意,fx clippy 仍會與 clippy lint 一起發出 rustc 診斷,只是不會顯示在 ninja 的 stderr 中
目前的值 (預設值): false
來自 //build/rust/config.gni:102
clippy_warn_all
將所有 clippy lint 的 lint 層級設為「warn」。注意:在原始碼中設定 lint 層級的優先順序高於這項設定。
目前的值 (預設值): false
cobalt_environment
選取要傳送資料的 Cobalt 環境。選項: 「LOCAL」- 將記錄資料儲存至本機檔案 「DEVEL」- 用於測試的非正式環境 「PROD」- 正式環境 false - 使用組件提供的預設環境
目前的值 (預設值): false
來自 //src/cobalt/bin/app/BUILD.gn:16
comparison_diagnostics_dir
如果任何 {Rust,C++} {determinism,consistency} 檢查失敗,請將構件的差異配對複製到這個目錄,以便從基礎架構建構作業匯出,並在日後檢查。
目前的值 (預設值): "//out/not-default/comparison-reports"
compilation_mode
要使用的整體編譯模式。有效值如下:
* debug:適用於已啟用偵錯功能的版本。balanced:進行部分最佳化,但優先考量編譯速度,而非執行階段效能。release:所有最佳化,用於產品發布版。* sanitizer:適用於經過 Sanitizer 檢測的建構。LINT.IfChange
target_cpu = "arm64" 的目前值: "release"
來自 //out/not-default/args.gn:5
已覆寫預設值: "balanced"
來自 //build/config/compilation_modes.gni:20
target_cpu = "riscv64" 的目前值: "release"
來自 //out/not-default/args.gn:5
已覆寫預設值: "balanced"
來自 //build/config/compilation_modes.gni:20
target_cpu = "x64" 的目前值: "release"
來自 //out/not-default/args.gn:5
已覆寫預設值: "balanced"
來自 //build/config/compilation_modes.gni:20
compilation_settings_overrides
編譯模式的覆寫設定。這是一組變數的覆寫值,其預設值由所選編譯模式 (上方) 設定。* optimize:要使用的最佳化模式。有效值如下:
* none:完全未最佳化,通常只經過建構測試,未執行
* debug:「針對偵錯進行最佳化」,輕量化以避免混淆
* moderate:中等最佳化等級 (clang 的預設 -O2)
* size:針對空間進行最佳化,而非單純針對速度
* size_thinlto:針對空間進行最佳化,並使用 Thin LTO
* size_lto:針對空間進行最佳化,並使用 LTO
* speed:單純針對速度進行最佳化
* sanitizer:針對清理工具 (ASan 等) 進行最佳化* profile:針對涵蓋率/設定檔資料收集進行最佳化
* coverage:針對涵蓋率資料收集進行最佳化
目前的值 (預設值): { }
來自 //build/config/compilation_modes.gni:39
compress_debuginfo
LINT.IfChange(compress_debuginfo) 啟用偵錯區段壓縮功能。
目前的值 (預設值): "zstd"
來自 //build/config/compiler.gni:129
config_example_cpp_greeting
在 args.gn 中設定此值,即可覆寫這個範例發出的問候語。
目前的值 (預設值): "World"
來自 //examples/components/config/cpp/BUILD.gn:10
config_example_rust_greeting
在 args.gn 中設定此值,即可覆寫這個範例發出的問候語。
目前的值 (預設值): "World"
來自 //examples/components/config/rust/BUILD.gn:11
config_have_heap
指示 openweave 納入需要堆積存取權的檔案。
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:32
console_enable_history
控管 Zircon 核心控制台是否編譯指令記錄儲存空間和殼層導覽功能。預設為 true,但可依個別建構作業停用。
目前的值 (預設值): true
來自 //zircon/kernel/lib/console/config.gni:11
crash_diagnostics_dir
Clang 當機報告目錄路徑。如要完全停用,請將路徑留空。
目前的值 (預設值): "//out/not-default/clang-crashreports"
來自 //build/config/clang/crash_diagnostics.gni:7
crashpad_dependencies
目前的值 (預設值): "fuchsia"
來自 //third_party/crashpad/src/build/crashpad_buildconfig.gni:22
crashpad_http_transport_impl
目前的值 (預設值): "socket"
來自 //third_party/crashpad/src/util/net/tls.gni:19
crashpad_use_boringssl_for_http_transport_socket
目前的值 (預設值): true
來自 //third_party/crashpad/src/util/net/tls.gni:30
ctf_api_level
目前的值 (預設值): "NEXT"
來自 //sdk/ctf/build/ctf_api_level.gni:6
ctf_output_directory
目前的值 (預設值): "frozen-ctf-artifacts-subbuild"
來自 //sdk/ctf/build/ctf_output_directory.gni:6
current_build_target_api_level
目前版本或子版本的目標 API 級別。
預設值為「PLATFORM」,對應至主要平台建構。
其他有效值包括「NEXT」、「HEAD」,或代表正整數的十進位字串,對應目前支援 (未淘汰) 的 API 級別。
只有在 IDK 子建構作業設定窄 GN 圖時,才應將這個值設為「PLATFORM」以外的值。請參閱 //sdk/working_with_subbuilds.md。 如果設為非預設值,該圖表以外的目標可能會失敗。
這個引數用於為 IDK 產生構件的範本。不建議用於其他用途,包括個別目標定義,且 IDK atom 目標定義不得使用這個 GN 引數。詳情請參閱 https://fxbug.dev/448185526。
目前的值 (預設值): "PLATFORM"
來自 //build/config/fuchsia/target_api_level.gni:22
current_cpu
目前的值 (預設值): ""
current_os
目前的值 (預設值): ""
custom_vulkan_loader_library_name
目前的值 (預設值): ""
來自 //third_party/Vulkan-Loader/src/BUILD.gn:20
cxx_rbe_check
執行較耗費資源的檢查,適用於 CI。上述所有項目都需要 cxx_rbe_enable=true。
下列其中一項:
「none」:不進行額外檢查。
"determinism": 在本機執行兩次並比較輸出內容,檢查 C++ 目標的確定性,如果發現任何差異,則會失敗。 雖然這項檢查不涉及 RBE,但會使用相同的包裝函式指令碼,該指令碼知道要預期和比較哪些輸出檔案。
不建議建構依賴時間的輸出內容,因為這會影響快取。已知的錯誤預先處理巨集包括 DATE 和 TIME。
"consistency": 執行本機和遠端 C++ 編譯作業並比較結果, 檢查兩者之間的一致性。
目前的值 (預設值): "none"
來自 //build/toolchain/rbe.gni:214
cxx_rbe_download_obj_files
控制是否下載中繼 .o 檔案。 停用下載功能時,建構作業會產生虛設常式,以便日後使用 build/rbe/dlwrap.py 擷取遠端構件。TODO(b/284994230): This option is only available to developers, and not restricted environments that lack direct network access.
目前的值 (預設值): true
cxx_rbe_enable
設為 true,即可使用 RBE 啟用 C++ 分散式編譯。遠端執行可提高建構平行處理和快取。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:164
cxx_rbe_exec_strategy
下列其中一項:
「remote」:在快取失敗時從遠端執行動作。遠端快取一律會更新為這個結果。
"local":在遠端快取中查詢動作,但如果快取失敗,則在本機執行動作。本機產生的結果不會上傳至遠端快取。
"remote_local_fallback":先從遠端執行動作。如果失敗,請改在本機執行。在本機產生的結果不會上傳至遠端快取。
「racing」:同時在本機和遠端執行,以最先完成的結果為準。
「nocache」:強制執行遠端作業,不使用快取結果。這項功能可用於快取失敗情境的基準測試。
(還有其他未公開的 rewrapper 選項)。
目前的值 (預設值): "remote_local_fallback"
cxx_rbe_full_toolchain
reclient 擁有決定遠端編譯所需輸入內容的邏輯,但在某些情況下,可能會落後於上游工具鍊開發。這個選項會強制將「整個」工具鍊目錄納入輸入內容,這通常能保證運作,因為它不假設工具鍊的運作方式,但會造成效能負擔。這項功能主要用於偵錯,以及做為緊急應變措施。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:224
cxx_rbe_minimalist_wrapper
設為 true 即可使用快速、精簡的包裝函式,該函式不具備 Python 包裝函式的功能,且接近對 rewrapper 的裸呼叫。只有在 cxx_rbe_enable 為 true 時,這個旗標才有意義。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:169
data_filesystem_format
設為「minfs」、「fxfs」或「f2fs」。如果設為「minfs」以外的值,任何現有的 minfs 分區都會在 fshost 掛接時,就地遷移至指定格式。
目前的值 (預設值): "fxfs"
來自 //src/storage/fshost/generated_fshost_config.gni:12
debuginfo
none表示沒有偵錯資訊backtrace表示有足夠的偵錯資訊可符號化回溯debug表示適合偵錯的偵錯資訊
目前的值 (預設值): "debug"
來自 //build/config/compiler.gni:88
default_configs
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:34
default_public_deps
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:35
default_test_durations_file
這個檔案包含所有建構設定的預設歷來測試時間長度資料,如果 test_durations_file 缺少個別測試,就會使用這個檔案做為備用。
目前的值 (預設值): ""
delivery_blob_type
控管 pkg-resolver 擷取及 blobfs 接受的傳送 blob 類型。如要查看支援的類型,請前往 //src/storage/blobfs/delivery_blob.h 有效值為整數,例如:1 這個引數僅供本機開發人員使用,產品不應設定這個引數。
目前的值 (預設值): 1
deny_warnings
控制是否將警告升級為錯誤。
目前的值 (預設值): true
developer_test_labels
僅限開發人員使用的引數,用於將測試新增至建構作業,而不必經過上述測試集的測試類型驗證。這些一律是主要產品組件的依附元件。
目前的值 (預設值): []
dir_docker
目前的值 (預設值): "//third_party/pigweed/src/docker"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:30
dir_pigweed
Pigweed 存放區的位置。
目前的值 (預設值): "//third_party/pigweed/src"
來自 //build_overrides/pigweed.gni:11
dir_pw_alignment
目前的值 (預設值): "//third_party/pigweed/src/pw_alignment"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:31
dir_pw_allocator
目前的值 (預設值): "//third_party/pigweed/src/pw_allocator"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:32
dir_pw_allocator_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_allocator_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:33
dir_pw_analog
目前的值 (預設值): "//third_party/pigweed/src/pw_analog"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:34
dir_pw_android_toolchain
目前的值 (預設值): "//third_party/pigweed/src/pw_android_toolchain"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:35
dir_pw_arduino_build
目前的值 (預設值): "//third_party/pigweed/src/pw_arduino_build"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:36
dir_pw_assert
目前的值 (預設值): "//third_party/pigweed/src/pw_assert"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:37
dir_pw_assert_basic
目前的值 (預設值): "//third_party/pigweed/src/pw_assert_basic"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:38
dir_pw_assert_fuchsia
目前的值 (預設值): "//third_party/pigweed/src/pw_assert_fuchsia"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:39
dir_pw_assert_log
目前的值 (預設值): "//third_party/pigweed/src/pw_assert_log"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:40
dir_pw_assert_tokenized
目前的值 (預設值): "//third_party/pigweed/src/pw_assert_tokenized"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:41
dir_pw_assert_trap
目前的值 (預設值): "//third_party/pigweed/src/pw_assert_trap"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:42
dir_pw_assert_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_assert_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:43
dir_pw_async
目前的值 (預設值): "//third_party/pigweed/src/pw_async"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:44
dir_pw_async2
目前的值 (預設值): "//third_party/pigweed/src/pw_async2"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:45
dir_pw_async_basic
目前的值 (預設值): "//third_party/pigweed/src/pw_async_basic"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:46
dir_pw_async_fuchsia
目前的值 (預設值): "//third_party/pigweed/src/pw_async_fuchsia"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:47
dir_pw_atomic
目前的值 (預設值): "//third_party/pigweed/src/pw_atomic"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:48
dir_pw_base64
目前的值 (預設值): "//third_party/pigweed/src/pw_base64"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:49
dir_pw_bloat
目前的值 (預設值): "//third_party/pigweed/src/pw_bloat"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:50
dir_pw_blob_store
目前的值 (預設值): "//third_party/pigweed/src/pw_blob_store"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:51
dir_pw_bluetooth
目前的值 (預設值): "//third_party/pigweed/src/pw_bluetooth"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:52
dir_pw_bluetooth_hci
目前的值 (預設值): "//third_party/pigweed/src/pw_bluetooth_hci"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:53
dir_pw_bluetooth_profiles
目前的值 (預設值): "//third_party/pigweed/src/pw_bluetooth_profiles"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:55
dir_pw_bluetooth_proxy
目前的值 (預設值): "//third_party/pigweed/src/pw_bluetooth_proxy"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:56
dir_pw_bluetooth_sapphire
目前的值 (預設值): "//third_party/pigweed/src/pw_bluetooth_sapphire"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:58
dir_pw_boot
目前的值 (預設值): "//third_party/pigweed/src/pw_boot"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:59
dir_pw_boot_cortex_m
目前的值 (預設值): "//third_party/pigweed/src/pw_boot_cortex_m"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:60
dir_pw_buf
目前的值 (預設值): "//third_party/pigweed/src/pw_buf"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:61
dir_pw_build
目前的值 (預設值): "//third_party/pigweed/src/pw_build"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:62
dir_pw_build_android
目前的值 (預設值): "//third_party/pigweed/src/pw_build_android"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:63
dir_pw_build_info
目前的值 (預設值): "//third_party/pigweed/src/pw_build_info"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:64
dir_pw_build_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_build_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:65
dir_pw_bytes
目前的值 (預設值): "//third_party/pigweed/src/pw_bytes"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:66
dir_pw_change
目前的值 (預設值): "//third_party/pigweed/src/pw_change"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:67
dir_pw_channel
目前的值 (預設值): "//third_party/pigweed/src/pw_channel"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:68
dir_pw_checksum
目前的值 (預設值): "//third_party/pigweed/src/pw_checksum"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:69
dir_pw_chre
目前的值 (預設值): "//third_party/pigweed/src/pw_chre"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:70
dir_pw_chrono
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:71
dir_pw_chrono_embos
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono_embos"
From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:72
dir_pw_chrono_freertos
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono_freertos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:73
dir_pw_chrono_rp2040
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono_rp2040"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:74
dir_pw_chrono_stl
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono_stl"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:75
dir_pw_chrono_threadx
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono_threadx"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:76
dir_pw_chrono_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_chrono_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:77
dir_pw_cli
目前的值 (預設值): "//third_party/pigweed/src/pw_cli"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:78
dir_pw_cli_analytics
目前的值 (預設值): "//third_party/pigweed/src/pw_cli_analytics"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:79
dir_pw_clock_tree
目前的值 (預設值): "//third_party/pigweed/src/pw_clock_tree"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:80
dir_pw_clock_tree_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_clock_tree_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:82
dir_pw_compilation_testing
目前的值 (預設值): "//third_party/pigweed/src/pw_compilation_testing"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:84
dir_pw_config_loader
目前的值 (預設值): "//third_party/pigweed/src/pw_config_loader"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:85
dir_pw_console
目前的值 (預設值): "//third_party/pigweed/src/pw_console"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:86
dir_pw_containers
目前的值 (預設值): "//third_party/pigweed/src/pw_containers"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:87
dir_pw_cpu_exception
目前的值 (預設值): "//third_party/pigweed/src/pw_cpu_exception"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:88
dir_pw_cpu_exception_cortex_m
目前的值 (預設值): "//third_party/pigweed/src/pw_cpu_exception_cortex_m"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:90
dir_pw_cpu_exception_risc_v
目前的值 (預設值): "//third_party/pigweed/src/pw_cpu_exception_risc_v"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:92
dir_pw_crypto
目前的值 (預設值): "//third_party/pigweed/src/pw_crypto"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:93
dir_pw_digital_io
目前的值 (預設值): "//third_party/pigweed/src/pw_digital_io"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:94
dir_pw_digital_io_linux
目前的值 (預設值): "//third_party/pigweed/src/pw_digital_io_linux"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:95
dir_pw_digital_io_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_digital_io_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:97
dir_pw_digital_io_rp2040
目前的值 (預設值): "//third_party/pigweed/src/pw_digital_io_rp2040"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:98
dir_pw_digital_io_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_digital_io_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:99
dir_pw_display
目前的值 (預設值): "//third_party/pigweed/src/pw_display"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:100
dir_pw_dma_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_dma_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:101
dir_pw_docgen
目前的值 (預設值): "//third_party/pigweed/src/pw_docgen"
From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:102
dir_pw_doctor
目前的值 (預設值): "//third_party/pigweed/src/pw_doctor"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:103
dir_pw_elf
目前的值 (預設值): "//third_party/pigweed/src/pw_elf"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:104
dir_pw_emu
目前的值 (預設值): "//third_party/pigweed/src/pw_emu"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:105
dir_pw_enum
目前的值 (預設值): "//third_party/pigweed/src/pw_enum"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:106
dir_pw_env_setup
目前的值 (預設值): "//third_party/pigweed/src/pw_env_setup"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:107
dir_pw_env_setup_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_env_setup_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:108
dir_pw_file
目前的值 (預設值): "//third_party/pigweed/src/pw_file"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:109
dir_pw_flatbuffers
目前的值 (預設值): "//third_party/pigweed/src/pw_flatbuffers"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:110
dir_pw_format
目前的值 (預設值): "//third_party/pigweed/src/pw_format"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:111
dir_pw_fortifier
目前的值 (預設值): "//third_party/pigweed/src/pw_fortifier"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:112
dir_pw_function
目前的值 (預設值): "//third_party/pigweed/src/pw_function"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:113
dir_pw_fuzzer
目前的值 (預設值): "//third_party/pigweed/src/pw_fuzzer"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:114
dir_pw_ghish
目前的值 (預設值): "//third_party/pigweed/src/pw_ghish"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:115
dir_pw_grpc
目前的值 (預設值): "//third_party/pigweed/src/pw_grpc"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:116
dir_pw_hal
目前的值 (預設值): "//third_party/pigweed/src/pw_hal"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:117
dir_pw_hdlc
目前的值 (預設值): "//third_party/pigweed/src/pw_hdlc"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:118
dir_pw_hex_dump
目前的值 (預設值): "//third_party/pigweed/src/pw_hex_dump"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:119
dir_pw_hil
目前的值 (預設值): "//third_party/pigweed/src/pw_hil"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:120
dir_pw_i2c
目前的值 (預設值): "//third_party/pigweed/src/pw_i2c"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:121
dir_pw_i2c_linux
目前的值 (預設值): "//third_party/pigweed/src/pw_i2c_linux"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:122
dir_pw_i2c_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_i2c_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:123
dir_pw_i2c_rp2040
目前的值 (預設值): "//third_party/pigweed/src/pw_i2c_rp2040"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:124
dir_pw_i2c_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_i2c_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:125
dir_pw_ide
目前的值 (預設值): "//third_party/pigweed/src/pw_ide"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:126
dir_pw_interrupt
目前的值 (預設值): "//third_party/pigweed/src/pw_interrupt"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:127
dir_pw_interrupt_cortex_m
目前的值 (預設值): "//third_party/pigweed/src/pw_interrupt_cortex_m"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:129
dir_pw_interrupt_freertos
目前的值 (預設值): "//third_party/pigweed/src/pw_interrupt_freertos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:131
dir_pw_interrupt_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_interrupt_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:132
dir_pw_intrusive_ptr
目前的值 (預設值): "//third_party/pigweed/src/pw_intrusive_ptr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:133
dir_pw_json
目前的值 (預設值): "//third_party/pigweed/src/pw_json"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:134
dir_pw_kernel
目前的值 (預設值): "//third_party/pigweed/src/pw_kernel"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:135
dir_pw_kvs
目前的值 (預設值): "//third_party/pigweed/src/pw_kvs"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:136
dir_pw_libc
目前的值 (預設值): "//third_party/pigweed/src/pw_libc"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:137
dir_pw_libcxx
目前的值 (預設值): "//third_party/pigweed/src/pw_libcxx"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:138
dir_pw_log
目前的值 (預設值): "//third_party/pigweed/src/pw_log"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:139
dir_pw_log_android
目前的值 (預設值): "//third_party/pigweed/src/pw_log_android"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:140
dir_pw_log_basic
目前的值 (預設值): "//third_party/pigweed/src/pw_log_basic"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:141
dir_pw_log_fuchsia
目前的值 (預設值): "//third_party/pigweed/src/pw_log_fuchsia"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:142
dir_pw_log_null
目前的值 (預設值): "//third_party/pigweed/src/pw_log_null"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:143
dir_pw_log_rpc
目前的值 (預設值): "//third_party/pigweed/src/pw_log_rpc"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:144
dir_pw_log_string
目前的值 (預設值): "//third_party/pigweed/src/pw_log_string"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:145
dir_pw_log_tokenized
目前的值 (預設值): "//third_party/pigweed/src/pw_log_tokenized"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:146
dir_pw_log_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_log_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:147
dir_pw_malloc
目前的值 (預設值): "//third_party/pigweed/src/pw_malloc"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:148
dir_pw_malloc_freelist
目前的值 (預設值): "//third_party/pigweed/src/pw_malloc_freelist"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:149
dir_pw_malloc_freertos
目前的值 (預設值): "//third_party/pigweed/src/pw_malloc_freertos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:150
dir_pw_memory
目前的值 (預設值): "//third_party/pigweed/src/pw_memory"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:151
dir_pw_metric
目前的值 (預設值): "//third_party/pigweed/src/pw_metric"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:152
dir_pw_module
目前的值 (預設值): "//third_party/pigweed/src/pw_module"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:153
dir_pw_multibuf
目前的值 (預設值): "//third_party/pigweed/src/pw_multibuf"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:154
dir_pw_multisink
目前的值 (預設值): "//third_party/pigweed/src/pw_multisink"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:155
dir_pw_numeric
目前的值 (預設值): "//third_party/pigweed/src/pw_numeric"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:156
dir_pw_package
目前的值 (預設值): "//third_party/pigweed/src/pw_package"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:157
dir_pw_perf_test
目前的值 (預設值): "//third_party/pigweed/src/pw_perf_test"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:158
dir_pw_persistent_ram
目前的值 (預設值): "//third_party/pigweed/src/pw_persistent_ram"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:159
dir_pw_polyfill
目前的值 (預設值): "//third_party/pigweed/src/pw_polyfill"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:160
dir_pw_preprocessor
目前的值 (預設值): "//third_party/pigweed/src/pw_preprocessor"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:161
dir_pw_presubmit
目前的值 (預設值): "//third_party/pigweed/src/pw_presubmit"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:162
dir_pw_protobuf
目前的值 (預設值): "//third_party/pigweed/src/pw_protobuf"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:163
dir_pw_protobuf_compiler
目前的值 (預設值): "//third_party/pigweed/src/pw_protobuf_compiler"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:164
dir_pw_random
目前的值 (預設值): "//third_party/pigweed/src/pw_random"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:165
dir_pw_random_fuchsia
目前的值 (預設值): "//third_party/pigweed/src/pw_random_fuchsia"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:166
dir_pw_result
目前的值 (預設值): "//third_party/pigweed/src/pw_result"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:167
dir_pw_ring_buffer
目前的值 (預設值): "//third_party/pigweed/src/pw_ring_buffer"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:168
dir_pw_router
目前的值 (預設值): "//third_party/pigweed/src/pw_router"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:169
dir_pw_rpc
目前的值 (預設值): "//third_party/pigweed/src/pw_rpc"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:170
dir_pw_rpc2
目前的值 (預設值): "//third_party/pigweed/src/pw_rpc2"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:171
dir_pw_rpc_transport
目前的值 (預設值): "//third_party/pigweed/src/pw_rpc_transport"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:172
dir_pw_rust
目前的值 (預設值): "//third_party/pigweed/src/pw_rust"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:173
dir_pw_sensor
目前的值 (預設值): "//third_party/pigweed/src/pw_sensor"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:174
dir_pw_snapshot
目前的值 (預設值): "//third_party/pigweed/src/pw_snapshot"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:175
dir_pw_software_update
目前的值 (預設值): "//third_party/pigweed/src/pw_software_update"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:176
dir_pw_span
目前的值 (預設值): "//third_party/pigweed/src/pw_span"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:177
dir_pw_spi
目前的值 (預設值): "//third_party/pigweed/src/pw_spi"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:178
dir_pw_spi_linux
目前的值 (預設值): "//third_party/pigweed/src/pw_spi_linux"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:179
dir_pw_spi_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_spi_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:180
dir_pw_spi_rp2040
目前的值 (預設值): "//third_party/pigweed/src/pw_spi_rp2040"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:181
dir_pw_spi_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_spi_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:182
dir_pw_status
目前的值 (預設值): "//third_party/pigweed/src/pw_status"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:183
dir_pw_stm32cube_build
目前的值 (預設值): "//third_party/pigweed/src/pw_stm32cube_build"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:184
dir_pw_stream
目前的值 (預設值): "//third_party/pigweed/src/pw_stream"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:185
dir_pw_stream_uart_linux
目前的值 (預設值): "//third_party/pigweed/src/pw_stream_uart_linux"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:186
dir_pw_stream_uart_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_stream_uart_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:188
dir_pw_string
目前的值 (預設值): "//third_party/pigweed/src/pw_string"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:189
dir_pw_symbolizer
目前的值 (預設值): "//third_party/pigweed/src/pw_symbolizer"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:190
dir_pw_sync
目前的值 (預設值): "//third_party/pigweed/src/pw_sync"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:191
dir_pw_sync_baremetal
目前的值 (預設值): "//third_party/pigweed/src/pw_sync_baremetal"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:192
dir_pw_sync_embos
目前的值 (預設值): "//third_party/pigweed/src/pw_sync_embos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:193
dir_pw_sync_freertos
目前的值 (預設值): "//third_party/pigweed/src/pw_sync_freertos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:194
dir_pw_sync_stl
目前的值 (預設值): "//third_party/pigweed/src/pw_sync_stl"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:195
dir_pw_sync_threadx
目前的值 (預設值): "//third_party/pigweed/src/pw_sync_threadx"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:196
dir_pw_sync_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_sync_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:197
dir_pw_sys_io
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:198
dir_pw_sys_io_ambiq_sdk
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_ambiq_sdk"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:199
dir_pw_sys_io_arduino
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_arduino"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:200
dir_pw_sys_io_baremetal_lm3s6965evb
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:202
dir_pw_sys_io_baremetal_stm32f429
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:204
dir_pw_sys_io_emcraft_sf2
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_emcraft_sf2"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:206
dir_pw_sys_io_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:207
dir_pw_sys_io_rp2040
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_rp2040"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:208
dir_pw_sys_io_stdio
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_stdio"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:209
dir_pw_sys_io_stm32cube
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_stm32cube"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:210
dir_pw_sys_io_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_sys_io_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:211
dir_pw_system
目前的值 (預設值): "//third_party/pigweed/src/pw_system"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:212
dir_pw_target_runner
目前的值 (預設值): "//third_party/pigweed/src/pw_target_runner"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:213
dir_pw_third_party
保留此欄位是為了回溯相容性。建議改用 pwexternal* 變數。
目前的值 (預設值): "//third_party/pigweed/src/third_party"
來自 //third_party/pigweed/src/modules.gni:27
dir_pw_third_party_boringssl
如果使用 boringssl 編譯後端,這個變數會設為 boringssl 原始碼的路徑。設定後,系統會在「$pw_external_boringssl」建立 boringssl 程式庫的 pw_source_set。
目前的值 (預設值): ""
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:143
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/chre/chre.gni:19
target_cpu = "riscv64" 的目前值: "//third_party/chre/src"
From //.gn:143
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/chre/chre.gni:19
target_cpu = "x64" 的目前值: "//third_party/chre/src"
From //.gn:143
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/chre/chre.gni:19
dir_pw_third_party_emboss
如果使用 Emboss 編譯,這個變數會設為 Emboss 原始碼的路徑。
target_cpu = "arm64" 的目前值: "//third_party/github.com/google/emboss/src"
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:20
target_cpu = "riscv64" 的目前值: "//third_party/github.com/google/emboss/src"
來自 //.gn:110
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:20
target_cpu = "x64" 的目前值: "//third_party/github.com/google/emboss/src"
來自 //.gn:110
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:20
dir_pw_third_party_fuchsia
Pigweed 建構作業中使用的 Fuchsia 來源路徑。預設為 Pigweed 鏡像,其中包含 Pigweed 使用的少數 Fuchsia 來源檔案。
target_cpu = "arm64" 的目前值: "//"
From //.gn:104
已覆寫預設值: "//third_party/pigweed/src/third_party/fuchsia/repo"
來自 //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20
target_cpu = "riscv64" 的目前值: "//"
From //.gn:104
已覆寫預設值: "//third_party/pigweed/src/third_party/fuchsia/repo"
來自 //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20
target_cpu = "x64" 的目前值: "//"
From //.gn:104
已覆寫預設值: "//third_party/pigweed/src/third_party/fuchsia/repo"
來自 //third_party/pigweed/src/third_party/fuchsia/fuchsia.gni:20
dir_pw_third_party_googletest
如果使用 googletest 編譯測試,這個變數會設為 googletest 安裝路徑。設定後,系統會在「$pw_external_googletest」建立 googletest 程式庫的 pw_source_set。與 pw_third_party_googletest_ALIAS 定義不相容。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/third_party/googletest/googletest.gni:20
dir_pw_third_party_mbedtls
目前的值 (預設值): ""
來自 //third_party/pigweed/src/third_party/mbedtls/mbedtls.gni:31
dir_pw_third_party_nanopb
如果為 nanopb 編譯 proto,這個變數會設為 nanopb 安裝路徑。設定後,系統會在「$pw_external_nanopb」建立 nanopb 程式庫的 pw_source_set。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/third_party/nanopb/nanopb.gni:22
dir_pw_third_party_protobuf
如果編譯使用 libprotobuf 的主機工具,這個變數會設為 protobuf 安裝路徑。設定後,系統會在「$pw_external_protobuf」建立 protobuf 程式庫的 pw_source_set。
target_cpu = "arm64" 的目前值: "//third_party/protobuf/src"
來自 //.gn:131
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/protobuf/protobuf.gni:19
target_cpu = "riscv64" 的目前值: "//third_party/protobuf/src"
From //.gn:131
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/protobuf/protobuf.gni:19
target_cpu = "x64" 的目前值: "//third_party/protobuf/src"
來自 //.gn:131
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/protobuf/protobuf.gni:19
dir_pw_thread
目前的值 (預設值): "//third_party/pigweed/src/pw_thread"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:214
dir_pw_thread_embos
目前的值 (預設值): "//third_party/pigweed/src/pw_thread_embos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:215
dir_pw_thread_freertos
目前的值 (預設值): "//third_party/pigweed/src/pw_thread_freertos"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:216
dir_pw_thread_stl
目前的值 (預設值): "//third_party/pigweed/src/pw_thread_stl"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:217
dir_pw_thread_threadx
目前的值 (預設值): "//third_party/pigweed/src/pw_thread_threadx"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:218
dir_pw_thread_zephyr
目前的值 (預設值): "//third_party/pigweed/src/pw_thread_zephyr"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:219
dir_pw_time
目前的值 (預設值): "//third_party/pigweed/src/pw_time"
From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:220
dir_pw_tls_client
目前的值 (預設值): "//third_party/pigweed/src/pw_tls_client"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:221
dir_pw_tls_client_boringssl
目前的值 (預設值): "//third_party/pigweed/src/pw_tls_client_boringssl"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:223
dir_pw_tls_client_mbedtls
目前的值 (預設值): "//third_party/pigweed/src/pw_tls_client_mbedtls"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:225
dir_pw_tokenizer
目前的值 (預設值): "//third_party/pigweed/src/pw_tokenizer"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:226
dir_pw_toolchain
目前的值 (預設值): "//third_party/pigweed/src/pw_toolchain"
From //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:227
dir_pw_trace
目前的值 (預設值): "//third_party/pigweed/src/pw_trace"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:228
dir_pw_trace_tokenized
目前的值 (預設值): "//third_party/pigweed/src/pw_trace_tokenized"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:229
dir_pw_transfer
目前的值 (預設值): "//third_party/pigweed/src/pw_transfer"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:230
dir_pw_transport
目前的值 (預設值): "//third_party/pigweed/src/pw_transport"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:231
dir_pw_uart
目前的值 (預設值): "//third_party/pigweed/src/pw_uart"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:232
dir_pw_uart_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/pw_uart_mcuxpresso"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:233
dir_pw_unit_test
目前的值 (預設值): "//third_party/pigweed/src/pw_unit_test"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:234
dir_pw_uuid
目前的值 (預設值): "//third_party/pigweed/src/pw_uuid"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:235
dir_pw_varint
目前的值 (預設值): "//third_party/pigweed/src/pw_varint"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:236
dir_pw_watch
目前的值 (預設值): "//third_party/pigweed/src/pw_watch"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:237
dir_pw_web
目前的值 (預設值): "//third_party/pigweed/src/pw_web"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:238
dir_pw_work_queue
目前的值 (預設值): "//third_party/pigweed/src/pw_work_queue"
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:239
disable_boot_tests
產生的 boot_test() 的 disabled 參數預設值。TODO(https://fxbug.dev/320511796): Cleanup when no longer necessary.
目前的值 (預設值): false
來自 //build/testing/boot_tests/boot_test.gni:16
disable_xattr_for_rbe
根據預設,我們的 RBE 包裝函式會將遠端動作輸出的摘要記錄在 xattr 中,以免工具重新雜湊這些檔案。在無法使用 xattr 的情況下 (例如 FUSE 限制),請將這個值設為 True,停用 xattr。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:37
discoverable_package_labels
如果將套件標籤新增至這個變數,套件就會納入「可探索」套件組合,如 RFC-0212「套件組合」所定義:https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0212_package_sets
這些項目會經過編譯並發布,但不會新增為組合映像檔的依附元件,因此無法將項目加入舊版套件。
由於這些引數無法成為產品舊版 AIB 的一部分,因此沒有「舊版」引數。
目前的值 (預設值): []
dont_profile_source_files
來源檔案的路徑清單,profile 變體「不」會檢測這些檔案。這些設定的優先順序高於 profile_source_files。
目前的值 (預設值): ["//prebuilt/*"]
來自 //build/config/profile/config.gni:18
dwarf_version
LINT.IfChange(dwarf_version) 明確指定要使用的 DWARF 版本。
目前的值 (預設值): 5
來自 //build/config/compiler.gni:103
e2e_test_labels
主機驅動的「端對端」測試,在 Fuchsia 映像檔 (實際硬體或模擬) 上執行。
目前的值 (預設值): []
emboss_build_dir_to_root
從 root_build_dir 到 // 的選用相對路徑,可供 emboss_cc_library 和 emboss_rust_library 用於重定 embossc 來源檔案的基準。
目前的值 (預設值): ""
來自 //third_party/github.com/google/experimental-emboss-rust/build_defs.gni:38
enable_assembly_heapdump
如果設為 true,在組裝 eng 標準建構作業時,系統會強制啟用整個系統 (包括 component_manager 和所有其他路徑名稱) 的 Heapdump。
目前的值 (預設值): false
來自 //src/lib/assembly/platform_configuration/BUILD.gn:13
enable_bazel_remote_rbe
設定 bazel,在支援 RBE 的情況下使用 RBE 遠端建構。這可透過遠端快取加快建構速度。如要使用這個選項,bazel 叫用作業必須能直接存取外部網路,且使用者必須通過驗證,才能存取遠端執行服務。Remote Execution API 位於: https://github.com/bazelbuild/remote-apis 如需 Bazel 遠端執行的總覽,請參閱 https://bazel.build/remote/rbe
目前的值 (預設值): false
來自 //build/bazel/remote_services.gni:16
enable_delayed_bazel_actions
目前的值 (預設值): ""
enable_driver_lab
在 DFv2 驅動程式中啟用嵌入式驅動程式庫實驗室原位偵錯程式庫。嚴格預設為 is_debug,因此發布/正式版 (使用者) 建構作業會將嵌入式伺服器編譯為無作業,並省略傳出服務處理常式。
目前的值 (預設值): false
來自 //src/devices/driver-lab/driver_lab.gni:9
enable_frame_pointers
控管編譯器是否為函式呼叫發出完整堆疊框架。這會降低效能,但能提高產生良好堆疊追蹤的能力,尤其是在展開資料表生成作業發生錯誤時。不適用於主機目標 (請參閱 //build/config/BUILD.gn,其中未設定)。
目前的值 (預設值): true
來自 //build/config/enable_frame_pointers.gni:11
enable_grpc_ares
使用 ares 編譯。
目前的值 (預設值): false
來自 //third_party/grpc/BUILD.gn:15
enable_jobserver
設為 true,讓 Ninja 實作 GNU Make 工作伺服器集區,以便更妥善地協調平行工作,特別是遞迴叫用子建構作業時。
搭配 RBE (cxx_rbe_enable = true) 使用時,可以同時啟動所有 IDK 子建構作業,不必擔心目前機器超載。
重要事項:這項功能需要實作 --jobserver 選項的 Ninja 版本。詳情請參閱 https://fxbug.dev/42163397。
目前的值 (預設值): false
來自 //build/config/jobserver.gni:17
enable_lock_dep
啟用核心鎖定依附元件追蹤功能。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:18
enable_lock_dep_metadata_only
僅啟用核心鎖定依附元件中繼資料 (如果 enable_lock_dep 為 true,則忽略)。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:22
enable_lock_dep_tests
啟用核心鎖定依附元件追蹤測試。根據預設,啟用追蹤功能時,系統會啟用這項功能,但也可以獨立啟用,評估測試是否建構,以及在停用 lockdep 時是否正確失敗。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:132
enable_mdns_trace
啟用 mdns 的追蹤功能,可使用「mdns-util verbose」開啟。
目前的值 (預設值): false
來自 //src/connectivity/network/mdns/service/BUILD.gn:14
enable_netboot
網路啟動 ZBI 已淘汰。這個 GN 引數現在用於產生警告。
目前的值 (預設值): false
來自 //build/images/args.gni:114
enable_perfetto_android_java_sdk
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:220
enable_perfetto_benchmarks
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:230
enable_perfetto_etm_importer
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:435
enable_perfetto_fuzzers
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:233
enable_perfetto_grpc
在 Perfetto 程式碼集中啟用 gRPC。gRPC 會大幅增加建構時間和 Perfetto 的一般足跡。只有 BigTrace 需要這項功能,而且只有在建構最終可供發布的二進位檔時才需要,因此請勿預設啟用這項功能。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:429
enable_perfetto_heapprofd
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:181
enable_perfetto_integration_tests
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:217
enable_perfetto_ipc
目前的值 (預設值): true
來自 //third_party/perfetto/gn/perfetto.gni:174
enable_perfetto_llvm_demangle
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:423
enable_perfetto_llvm_symbolizer
啟用 trace_processor 中的 LLVM 符號化工具。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:439
enable_perfetto_lockfree_taskrunner
這個旗標用於遷移 UnixTaskRunner -> LockFreeTaskRunner。 這會決定 MaybeLockFreeTaskRunner 是由 UnixTaskRunner 或較新的 LockFreeTaskRunner 支援。UnixTaskRunner 是經過實證的原始 TaskRunner 實作,於 2017 年至 2025 年間使用。LockFreeTaskRunner 是經過改良的新 TaskRunner,預計會取代 UnixTaskRunner。請注意,在 Android 平台 (非獨立) 版本中,系統會忽略這個旗標,並改用 Android 旗標「use_lockfree_taskrunner」(請參閱 perfetto_flags.aconfig)
目前的值 (預設值): true
來自 //third_party/perfetto/gn/perfetto.gni:315
enable_perfetto_merged_protos_check
確認合併的 perfetto_trace.proto 可轉譯為 C++ lite proto 並編譯。這項功能預設為停用,因為成本高昂 (可能需要幾分鐘)。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:464
enable_perfetto_pcre2
啟用 PCRE2 支援。不應提取 libpcre2 的個別模組 (例如 libperfetto_client_experimental) 可以在編譯時設定 -DPERFETTO_REGEX_FORCE_STD,讓 base::Regex 回退至 std::regex 後端。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:412
enable_perfetto_platform_services
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:165
enable_perfetto_protovm_compiler
啟用 protovm_compiler 工具。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:450
enable_perfetto_re2
啟用 RE2 支援。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:415
enable_perfetto_rt_mutex
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:294
enable_perfetto_sock_inotify
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:303
enable_perfetto_stderr_crash_dump
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:271
enable_perfetto_system_consumer
目前的值 (預設值): true
來自 //third_party/perfetto/gn/perfetto.gni:322
enable_perfetto_tools
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:211
enable_perfetto_trace_processor
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:197
enable_perfetto_trace_processor_httpd
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:382
enable_perfetto_trace_processor_json
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:367
enable_perfetto_trace_processor_linenoise
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:361
enable_perfetto_trace_processor_mac_instruments
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:373
enable_perfetto_trace_processor_percentile
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:356
enable_perfetto_trace_processor_sqlite
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:351
enable_perfetto_traceconv
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:454
enable_perfetto_traced_perf
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:189
enable_perfetto_traced_probes
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:339
enable_perfetto_traced_relay
啟用平台服務時,轉發服務也會一併啟用。TODO(chinglinyu) check if we can enable on Windows.
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:343
enable_perfetto_ui
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:458
enable_perfetto_unittests
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:213
enable_perfetto_version_gen
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:239
enable_perfetto_watchdog
目前的值 (預設值): false
From //third_party/perfetto/gn/perfetto.gni:206
enable_perfetto_winscope
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:444
enable_perfetto_x64_cpu_opt
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:279
enable_perfetto_zlib
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:390
enable_perfetto_zstd
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:404
enable_sestarnix_userspace_tests_on_linux
在 Linux 上啟用 SEStarnix 使用者空間測試。在 CI/CQ 上,這需要內部預建版本,僅適用於內部簽出。TODO(https://fxbug.dev/510724670): Remove this flag when the prebuilts are available publicly.
目前的值 (預設值): false
來自 //src/starnix/build/args.gni:14
escher_test_for_glsl_spirv_mismatch
如果設為 true,系統會啟用 |SpirvNotChangedTest|,檢查磁碟上的預先編譯著色器是否為最新版本,並反映使用最新 shaderc 工具/最佳化功能編譯的目前著色器原始碼。Scenic 團隊成員應在啟用這個旗標的情況下建構,確保未透過預先編譯器執行的任何著色器變更,都會將更新後的 spirv 寫入磁碟。其他團隊和 CQ 不必擔心這個標記。
目前的值 (預設值): false
來自 //src/ui/lib/escher/build_args.gni:19
escher_use_runtime_glsl
決定 escher 是否會使用 glslang 和 shaderc 程式庫建構。如果設為 false,這些程式庫就不會納入 scenic/escher 二進位檔,因此著色器無法在執行階段編譯。預先編譯的 spirv 程式碼會改從磁碟載入記憶體。
目前的值 (預設值): false
來自 //src/ui/lib/escher/build_args.gni:11
exclude_testonly_syscalls
如果設為 true,則會排除具有 [testonly] 屬性的系統呼叫。
目前的值 (預設值): false
experimental_continuous_per_vmo_attribution_enabled
新增核心內支援,可查詢每個 VMO 填入的位元組高水位標記。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:112
experimental_cxx_version
LINT.IfChange(experimental_cxx_version)
注意:這僅供實驗,通常不應變更。設定編譯時要使用的 C++ 標準版本。必須是 _available_cxx_versions 中的其中一個值。另請注意,GN 程式碼不應直接使用這個變數,而應一律使用 fuchsia_cxx_version 變數。
目前的值 (預設值): false
來自 //build/config/fuchsia_cxx_version.gni:12
experimental_dso_enabled
如果設為 true,系統會納入已啟用實驗性 dso 版本 (//src/sys/runners/dso) 的元件,而非標準版本。這個旗標用於支援實驗性 DSO 建構工具,詳情請參閱 https://fxbug.dev/403545512
目前的值 (預設值): false
來自 //build/assembly/tools/assembly/BUILD.gn:16
experimental_elf_page_size
TODO(https://fxbug.dev/42107211):這項功能仍在實驗階段,不得用於正式版 (包括 SDK) 建構作業。
這是 ELF ABI 頁面大小上限。在維持 ABI 相容性的情況下,這個值一律可以增加 (以 2 的冪次方增加),但絕不能減少;任何增加都可能影響儲存空間和記憶體大小。這個 GN 建構作業連結的二進位檔,將與 ELF 載入作業相容,適用於執行階段實際使用頁面大小達此上限,以及任何小至 4k 的系統。如果系統使用的頁面大小超過這個值,就無法載入這個建構作業產生的任何 ELF 二進位檔。
目前的值 (預設值): 4096
來自 //build/config/fuchsia/BUILD.gn:34
experimental_force_enable_new_wakeup_accounting
強制啟用新的排程器喚醒計費功能,忽略啟動選項值。這項設定用於在個別試用機器人層級強制啟用功能,此時可以設定 gn 引數,但無法設定啟動選項。
TODO(https://fxbug.dev/322207536):解決堆疊中較高層級的競爭問題後,請停止在解除封鎖時重設開始和結束時間。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:120
experimental_kernel_abi
注意:僅供實驗用途。這會列出要先納入核心編譯設定 / Rust 自訂目標定義的 compiler_config() 標籤。
目前的值 (預設值): ["//build/config:cpu_baseline"]
來自 //zircon/kernel/switch/BUILD.gn:33
experimental_mem_enabled
如果設為 true,系統會啟用實驗性記憶體最佳化功能,例如 kernel.oom.experimental_expand_memory_stall 核心引數。
目前的值 (預設值): false
來自 //build/assembly/tools/assembly/BUILD.gn:21
export_bazel_tests
設定 Bazel 測試是否顯示在 tests.json 中,以便 Fuchsia 測試執行工具 (即 fx test 和 botanist) 看到。LINT.IfChange
目前的值 (預設值): true
來自 //build/config/export_bazel_tests.gni:9
exported_package_labels
如果為這個變數新增標籤,系統會收集這些標籤擷取的 exported_fuchsia_package_archive() 目標,並在「package_archives」建構 API 模組中公開。系統不會擷取一般 fuchsia_package_archive() 目標。
通常建議使用定義明確、經過挑選的套件 group() 標籤,而非直接明確新增 exported_fuchsia_package_archive() 目標的標籤。
目前的值 (預設值): []
extra_bazel_assembly_targets
啟用 Bazel 組件時要納入的額外 GN 目標。這份清單適合用於納入驗證和其他 Bazel 組合專屬目標。
目前的值 (預設值): []
extra_bazel_build_action_labels
在 args.gn 中設定此項目,列出無法從 //:default 存取的 bazel_action() 標籤,但可能在開發期間於本機建構。這是為了確保在產生時產生 @gn_targets_dir 目錄,並正確執行 Bazel 圖表查詢。
目前的值 (預設值): []
來自 //build/bazel/bazel_build_action_labels.gni:11
extra_kernel_test_images
每個 kernel_zbi_test() 都會為提供的核心映像檔清單中的每個項目產生一個 zbi_test();這份清單會無條件擴充該選取範圍。這樣一來,開發人員和建構人員就能在 GN 圖中加入更多類型的測試,且預設不會影響產生時間。
目前的值 (預設值): []
來自 //build/testing/boot_tests/kernel_zbi_test.gni:25
extra_package_labels
目前的值 (預設值): []
來自 //third_party/cobalt/BUILD.gn:10
extra_variants
要支援的其他變化版本工具鍊設定。這只是新增至 known_variants。
目前的值 (預設值): []
來自 //build/config/BUILDCONFIG.gn:545
fat_lto_objects
是否要在 LTO 建構作業中啟用 -ffat-lto-objects。 https://llvm.org/docs/FatLTO.html
目前的值 (預設值): true
來自 //build/config/lto/config.gni:14
ffmpeg_profile
目前的值 (預設值): "default"
來自 //src/media/lib/ffmpeg/ffmpeg_args.gni:37
ffx_build_dual_mode_plugins_as_subtools
建構任何可建構為內建或獨立子工具的 ffx 外掛程式。
請注意,如果您變更此設定且未 fx clean,可能會導致主要 ffx 二進位檔 (內建所有外掛程式) 或個別編譯的二進位檔過時,進而產生令人困惑的 ffx help 或 ffx commands 輸出。
當所有要遷移至 SDK 的子工具都遷移完畢後,這個設定旗標預設會設為 true、淘汰,最後移除:TODO(b/287779902)
目前的值 (預設值): false
來自 //src/developer/ffx/config.gni:19
fidl_api_coverage
如果設為 true,系統會在 FIDL 繫結中產生 API 涵蓋率註解。
目前的值 (預設值): false
來自 //build/fidl/toolchain.gni:11
flatland_verbose_logging
如果設為 true,Flatland 會記錄大量資料。用於偵錯。
目前的值 (預設值): false
來自 //src/ui/scenic/lib/utils/build_args.gni:7
focaltech_driver_flavor
切換 C++ 和 Rust 驅動程式實作。
TODO(https://fxbug.dev/527192080): Remove the toggle after the Rust port is completed. 有效值:「cpp」、「rust」
目前的值 (預設值): "cpp"
//src/ui/input/drivers/focaltech/BUILD.gn:16
font_catalog_paths
目前的值 (預設值): ["//prebuilt/third_party/fonts/fuchsia.font_catalog.json"]
來自 //src/fonts/build/font_args.gni:17
font_pkg_entries
合併 .font_pkgs.json 檔案的內容。在 fonts.gni 中填入。
目前的值 (預設值): []
來自 //src/fonts/build/font_args.gni:32
font_pkgs_paths
.font_pkgs.json 檔案的位置,其中列出工作區中字型檔案的位置,以及衍生自字型檔案名稱的安全名稱,可用於命名 Fuchsia 套件。
目前的值 (預設值): ["//prebuilt/third_party/fonts/fuchsia.font_pkgs.json"]
來自 //src/fonts/build/font_args.gni:22
fonts_dir
從 CIPD 簽出所有字型的目錄
目前的值 (預設值): "//prebuilt/third_party/fonts"
來自 //src/fonts/build/font_args.gni:12
fuchsia_product_assembly_config_label
用於設定主要 Fuchsia 映像檔的產品組件設定。如果是 GN 產品,則必須提供這項屬性。 如果是 Bazel 產品,則可視需要提供。如果是 Bazel 產品,則必須提供這項資訊,才能使用網路啟動功能。
目前的值 (預設值): false
fuchsia_sdk_root
Fuchsia SDK 的使用者會在建構根目錄中的特定位置,為各種 SDK 部分例項化範本。特定部分的目標名稱會從 meta.json 資訊清單中指定的部分名稱衍生。不同的 buildroot 會在不同位置例項化 SDK 部分,然後設定這個變數。接著,GN 規則可以在 SDK 建構作業中,將這個變數名稱做為 SDK 部分名稱的前置字元。在非 SDK 建構根目錄中,這個旗標沒有意義。
目前的值 (預設值): ""
fuchsia_sync_detect_lock_cycles
是否要使用 tracing-mutex 偵測鎖定擷取圖中的循環。根據預設,請只在偵錯版本上啟用這項功能,因為這會導致平衡/發布版本速度過慢,無法實際使用。LINT.IfChange
目前的值 (預設值): false
來自 //src/lib/fuchsia-sync/build/args.gni:10
futex_block_tracing_enabled
TODO(johngro): document
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:60
fvm_partition
目前的值 (預設值): ""
fxfs_blob
使用 Fxfs 的 blob 實作 由於輸出內容變更,因此變更刷新邏輯。 切換多項測試,改用 fxfs。
目前的值 (預設值): true
來自 //src/storage/fshost/generated_fshost_config.gni:17
fxfs_partition
目前的值 (預設值): ""
gcc_tool_dir
GCC 工具鍊二進位檔 (「gcc」、「nm」等) 所在的目錄。這個目錄應包含用於建構 Fuchsia 目標的 aarch64-elf-* 和 x86_64-elf-* 工具。這個目錄不會用於主機工具。如果這個欄位為「」,則會使用標準預先建構模型。
目前的值 (預設值): ""
來自 //build/toolchain/zircon/gcc.gni:10
generate_cuckoo_tests
定義 kernel_zbi_test() 範本 generate_cuckoo 參數的預設值。如果設為 true,所有 kernel_zbi_tests() 例項都會預設產生 cuckoo_zbi_test(),這是為了從目標系統竊取檢測資料而產生的完整系統映像檔。
目前的值 (預設值): false
來自 //build/testing/boot_tests/kernel_zbi_test.gni:19
generate_licenses_spdx_stubs
如果設為 true,generated_licenses_spdx 範本會產生含有預留位置授權的虛設常式 SPDX 檔案。系統會略過授權收集作業。由於收集授權會耗用大量資源,因此這項功能適用於執行速度較快的非正式環境建構作業。在特定 generated_licenses_spdx 範本叫用中,可透過 generate_stub 參數覆寫全域設定。
目前的值 (預設值): true
來自 //build/licenses/generated_licenses_spdx.gni:14
generate_plasa_artifacts
如果設定,會產生 plasa 構件。並非所有版本都需要使用 plasa 構件,因此我們將預設值設為略過產生。
目前的值 (預設值): false
來自 //build/sdk/plasa/config.gni:8
gigaboot_backends
指定 gn 目標,用於實作 gigaboot/cpp/backends.h 中定義的必要後端
目前的值 (預設值): "//src/firmware/gigaboot/cpp:backends_nuc"
來自 //src/firmware/gigaboot/cpp/backends.gni:8
gigaboot_eng_permanent_attributes
eng gigaboot 的永久屬性檔案
目前的值 (預設值): "//third_party/android/platform/external/avb/test/data/atx_permanent_attributes.bin"
來自 //src/firmware/gigaboot/cpp/backends.gni:11
gigaboot_gbl_efi_app
目前的值 (預設值): "//prebuilt/third_party/android/gbl/mainline/gbl_x86_64_dev.efi"
來自 //src/firmware/gigaboot/cpp/backends.gni:34
gigaboot_use_gbl
布林值,指出是否要使用 GBL 啟動。
TODO(b/368647237):這是暫時性切換,用於先啟用以 GBL 為基礎的安裝程式,再將 gigaboot 遷移至 GBL。
目前的值 (預設值): false
來自 //src/firmware/gigaboot/cpp/backends.gni:40
gigaboot_user_permanent_attributes
正式版簽署 gigaboot 的永久屬性檔案。設定這項屬性會啟用目標 //src/firmware/gigaboot/cpp:user-esp
目前的值 (預設值): ""
來自 //src/firmware/gigaboot/cpp/backends.gni:20
gigaboot_userdebug_permanent_attributes
userdebug gigaboot 的永久屬性檔案。設定這項設定會啟用目標 //src/firmware/gigaboot/cpp:userdebug-esp
目前的值 (預設值): ""
來自 //src/firmware/gigaboot/cpp/backends.gni:16
go_vet_enabled
go_vet_enabled [bool] 如果為 false,則所有建構作業都會停用 go vet 叫用。
目前的值 (預設值): false
gocache_dir
gocache_dir GOCACHE 環境變數會設為這個目錄。這個目錄會快取建構和測試結果,且可安全地同時寫入。如要覆寫,這個目錄必須是完整路徑。
目前的值 (預設值): "/b/s/w/ir/x/w/fuchsia/out/not-default/.gocache"
goodix_gt6853_driver_flavor
切換 C++ 和 Rust 驅動程式實作。
TODO(https://fxbug.dev/527194998): Remove the toggle after the Rust port is completed. 有效值:「cpp」、「rust」
目前的值 (預設值): "cpp"
來自 //src/ui/input/drivers/goodix-gt6853/BUILD.gn:20
goodix_gt92xx_driver_flavor
切換 C++ 和 Rust 驅動程式實作。
TODO(https://fxbug.dev/527195603): Remove the toggle after the Rust port is completed. 有效值:「cpp」、「rust」
目前的值 (預設值): "cpp"
來自 //src/ui/input/drivers/goodix-gt92xx/BUILD.gn:16
grpc_use_static_linking
目前的值 (預設值): false
來自 //third_party/grpc/BUILD.gn:24
hangcheck_timeout_ms
請根據長時間執行的測試調整這項設定
目前的值 (預設值): 0
來自 //src/graphics/drivers/msd-intel-gen/src/BUILD.gn:9
has_board
這個版本會匯入主機板 (而非 SDK)。如果已設定板 (fx set
target_cpu = "arm64" 的目前值: true
已覆寫預設值: false
target_cpu = "riscv64" 的目前值: true
已覆寫預設值: false
target_cpu = "x64" 的目前值: true
已覆寫預設值: false
hermetic_test_package_labels
完全密封測試 (包括包裝和執行階段)
目前的值 (預設值): []
honeydew_adb_keys_dir
目前的值 (預設值): "//third_party/android/platform/vendor/google/security/adb"
來自 //src/testing/end_to_end/honeydew/BUILD.gn:20
host_byteorder
目前的值 (預設值): "undefined"
來自 //build/config/host_byteorder.gni:7
host_cpu
目前的值 (預設值): "x64"
host_labels
如果您為這個變數新增標籤,這些標籤會納入「host」構件集,代表建構作業產生的另一組僅限主機軟體。
系統會使用主機工具鍊將這些項目新增至建構作業。
target_cpu = "arm64" 的目前值: []
來自 //out/not-default/args.gn:14
已覆寫預設值: []
target_cpu = "riscv64" 的目前值: []
來自 //out/not-default/args.gn:14
已覆寫預設值: []
target_cpu = "x64" 的目前值: []
來自 //out/not-default/args.gn:14
已覆寫預設值: []
host_os
目前的值 (預設值): "linux"
host_test_labels
僅限主機測試。這些測試不能依附於組裝的平台映像檔或編譯的 OS 本身,即使是 host_test_data() 也不行。
系統會使用主機工具鍊將這些項目新增至建構作業。
目前的值 (預設值): []
host_tools_base_path_override
將此設為目錄路徑,其中包含 compiled_action() 產生的主機工具預先建構二進位檔。執行子建構作業時 (例如產生 IDK,需要為不同的 API 級別和 CPU 架構重建 SDK 集合),這項功能非常實用,可避免每次都重建主機工具。
目前的值 (預設值): ""
host_tools_dir
這個目錄會安裝開發人員手動使用的主機工具。開發人員可能會將其放入殼層的 $PATH。建構作業所需的主機工具不會複製到這裡。這個目錄僅適用於一般用於測試或偵錯,或 GN 建構本身以外的事物。這些工具只能透過明確的 install_host_tools() 規則安裝 (請參閱 //build/host.gni)。
目前的值 (預設值): "//out/not-default/host-tools"
hwasan_default_options
預設 HawrdwareAddressSanitizer 選項 (在執行階段讀取 HWASAN_OPTIONS 環境變數之前)。這可以設為建構引數,影響 $variants 中的大多數「hwasan」變體 (請參閱),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。
請注意,即使這個欄位留空,這個建構作業中的程式也無法定義自己的 __hwasan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項都可以覆寫此清單中該選項的設定。
目前的值 (預設值): ["allocator_may_return_null=1"]
來自 //build/config/sanitizers/sanitizer_default_options.gni:96
i_can_haz_atlas_camera
如果為 true,則在啟動時開啟 Atlas 攝影機。TODO(https://fxbug.dev/42162166): remove once we have a better way to manage ACPI device power.
目前的值 (預設值): false
來自 //src/devices/board/lib/acpi/BUILD.gn:10
ice_detection
啟用 rustc 包裝函式,偵測逾時和 ICE TODO(pineapple):在 b/345596983 解決後,使用 rust_incremental 時預設啟用
目前的值 (預設值): false
icu_copy_icudata_to_root_build_dir
如果設定,「:icudata」目標會將 ICU 資料複製到 $root_build_dir。
目前的值 (預設值): false
icu_disable_thin_archive
如果設為 true,系統會將 icu 編譯為獨立靜態程式庫。目前這項功能僅適用於 ChromeOS。
目前的值 (預設值): false
icu_fuchsia_extra_compile_flags
Fuchsia 有時需要額外的 ICU 編譯旗標,才能配合目前的工具鍊。由於 ICU 需要一段時間才能在 Fuchsia 中推出,因此從 ICU 提交到修正程式在 Fuchsia 中推出,可能需要很長的時間。這個旗標可讓我們在 //build/icu.gni 中預先定義旗標,並移除推出問題。
目前的值 (預設值): ["-Wno-newline-eof", "-Wno-unnecessary-virtual-specifier"]
icu_fuchsia_extra_configs
與上述類似,但允許新增整個 config 目標。
目前的值 (預設值): []
icu_fuchsia_override_data_dir
如果設為非空白,則這是用於提取 ICU 資料檔案內容的目錄標籤。只有在 Fuchsia 來源樹狀結構中建構時,這項設定才會生效。
目前的值 (預設值): ""
icu_fuchsia_remove_configs
與上述類似,但允許移除整個 config 目標 (如果有的話)。
目前的值 (預設值): []
icu_major_version_number
包含 ICU 程式庫的主要版本號碼,適用於需要根據程式庫版本進行不同設定的依附元件。目前僅適用於 Fuchsia。
目前的值 (預設值): "78"
來自 //third_party/icu/default/version.gni:13
icu_tzres_path
目前的值 (預設值): "//prebuilt/third_party/tzres"
來自 //src/lib/icu/tzdata/icu_tzres_source.gni:27
icu_tzres_source
ICU 時區 .res 檔案的來源位置:「git」或「prebuilt」。
如果設為「git」,tzres 檔案會包含與 ICU 資料單體相同的時區定義。
如果設為「prebuilt」,系統會從 CIPD 擷取 tzres 檔案,這些檔案可能比 ICU 資料單體中的檔案更新。
目前的值 (預設值): "prebuilt"
來自 //src/lib/icu/tzdata/icu_tzres_source.gni:16
icu_use_data_file
指示 icu 載入外部資料檔案,而非依賴直接連結至二進位檔的 icudata。
目前的值 (預設值): true
icu_use_stub_data
如果設為 true,系統會建立虛設常式資料檔案。如果改用自訂資料檔案,請停用這項功能,以免符號衝突。
目前的值 (預設值): true
icu_use_target_out_dir
如果設定,建構的程式庫會位於各自的預設輸出目錄,而非 root_build_dir。
目前的值 (預設值): true
idk_buildable_api_levels
這個版本會在 IDK/SDK 中,為一組 API 級別提供建構時支援。預設組合是 //sdk/version_history.json 中所有 supported 和 in 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, 32, "NEXT"]
來自 //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"]
in_default_toolchain
很遺憾,GN 在執行 BUILDCONFIG.gn 時一律不會設定 current_toolchain,因此這個變數用於偵測在預設工具鍊的環境中執行這個檔案的時間。
這項設定會依賴任何非預設工具鍊,將其設為 false。此外,也請勿在 args.gn 中設定。
LINT.IfChange(in_default_toolchain)
目前的值 (預設值): true
來自 //build/config/BUILDCONFIG.gn:57
include_account_in_fvm
如果設為 true,則在 FVM 映像檔中加入帳戶分區。
目前的值 (預設值): false
include_clippy
將 Rust 目標轉換為包含一般目標和 clippy 目標的群組。這會導致 clippy 目標納入建構作業。這項功能預設會透過 fx set 啟用,但在 GN 中預設為關閉,因此不會在基礎架構中啟用。
目前的值 (預設值): false
來自 //build/rust/rust_auxiliary_args.gni:17
include_internal_fonts
設為 true,即可在建構作業中納入內部字型。
目前的值 (預設值): false
來自 //src/fonts/build/font_args.gni:7
include_rustdoc
.rustdoc 子目標的選擇加入切換鈕。如果為 true,則遵循每個目標的 disable_rustdoc 設定。如果 false,請勿定義任何 rustdoc 子目標。
目前的值 (預設值): false
來自 //build/rust/rust_auxiliary_args.gni:22
include_zxdb_large_tests
一般來說,這些測試不會建構及執行,因為需要下載大量選用資料。將此旗標設為 true,即可啟用 zxdb_large_tests 的建構作業。請參閱 symbols/test_data/README.md,瞭解如何下載這項測試所需的資料。
目前的值 (預設值): false
來自 //src/developer/debug/zxdb/BUILD.gn:13
inet_config_enable_async_dns_sockets
指示 inet 額外支援非同步 DNS 通訊端。
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:17
inet_want_endpoint_dns
指示 inet 納入對應通訊協定的支援。
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:10
inet_want_endpoint_raw
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:11
inet_want_endpoint_tcp
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:12
inet_want_endpoint_tun
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:14
inet_want_endpoint_udp
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:13
integration_tests_verbose_logging
根據預設,在測試中記錄詳細的字型訊息。
目前的值 (預設值): true
來自 //src/fonts/tests/integration/BUILD.gn:20
is_analysis
如果設定,建構作業會產生編譯分析傾印,用於程式碼搜尋工具中的程式碼交叉比對。分析期間執行的額外工作,只有在交叉比對建構作業時才需要,因此我們預設會關閉旗標和分析負擔。
目前的值 (預設值): false
來自 //build/config/BUILDCONFIG.gn:30
is_multi_product_build
目前的值 (預設值): false
來自 //build/images/args.gni:108
is_perfetto_build_generator
所有 tools/gen_* 指令碼都會將這個值設為 true。這主要用於從 //gn (而非 //build) 找出 .gni 檔案。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:94
is_perfetto_embedder
這是為了透過 gn args 覆寫 (例如 tools/gen_xxx)。以 GN 為基礎的嵌入器 (例如 v8) 不應設定這個變數,而應直接在 GN 檔案中設定 perfetto_build_with_embedder=true。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:99
jdk_include_path
主機 JDK 包含目錄的路徑,其中包含 jni.h。設定後,建構 libperfetto_jni 及其 Java proto codegen 的主機支援目標會使用此路徑及其平台專屬子目錄,做為額外的包含路徑。Android / AOSP 版本上為空白 (預設),其中 jni.h 來自 NDK / jni_headers;由 tools/run_android_sdk_host_test 從 $JAVA_HOME 填入。
目前的值 (預設值): ""
來自 //third_party/perfetto/gn/perfetto.gni:228
jtrace_enabled
如需這些設定選項的說明,請參閱 https://fuchsia.dev/fuchsia-src/development/debugging/jtrace。
請注意,特殊值「auto」僅用於項目的預設定義 (如下所示)。這是一個特殊值,會根據 JTRACE 是否設為永久追蹤,自動選擇預設值,同時仍允許使用者明確覆寫該值,無論是否啟用永久追蹤。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:101
jtrace_last_entry_storage
目前的值 (預設值): 0
來自 //zircon/kernel/params.gni:102
jtrace_target_buffer_size
目前的值 (預設值): "auto"
來自 //zircon/kernel/params.gni:103
jtrace_use_large_entries
目前的值 (預設值): "auto"
來自 //zircon/kernel/params.gni:104
jtrace_use_mono_timestamps
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:105
kernel_debug_print_level
控管核心 dprintf 訊息的詳細程度。值越高,發出的 dprintf 訊息就越多。有效值為 0 至 2 (含): 0 - CRITCAL / ALWAYS 1 - INFO 2 - SPEW
目前的值 (預設值): 2
來自 //zircon/kernel/params.gni:84
kernel_extra_defines
核心程式碼的其他巨集定義,例如「ENABLE_KERNEL_LL_DEBUG」。
目前的值 (預設值): []
來自 //zircon/kernel/params.gni:77
kernel_memory_profiler
為每個 malloc 和 free 啟用堆疊追蹤和統計資料匯總功能。/boot/kernel/i/memory-profile/d/heap.bin 包含二進位資料。使用 ffx profile heapdump snapshot --kernel 產生符號化的記憶體分析器。
目前的值 (預設值): false
來自 //zircon/kernel/switch/BUILD.gn:28
kernel_no_userabi
建構不支援使用者空間的核心,僅供開發使用。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:108
kernel_version_string
zx_system_get_version_string 核心中嵌入的版本字串。如果設為預設值「」,系統會根據 Fuchsia Git 存放區的狀態產生字串。
目前的值 (預設值): ""
來自 //zircon/kernel/BUILD.gn:19
known_variants
構成變化版本工具鍊基礎的變化版本清單。如要使用變化版本,請設定 select_variant。
通常不會設為建構引數,但可用於記錄可用的變體組合。如要新增更多,請改為設定 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,和設定中每個標籤的自動 ${label}_deps)。
link_deps
[標籤清單] 新增至這個變化版本中連結的每個連結目標 (即終端目標,以及 shared_library() 目標) 的 deps (以及上方的 deps,和設定中每個標籤的自動 ${label}_deps)。
source_deps
[標籤清單] 新增至每個編譯 sources 的目標 deps。這會新增至 source_set() 和 static_library() 目標,且僅限於此;連結目標會同時取得此目標和 deps。
name (如果省略設定,則為必要)
[字串] select_variant 元素 variant 欄位中使用的變化版本名稱。
建議您使用簡潔且有意義的名稱,例如 $root_build_dir 下方的目錄名稱。如果省略名稱,設定不得為空白,且這些設定的簡單名稱 (不是完整標籤,只是所有 / 和 : 之後的部分) 會用於工具鍊名稱 (每個名稱前面加上「-」),因此形成每個變體的設定名稱清單在 known_variants + extra_variants 的清單中不得重複。
tags (選用)
[字串清單] 自由字串清單,用於描述從這個變化版本範圍建立的工具鍊執行個體屬性。如需可用值清單及其含義,請參閱 //build/toolchain/variant_tags.gni。
toolchain_args (選用)
[範圍] 在這個範圍內定義的每個變數,都會覆寫這個變化版本工具鍊內容中的建構引數。
host_only (選用)
target_only (選用)
[scope] 這個範圍可包含上述任何欄位。
這些值分別僅用於主機或目標。
此處包含的任何欄位都不應同時出現在外部範圍。
目前的值 (來自預設值):
[{
configs = ["//build/config/lto"]
tags = ["lto"]
}, {
configs = ["//build/config/lto:thinlto"]
tags = ["lto"]
}, {
name = "novariant"
}, {
configs = ["//build/config/profile:coverage"]
tags = ["coverage", "coverage_clang", "coverage_rust", "debugdata", "instrumented", "llvm-profdata", "needs-writable-globals"]
}, {
configs = ["//build/config/profile:coverage-rust"]
tags = ["coverage", "coverage_rust", "debugdata", "instrumented", "needs-writable-globals"]
}, {
configs = ["//build/config/profile:coverage-cts"]
tags = ["coverage", "coverage_clang", "debugdata", "instrumented", "llvm-profdata"]
}, {
configs = ["//build/config/profile"]
tags = ["debugdata", "instrumented", "llvm-profdata", "needs-writable-globals", "profile"]
}, {
configs = ["//build/config/profile:profile-rust"]
tags = ["debugdata", "instrumented", "needs-writable-globals", "profile"]
}, {
configs = ["//build/config/profile:profile-use"]
tags = ["instrumented"]
}, {
configs = ["//build/config/profile:profile-use-rust"]
tags = ["instrumented"]
}, {
configs = ["//build/config/sanitizers:tsan"]
tags = ["tsan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "uses-shadow", "kernel-excluded"]
}, {
configs = ["//build/config/sanitizers:hwasan"]
tags = ["hwasan", "instrumentation-runtime", "instrumented", "lsan", "needs-compiler-abi", "needs-writable-globals", "kernel-excluded", "replaces-allocator", "uses-shadow", "fuchsia-only"]
}, {
configs = ["//build/config/sanitizers:hwasan", "//build/config/sanitizers:ubsan"]
remove_common_configs = ["//build/config:no_rtti"]
tags = ["hwasan", "instrumentation-runtime", "instrumented", "lsan", "needs-compiler-abi", "needs-writable-globals", "kernel-excluded", "replaces-allocator", "uses-shadow", "fuchsia-only", "ubsan"]
}, {
configs = ["//build/config/sanitizers:ubsan"]
remove_common_configs = ["//build/config:no_rtti"]
tags = ["instrumented", "ubsan", "custom-runtime"]
}, {
configs = ["//build/config/sanitizers:ubsan", "//build/config/sanitizers:sancov"]
remove_common_configs = ["//build/config:no_rtti"]
tags = ["instrumented", "instrumentation-runtime", "needs-compiler-abi", "needs-writable-globals", "kernel-excluded", "sancov", "ubsan"]
}, {
configs = ["//build/config/sanitizers:asan"]
host_only = {
remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
remove_common_configs = ["//build/config:default_frame_pointers"]
tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded"]
toolchain_args = { }
}, {
configs = ["//build/config/sanitizers:asan", "//build/config/sanitizers:ubsan"]
host_only = {
remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
remove_common_configs = ["//build/config:default_frame_pointers", "//build/config:no_rtti"]
tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded", "ubsan"]
toolchain_args = { }
}, {
configs = ["//build/config/sanitizers:asan", "//build/config/sanitizers:sancov"]
host_only = {
remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
remove_common_configs = ["//build/config:default_frame_pointers"]
tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded", "sancov"]
toolchain_args = { }
}, {
configs = ["//build/config/sanitizers:asan", "//build/config:no-safe-stack"]
host_only = {
remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
name = "kasan"
remove_common_configs = []
tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-only"]
toolchain_args = { }
}, {
configs = ["//build/config/lto", "//build/config/sanitizers:cfi"]
tags = ["lto", "custom-runtime", "cfi"]
}, {
configs = ["//build/config/lto:thinlto", "//build/config/sanitizers:cfi"]
tags = ["lto", "custom-runtime", "cfi"]
}, {
configs = ["//build/config/sanitizers:asan", "//build/config:no-safe-stack", "//build/config/sanitizers:sancov"]
host_only = {
remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
name = "kasan-sancov"
remove_common_configs = []
tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-only", "sancov"]
toolchain_args = { }
}, {
configs = ["//build/config/sanitizers:asan", "//build/config/fuzzer", "//build/config/sanitizers:rust-asan", "//build/config:icf"]
host_only = {
remove_shared_configs = ["//build/config:symbol_no_undefined"]
}
name = "asan-fuzzer"
remove_common_configs = ["//build/config:default_frame_pointers", "//build/config:icf"]
remove_shared_configs = ["//build/config:symbol_no_undefined"]
tags = ["asan", "instrumentation-runtime", "instrumented", "needs-compiler-abi", "needs-writable-globals", "lsan", "replaces-allocator", "uses-shadow", "kernel-excluded", "fuzzer"]
toolchain_args = {
asan_default_options = "alloc_dealloc_mismatch=0:check_malloc_usable_size=0:detect_odr_violation=0:max_uar_stack_size_log=16:print_scariness=1:allocator_may_return_null=1:detect_leaks=0:detect_stack_use_after_return=1:malloc_context_size=128:print_summary=1:print_suppressions=0:strict_memcmp=0:symbolize=0"
}
}, {
configs = ["//build/config/fuzzer", "//build/config/sanitizers:ubsan", "//build/config:icf"]
name = "ubsan-fuzzer"
remove_common_configs = ["//build/config:icf", "//build/config:no_rtti"]
remove_shared_configs = ["//build/config:symbol_no_undefined"]
tags = ["fuzzer", "instrumented", "instrumentation-runtime", "needs-compiler-abi", "ubsan"]
}, {
name = "gcc"
tags = ["gcc"]
}, {
configs = ["//build/config/profile:heapdump"]
tags = ["fuchsia-only", "heapdump", "instrumented", "instrumentation-runtime", "kernel-excluded", "needs-compiler-abi", "uses-shlibs"]
}]
來自 //build/config/BUILDCONFIG.gn:297
link_rbe_check
執行較耗費資源的檢查,適用於 CI。上述所有項目都需要 link_rbe_enable=true。
下列其中一項:
「none」:不進行額外檢查。
"determinism": 在本機執行兩次並比較輸出內容,檢查連結的確定性,如果發現任何差異,則失敗。 雖然這項檢查不涉及 RBE,但會使用相同的包裝函式指令碼,該指令碼知道要預期和比較哪些輸出檔案。
"consistency": 執行本機和遠端連結動作,並比較結果,檢查兩者是否一致。
目前的值 (預設值): "none"
來自 //build/toolchain/rbe.gni:286
link_rbe_download_unstripped_outputs
目前的值 (預設值): true
來自 //build/toolchain/rbe.gni:302
link_rbe_enable
設為 true,即可使用 RBE 啟用遠端連結。這包括使用 ar 的動作,或使用 clang 驅動 lld 等連結器的動作。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:245
link_rbe_exec_strategy
下列其中一項:
「remote」:在快取失敗時從遠端執行動作。遠端快取一律會更新為這個結果。
"local":在遠端快取中查詢動作,但如果快取失敗,則在本機執行動作。本機產生的結果不會上傳至遠端快取。
"remote_local_fallback":先從遠端執行動作。如果失敗,請改在本機執行。在本機產生的結果不會上傳至遠端快取。
「racing」:同時在本機和遠端執行,以最先完成的結果為準。
「nocache」:強制執行遠端作業,不使用快取結果。這項功能可用於快取失敗情境的基準測試。
(還有其他未公開的 rewrapper 選項)。
目前的值 (預設值): "remote_local_fallback"
來自 //build/toolchain/rbe.gni:266
link_rbe_full_toolchain
reclient 擁有決定遠端連結所需輸入內容的邏輯,但在某些情況下,可能會落後於上游工具鍊開發。這個選項會強制將「整個」工具鍊目錄納入輸入內容,這通常能保證運作,因為它不假設工具鍊的運作方式,但會造成效能負擔。這項功能主要用於偵錯,以及做為緊急應變措施。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:296
llvm_prefix
這個目錄包含 linux-x64、linux-arm64 和 mac-x64 的 cipd 套件。您可以從 cipd 下載這些個別套件,並將其設為包含這些套件的目錄,而不是使用來源樹狀結構提供的預先建構項目。
目前的值 (預設值): "//prebuilt/third_party/llvm"
來自 //src/lib/llvm/llvm_library.gni:10
local_bench
在 fx shell 中執行基準測試時,用於啟用本機基準測試/微調。將 --args=local_bench='true' 傳遞至 fx set 即可啟用。LINT.IfChange
目前的值 (預設值): false
來自 //src/developer/fuchsia-criterion/build/args.gni:10
lock_name_tracing_enabled
在 kernel:contention 類別發出的時間長度中啟用鎖定名稱。這會稍微增加每個鎖定的大小,以參照其追蹤標籤。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:27
log_startup_sleep
目前的值 (預設值): "30000"
來自 //src/diagnostics/log_listener/BUILD.gn:14
lsan_default_options
預設 LeakSanitizer 選項 (在執行階段讀取 LSAN_OPTIONS 環境變數之前)。這項設定可設為建構引數,影響 $variants (請參閱) 中的大多數「lsan」變體,或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。
請注意,即使這個欄位留空,這個建構作業中的程式也無法定義自己的 __lsan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項都可以覆寫此清單中該選項的設定。
目前的值 (預設值): []
來自 //build/config/sanitizers/sanitizer_default_options.gni:37
magma_debug
目前的值 (預設值): false
來自 //src/graphics/magma/lib/magma/util/BUILD.gn:17
magma_enable_tracing
啟用這項功能,即可納入 Fuchsia 追蹤能力
目前的值 (預設值): true
來自 //src/graphics/lib/magma/gnbuild/magma.gni:12
magma_openvx_include
OpenVX 標頭的路徑
目前的值 (預設值): ""
來自 //src/graphics/lib/magma/gnbuild/magma.gni:15
magma_openvx_package
OpenVX 實作路徑
目前的值 (預設值): ""
來自 //src/graphics/lib/magma/gnbuild/magma.gni:18
main_pb_label
如果不想使用多產品建構作業中的預設產品,請使用這個標籤指向要使用的主要產品組合。
目前的值 (預設值): ""
max_build_concurrency
fx build 自動挑選的建構並行 (-j) 上限。如果值為 0,代表沒有上限。
自動值是根據主機 CPU 數量得出,假設 CPU 是最稀缺的資源。如果環境不符合上述條件,可以在這裡降低這個值。舉例來說,FUSE 支援的工作區會在高核心主機飽和前,就耗盡檔案描述元。
指令列中的明確 -j 一律會依原樣執行。
目前的值 (預設值): 0
來自 //build/config/BUILDCONFIG.gn:47
max_log_disk_usage
控管用於保存裝置記錄的磁碟空間位元組數。 必須是僅包含數字的字串值。
目前的值 (預設值): "0"
來自 //src/diagnostics/log_listener/BUILD.gn:13
mbedtls_config_file
MbedTLS 的設定檔。
目前的值 (預設值): "mbedtls-config.h"
來自 //third_party/openthread/third_party/mbedtls/BUILD.gn:57
mbedtls_deps
MbedTLS 的額外依附元件
目前的值 (預設值): ["../../src/core:libopenthread_core_config"]
來自 //third_party/openthread/third_party/mbedtls/BUILD.gn:60
min_crashlog_size
控管要為當機記錄保留的永久 RAM 空間下限。啟用其他功能 (例如永久偵錯記錄檔) 時,無論其他永久 RAM 使用者要求多少 RAM,這個值都會控制一律為當機記錄保留的最小位元組數 (取決於可用永久 RAM 的總量)。必須是 128 個位元組的倍數。
目前的值 (預設值): 2048
來自 //zircon/kernel/lib/crashlog/params.gni:14
mini_chromium_is_chromeos_ash
目前的值 (預設值): false
來自 //third_party/mini_chromium/src/build/platform.gni:32
mini_chromium_is_chromeos_lacros
目前的值 (預設值): false
來自 //third_party/mini_chromium/src/build/platform.gni:31
monolithic_binaries
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:250
msd_arm_enable_all_cores
啟用全部 8 個核心,速度較快,但會產生更多熱能。
目前的值 (預設值): true
來自 //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:9
msd_arm_enable_cache_coherency
設定這個旗標後,如果 GPU 支援,系統會嘗試使用快取一致記憶體。
目前的值 (預設值): true
來自 //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:13
msd_arm_enable_protected_debug_swap_mode
在保護模式下,錯誤不會傳回太多資訊,因此更難偵錯。如要解決這個問題,請新增一種模式,讓受保護的原子在非保護模式下執行,反之亦然。
注意:記憶體安全範圍也應 (在 TrustZone 中) 設為與正常相反,這樣非保護模式存取就只能存取受保護的記憶體,反之亦然。此外,可擴充記憶體錯誤在這個模式下無法運作,因此應預先提交較大的可擴充記憶體部分 (預設不會執行)。
目前的值 (預設值): false
來自 //src/graphics/drivers/msd-arm-mali/src/BUILD.gn:24
msd_arm_mali_csf_firmware_label
msd-arm-mali-csf 的韌體目標標籤。如果留空,驅動程式庫套件就不會包含任何韌體。
目前的值 (預設值): ""
來自 //src/graphics/drivers/msd-arm-mali-csf/BUILD.gn:13
netstack3_profile_rustc
新增編譯旗標,在建構 netstack3 目標時發出 rustc 自我剖析。這有助於我們追蹤時間和記憶體消耗,以便與 RBE 搭配使用。
目前的值 (預設值): false
來自 //src/connectivity/network/netstack3/BUILD.gn:9
ninja_implicit_inputs_root_labels
一組目標標籤,用於透過 GN 中繼資料收集產生 Ninja 隱含輸入清單。這些必須公開,才能確保從 Bazel 叫用的 Ninja 子建構作業正確遞增。詳情請參閱 //build/ninja_implicit_inputs/README.md
目前的值 (預設值): ["//:default"]
來自 //build/ninja_implicit_inputs/config.gni:11
openthread_config_anycast_locator_enable
啟用任意傳播定位器功能
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:82
openthread_config_assert_enable
啟用斷言。
目前的值 (預設值): true
來自 //third_party/openthread/etc/gn/openthread.gni:79
openthread_config_backbone_router_enable
啟用骨幹路由器功能
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:85
openthread_config_ble_tcat_enable
啟用 BLE 偵測功能
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:88
openthread_config_border_agent_enable
啟用邊界代理支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:91
openthread_config_border_agent_id_enable
啟用邊界代理 ID
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:94
openthread_config_border_router_enable
啟用邊界路由器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:97
openthread_config_border_routing_enable
啟用邊界路由器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:100
openthread_config_channel_manager_enable
啟用管道管理工具支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:103
openthread_config_channel_monitor_enable
啟用管道監控支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:106
openthread_config_child_supervision_enable
啟用兒童監護功能支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:109
openthread_config_coap_api_enable
啟用 CoAP API 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:112
openthread_config_coap_observe_api_enable
啟用 coap observe (RFC7641) API 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:118
openthread_config_coap_secure_api_enable
啟用安全 CoAP API 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:115
openthread_config_coexistence_enable
啟用無線電共存
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:245
openthread_config_commissioner_enable
啟用管理員支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:121
openthread_config_deps
OpenThread 設定的額外依附元件。
目前的值 (預設值): []
來自 //third_party/openthread/etc/gn/openthread.gni:38
openthread_config_dhcp6_client_enable
啟用 DHCP6 用戶端支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:127
openthread_config_dhcp6_server_enable
啟用 DHCP6 伺服器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:130
openthread_config_diag_enable
啟用診斷支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:133
openthread_config_dns_client_enable
啟用 DNS 用戶端支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:136
openthread_config_dnssd_server_enable
啟用 DNS-SD 伺服器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:139
openthread_config_ecdsa_enable
啟用 ECDSA 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:142
openthread_config_enable_builtin_mbedtls_management
目前的值 (預設值): true
來自 //third_party/openthread/etc/gn/openthread.gni:242
openthread_config_file
OpenThread 設定標頭。
目前的值 (預設值): "<openthread-config-fuchsia.h>"
來自 //third_party/openthread/etc/gn/openthread.gni:35
openthread_config_full_logs
啟用完整記錄
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:229
openthread_config_heap_external_enable
啟用外部堆積支援
目前的值 (預設值): true
來自 //third_party/openthread/etc/gn/openthread.gni:148
openthread_config_ip6_fragmentation_enable
啟用 IPv6 分割支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:151
openthread_config_ip6_slaac_enable
啟用支援,讓 OpenThread 新增自動設定的 SLAAC 位址
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:205
openthread_config_jam_detection_enable
啟用卡紙偵測支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:154
openthread_config_joiner_enable
啟用加入者支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:157
openthread_config_legacy_enable
啟用舊版網路支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:160
openthread_config_link_metrics_initiator_enable
啟用連結指標啟動器
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:163
openthread_config_link_metrics_subject_enable
啟用連結指標主旨
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:166
openthread_config_link_raw_enable
啟用連結原始服務
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:169
openthread_config_log_level_dynamic_enable
啟用動態記錄層級控制項
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:172
openthread_config_log_output
記錄輸出:none、debug_uart、app、platform
目前的值 (預設值): ""
來自 //third_party/openthread/etc/gn/openthread.gni:76
openthread_config_mac_csl_receiver_enable
啟用 CSL 接收器
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:124
openthread_config_mac_filter_enable
啟用 MAC 篩選器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:175
openthread_config_message_use_heap
啟用訊息緩衝區的內建堆積
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:178
openthread_config_mle_long_routes_enable
啟用 MLE 長路徑擴充功能 (實驗性質,會破壞 Thread 一致性)
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:181
openthread_config_mlr_enable
啟用 Thread 1.2 的多點傳播監聽器註冊功能
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:145
openthread_config_multiple_instance_enable
啟用多個執行個體
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:187
openthread_config_ncp_hdlc_enable
啟用 NCP HDLC 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:238
openthread_config_ncp_spi_enable
啟用 NCP SPI 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:235
openthread_config_otns_enable
啟用 OTNS 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:232
openthread_config_ping_sender
啟用連線偵測 (ping) 傳送器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:220
openthread_config_platform_netif_enable
啟用平台 netif 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:190
openthread_config_platform_udp_enable
啟用平台 UDP 支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:193
openthread_config_reference_device_enable
啟用 Thread 測試控管工具參考裝置支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:196
openthread_config_sntp_client_enable
啟用 SNTP 用戶端支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:208
openthread_config_srp_client_enable
啟用 SRP 用戶端支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:211
openthread_config_srp_server_enable
啟用 SRP 伺服器支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:214
openthread_config_tcp_enable
啟用 TCP 支援
目前的值 (預設值): true
來自 //third_party/openthread/etc/gn/openthread.gni:217
openthread_config_thread_version
Thread 版本
目前的值 (預設值): "1.4"
來自 //third_party/openthread/etc/gn/openthread.gni:73
openthread_config_time_sync_enable
啟用時間同步處理服務功能
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:223
openthread_config_tmf_netdata_service_enable
啟用將服務項目插入 Thread 網路資料的支援功能
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:199
openthread_config_tmf_netdiag_client_enable
啟用 TMF 網路診斷用戶端
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:184
openthread_config_udp_forward_enable
啟用 UDP 轉送支援
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:226
openthread_core_config_deps
OpenThread 核心設定的額外依附元件。
目前的值 (預設值): []
來自 //third_party/openthread/etc/gn/openthread.gni:50
openthread_core_config_platform_check_file
OpenThread 平台專屬設定檢查標頭
目前的值 (預設值): ""
來自 //third_party/openthread/etc/gn/openthread.gni:47
openthread_enable_core_config_args
透過 GN 引數設定 OpenThread。
目前的值 (預設值): true
來自 //third_party/openthread/etc/gn/openthread.gni:67
openthread_external_mbedtls
使用外部 mbedtls。如果留空,系統會使用內部 mbedtls。
目前的值 (預設值): ""
來自 //third_party/openthread/etc/gn/openthread.gni:56
openthread_external_platform
使用外部平台。
目前的值 (預設值): ""
來自 //third_party/openthread/etc/gn/openthread.gni:53
openthread_package_name
OpenThread 的套件名稱。
目前的值 (預設值): "OPENTHREAD"
來自 //third_party/openthread/etc/gn/openthread.gni:59
openthread_package_version
OpenThread 的套件版本。
目前的值 (預設值): "1.0.0"
來自 //third_party/openthread/etc/gn/openthread.gni:62
openthread_project_core_config_file
OpenThread 專案專屬核心設定標頭
目前的值 (預設值): ""
來自 //third_party/openthread/etc/gn/openthread.gni:44
openthread_project_include_dirs
加入專案專屬設定的目錄。
目前的值 (預設值): []
來自 //third_party/openthread/etc/gn/openthread.gni:41
openthread_settings_ram
啟用僅限揮發性儲存空間的設定
目前的值 (預設值): false
來自 //third_party/openthread/etc/gn/openthread.gni:202
最佳化
「foo_optimize」引數的全域覆寫。
目前的值 (預設值): false
來自 //build/config/compiler.gni:10
output_breakpad_syms
設定是否要輸出 Fuchsia 二進位檔的 Breakpad 符號。
目前的值 (預設值): false
來自 //build/config/BUILDCONFIG.gn:33
output_gsym
控管是否應輸出 Fuchsia 二進位檔的 GSYM 檔案。
目前的值 (預設值): false
來自 //build/config/BUILDCONFIG.gn:36
package_flavor_selections
用於設定所需的一組套件變種版本。
使用方式:
package_flavor_selections = [ { name = "snazzy" flavor = "with_hooks" }, { name = "some_other_package" flavor = "some_other_flavor" }, ]
上述程式碼指定「snazzy」套件應使用「with_hooks」變種版本,而「some_other_package」應使用「some_other_flavor」變種版本,而非預設變種版本。使用這個範本的所有其他套件都會使用預設套件變種版本。
目前的值 (預設值): []
來自 //build/packages/prebuilt_package_with_flavors.gni:30
perfetto_amalgamated_sdk
由合併的 SDK 版本設定。預設關閉選用的 zlib/re2 功能;使用者可透過 perfetto_sdk_config.h 選擇加入 (請參閱 build_config.h)。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:504
perfetto_build_with_android
Android 藍圖檔案產生器會將這個值設為 true (以及 is_perfetto_build_generator)。這只是在 Android 樹狀結構 (AOSP 和內部) 中建構,與目標 OS 無關。在獨立 Android 版本和 Chromium Android 版本中,這個值為 false。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:90
perfetto_enable_git_rev_version_header
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:328
perfetto_force_dcheck
是否應啟用 DCHECK。值:「on」|「off」|「」。 根據預設 (「」),DCHECK 僅在下列情況啟用: - 已定義 DCHECK_ALWAYS_ON (主要是 Chromium-ism)。 - 偵錯版本 (即未定義 NDEBUG),但僅限 Chromium、Android 和獨立版本。- 在所有其他版本 (例如 SDK) 中,無論 NDEBUG 為何,都會關閉 (除非已定義 DCHECK_ALWAYS_ON)。如要瞭解上述所有項目的實作方式,請參閱 base/logging.h。
目前的值 (預設值): ""
來自 //third_party/perfetto/gn/perfetto.gni:265
perfetto_force_dlog
是否應在偵錯版本 ("")、所有版本 ("on") 或不啟用 ("off") DLOG。根據預設,我們會為嵌入器停用這項功能,以免控制台出現垃圾內容。
目前的值 (預設值): ""
來自 //third_party/perfetto/gn/perfetto.gni:255
perfetto_http_additional_cors_origins
以半形逗號分隔的清單,列出 trace_processor 和 websocket_bridge 中允許的其他 CORS 來源。
目前的值 (預設值): ""
來自 //third_party/perfetto/gn/perfetto.gni:103
perfetto_thread_safety_annotations
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:284
perfetto_use_pkgconfig
由 CrOS 版本使用。使用 pkg-config 判斷適當的標記,以便納入及連結系統程式庫。將 host_pkg_config 設為 BUILD_PKG_CONFIG,並將 pkg_config 設為目標 PKG_CONFIG。注意:如果啟用這項功能,也應啟用 perfetto_use_system_protobuf。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:474
perfetto_use_system_expat
由 NixOS 系統建構作業使用。使用 pkg-config 的系統版本 expat,而非封閉版本。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:478
perfetto_use_system_linenoise
由 NixOS 系統建構作業使用。使用 pkg-config 的 linenoise 系統版本,而非封閉版本。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:482
perfetto_use_system_protobuf
由 CrOS 系統建構作業使用。使用 /usr/include 中的系統版本 protobuf,而非密封版本。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:486
perfetto_use_system_re2
由 NixOS 系統建構作業使用。使用 pkg-config 的系統版本 re2,而非封閉版本。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:490
perfetto_use_system_sqlite
由 CrOS 系統建構作業使用。使用 /usr/include 中的系統版本 sqlite,而非封閉版本。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:494
perfetto_use_system_zlib
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:496
perfetto_use_system_zstd
由 NixOS 系統建構作業使用。使用 pkg-config 的系統版本 zstd,而非封閉版本。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:500
perfetto_verbose_logs_enabled
目前的值 (預設值): true
來自 //third_party/perfetto/gn/perfetto.gni:347
persistent_ram_allocation_granularity
控制永久 RAM 全域集區的分配精細程度。如要使用永久 RAM 在重新啟動後保留資料,所有功能都必須在分配的空間中運作,且分配的空間必須是這個值的倍數。這個值應為 2 的乘冪,且通常應為目標架構快取行大小的倍數。
目前的值 (預設值): 128
來自 //zircon/kernel/params.gni:91
pgo_profile_path
PGO 使用的設定檔資料路徑。
目前的值 (預設值): ""
來自 //build/config/profile/config.gni:47
prebuilt_dart_sdk
包含預先建構 Dart SDK 的目錄。其 bin/ 子目錄中必須有 gen_snapshot.OS-CPU 二進位檔。
目前的值 (預設值): "//prebuilt/third_party/dart/linux-x64"
prebuilt_fastboot
目前的值 (預設值): "//prebuilt/third_party/fastboot/fastboot"
來自 //build/images/tools/fastboot.gni:6
prebuilt_go_dir
prebuilt_go_dir [string] 指向包含預先建構主機 go 二進位檔的目錄。根據預設,這會指向 //prebuilts 目錄。
目前的值 (預設值): "//prebuilt/third_party/go/linux-x64"
product_assembly_overrides
這個 GN 引數可讓開發人員覆寫指定組件目標
這份範圍清單包含兩個欄位: - assembly:(GN 標籤模式) 要套用覆寫值的 GN 標籤 - overrides:(GN 標籤) 一組開發人員覆寫值的標籤
範例:
product_assembly_overrides = [ { assembly = "//products/core/*" overrides = "//local:my_assembly_overrides" } ]
target_cpu = "arm64" 的目前值: []
來自 //out/not-default/args.gn:17
已覆寫預設值: []
來自 //build/assembly/developer_overrides.gni:516
target_cpu = "riscv64" 的目前值: []
來自 //out/not-default/args.gn:17
已覆寫預設值: []
來自 //build/assembly/developer_overrides.gni:516
target_cpu = "x64" 的目前值: []
來自 //out/not-default/args.gn:17
已覆寫預設值: []
來自 //build/assembly/developer_overrides.gni:516
product_assembly_overrides_contents
這個 GN 引數允許在 args.gn 內指定覆寫範本。與上述「product_assembly_overrides_label」引數不相容。
如要使用這個範本,請將其視為「assembly_developer_overrides()」範本,對應的範本會在 //build/assembly/overrides:inlined 例項化,並設為「main」產品組件的覆寫值,就像設定下列項目一樣:
product_assembly_overrides_label = "//build/assembly/overrides:inlined"
目前的值 (預設值): false
來自 //build/assembly/developer_overrides.gni:535
product_assembly_overrides_label
這個 GN 引數提供簡短機制,可設定產品「主要」產品組件使用的開發人員覆寫。如果設定這個屬性,但未定義「main」產品組件,系統就會產生 GN 錯誤。
目前的值 (預設值): false
來自 //build/assembly/developer_overrides.gni:522
product_bundle_labels
除了主要產品組合外,還要組裝的產品組合標籤。
目前的值 (預設值): []
profile_source_files
來源檔案的路徑清單,由 profile 變體檢測。
目前的值 (預設值): ["//*"]
來自 //build/config/profile/config.gni:10
profile_source_files_list_files
Clang -fprofile-list 格式的檔案路徑清單,說明要由 profile 變體檢測的檔案和函式。
目前的值 (預設值): []
來自 //build/config/profile/config.gni:44
proprietary_codecs
目前的值 (預設值): false
來自 //build/config/features.gni:9
pw_assert_BACKEND
pw_assert 模組 CHECK facade 的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/backends/pw_assert"
From //.gn:76
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_assert/backend.gni:19
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/backends/pw_assert"
From //.gn:76
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_assert/backend.gni:19
target_cpu = "x64" 的目前值: "//third_party/pigweed/backends/pw_assert"
From //.gn:76
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_assert/backend.gni:19
pw_assert_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_assert/BUILD.gn:26
pw_assert_LITE_BACKEND
pw_assert 模組 ASSERT facade 的後端。
目前的值 (預設值): "//third_party/pigweed/src/pw_assert:assert_compatibility_backend"
來自 //third_party/pigweed/src/pw_assert/backend.gni:25
pw_async2_DISPATCHER_FOR_TEST_BACKEND
目前的值 (預設值): "//third_party/pigweed/src/pw_async2:basic_dispatcher_for_test"
來自 //third_party/pigweed/src/pw_async2/backend.gni:29
pw_bloat_BLOATY_CONFIG
Bloaty 設定檔的路徑,用於定義目標二進位檔的記憶體版面配置和容量。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_bloat/bloat.gni:23
pw_bloat_SHOW_SIZE_REPORTS
控制是否在建構輸出內容中顯示大小報表。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_bloat/bloat.gni:40
pw_bloat_TOOLCHAINS
要在 pw_toolchain_size_diff 範本中使用的工具鍊清單。
每個項目都是一個範圍,包含下列變數:
name:人類可讀的工具鍊名稱。target:定義工具鍊的 GN 目標。linker_script:選用路徑,指向要為工具鍊目標建構的連結器指令碼檔案。bloaty_config:選用的 Bloaty 設定檔,用於定義連結器指令碼中指定的二進位檔記憶體配置。
如果這份清單空白,pw_toolchain_size_diff 目標就不會執行任何作業。
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_bloat/bloat.gni:37
pw_bluetooth_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_bluetooth/BUILD.gn:30
pw_build_COLORIZE_OUTPUT
控管是否指示編譯器和其他工具使用彩色輸出。
目前的值 (預設值): true
來自 //third_party/pigweed/src/pw_build/defaults.gni:61
pw_build_DEFAULT_MODULE_CONFIG
所有 Pigweed 模組設定的預設實作。
這個變數可讓您從單一 GN 目標設定多個 Pigweed 模組。不過,您仍可直接設定模組的設定後端 (例如 pw_some_module_CONFIG = "//my_config"),個別覆寫模組設定。
模組是透過編譯選項設定。設定實作可能會設定個別編譯器巨集,或使用 -include 旗標強制加入包含多個選項的設定標頭。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_build/module_config.gni:28
pw_build_DEFAULT_VISIBILITY
控管 C/C++ 程式庫和執行檔 (pw_source_set、pw_static_library、pw_shared_library pw_executable) 的預設顯示設定。可以是「*」或路徑清單。
這項功能可透過明確的許可清單,限制 Pigweed 模組的使用。為確保 GN 建構作業正常運作,pw_build_DEFAULT_VISIBILITY 必須一律至少包含 Pigweed 存放區 ("$dir_pigweed/*")。
明確設定目標的可見度會覆寫這項預設值。
目前的值 (預設值): ["*"]
來自 //third_party/pigweed/src/pw_build/defaults.gni:58
pw_build_EXECUTABLE_TARGET_TYPE
用於建構 Pigweed 執行檔的 GN 目標類型名稱。
如果是自訂範本,則必須在目標設定檔頂端匯入包含範本的 .gni 檔案,才能在全域使用。
目前的值 (預設值): "executable"
來自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:39
pw_build_EXECUTABLE_TARGET_TYPE_FILE
定義 pw_build_EXECUTABLE_TARGET_TYPE 的 .gni 檔案路徑。
如果 pw_build_EXECUTABLE_TARGET_TYPE 不是預設的 executable,系統會匯入這個 .gni 檔案,提供範本定義。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:45
pw_build_LINK_DEPS
要新增為 pw_executable、pw_static_library 和 pw_shared_library 目標依附元件的其他建構目標。$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"]
已覆寫預設值: []
來自 //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"]
已覆寫預設值: []
來自 //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"]
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:26
pw_build_PIP_CONSTRAINTS
目前的值 (預設值): ["//third_party/pigweed/src/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list"]
來自 //third_party/pigweed/src/pw_build/python.gni:27
pw_build_PIP_REQUIREMENTS
所有 Pigweed 專案的預設 pip 需求檔案。
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/python.gni:30
pw_build_PYLINT_OUTPUT_FORMAT
pylint 的輸出格式。選項包括「text」和「colorized」。
目前的值 (預設值): "colorized"
來自 //third_party/pigweed/src/pw_build/python.gni:47
pw_build_PYTHON_BUILD_VENV
預設 gn 建構 virtualenv 目標。
target_cpu = "arm64" 的目前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"
From //.gn:126
已覆寫預設值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:23
target_cpu = "riscv64" 的目前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"
From //.gn:126
已覆寫預設值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:23
target_cpu = "x64" 的目前值: "//third_party/pigweed:fuchsia_pigweed_python_venv"
From //.gn:126
已覆寫預設值: "//third_party/pigweed/src/pw_env_setup:pigweed_build_venv"
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:23
pw_build_PYTHON_PIP_DEFAULT_OPTIONS
傳遞至 pip 指令的一般選項 https://pip.pypa.io/en/stable/cli/pip/#general-options
目前的值 (預設值): ["--disable-pip-version-check"]
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:51
pw_build_PYTHON_PIP_DOWNLOAD_ALL_PLATFORMS
DOCSTAG: [default-pip-gn-args] 設定 pw_python_venv.vendor_wheel 目標,下載所有平台組合的 Python 套件。這項作業需要相當長的時間。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:28
pw_build_PYTHON_PIP_INSTALL_DISABLE_CACHE
新增「--no-cache-dir」,強制 pip 忽略先前快取的任何 Python 套件。在大多數系統中,這個檔案位於 ~/.cache/pip/
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:41
pw_build_PYTHON_PIP_INSTALL_FIND_LINKS
包含 Python wheel (.whl) 或來源 tar 檔案 (.tar.gz) 的資料夾路徑清單。Pip 會檢查每個目錄,尋找可能的安裝候選項目。每個路徑都會以「--find-links PATH」的形式傳遞至所有「pip install」指令。
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:47
pw_build_PYTHON_PIP_INSTALL_OFFLINE
新增 --no-index,強制 pip 不連上網際網路 (pypi.org) 下載套件。如要使用這個選項,也必須設定 pw_build_PYTHON_PIP_INSTALL_FIND_LINKS。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:37
pw_build_PYTHON_PIP_INSTALL_REQUIRE_HASHES
新增「--require-hashes」。這個選項會對 Python 套件檔案強制執行雜湊檢查。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:32
pw_build_PYTHON_STATIC_ANALYSIS_TOOLS
DOCSTAG: [python-static-analysis-tools] 預設的 Python 靜態分析工具組合,用於執行 pw_python_package 目標。
目前的值 (預設值): ["pylint", "mypy"]
來自 //third_party/pigweed/src/pw_build/python.gni:34
pw_build_PYTHON_TEST_COVERAGE
如果設為 true,GN 會使用 coverage 指令執行每項 Python 測試。系統會為每項測試儲存個別的涵蓋率資料檔案。如要根據這項資訊產生報表,請執行:pw presubmit --step gn_python_test_coverage
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_build/python.gni:44
pw_build_PYTHON_TOOLCHAIN
Python 工作 (例如執行測試和 Pylint) 會在單一 GN 工具鍊中完成,避免在建構作業中重複執行不必要的作業。
目前的值 (預設值): "//third_party/pigweed/src/pw_build/python_toolchain:python"
來自 //third_party/pigweed/src/pw_build/python_gn_args.gni:20
pw_build_TEST_TRANSITIVE_PYTHON_DEPS
是否要對 pw_python_package 目標的遞移依附元件進行 lint/測試。
舉例來說,如果 lib_a 依附於 lib_b,且 pw_build_TEST_TRANSITIVE_PYTHON_DEPS 為 true,則 lib_a.tests 會在 lib_b.tests 執行後執行。
如果 pw_build_TEST_TRANSITIVE_PYTHON_DEPS 為 false,則直接建構目標 (例如 lib_b.tests),或將 pw_python_package 放在 pw_python_group 中,並建構 group.tests 目標時,系統會執行 pw_python_package 的測試。
這適用於 mypy、pylint、ruff 和測試。
雖然基於相容性考量,這項設定預設為 true,但強烈建議您關閉這項設定,以免對所有外部依附元件進行 lint 檢查和測試。
目前的值 (預設值): true
來自 //third_party/pigweed/src/pw_build/python.gni:64
pw_build_TEST_TRANSITIVE_PYTHON_DEPS_FILTER_EXCLUDES
如要為部分目標啟用遞移依附元件,請使用這個選項篩除不必要的遞移依附元件。例如:[ "$dir_pigweed/*" ]
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/python.gni:69
pw_build_TOOLCHAIN_LINK_DEPS
pw_toolchain 模組會使用 pw_build_TOOLCHAIN_LINK_DEPS 設定預設程式庫依附元件。一般來說,這並非面向使用者,但如果您需要移除此處引入的內容,可以在自己的工具鍊中覆寫這個變數。
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/gn_internal/build_target.gni:32
pw_chre_CONFIG
建構 CHRE 的設定。
target_cpu = "arm64" 的目前值: "//third_party/chre:chre_config"
已覆寫預設值: "//third_party/chre:default_chre_config"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:22
target_cpu = "riscv64" 的目前值: "//third_party/chre:chre_config"
已覆寫預設值: "//third_party/chre:default_chre_config"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:22
target_cpu = "x64" 的目前值: "//third_party/chre:chre_config"
From //.gn:144
已覆寫預設值: "//third_party/chre:default_chre_config"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:22
pw_chre_PLATFORM_BACKEND
CHRE 的平台後端實作。預設為 Pigweed 後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend"
來自 //.gn:145
已覆寫預設值: "//pw_chre:chre_backend"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:28
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend"
來自 //.gn:145
已覆寫預設值: "//pw_chre:chre_backend"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:28
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend"
來自 //.gn:145
已覆寫預設值: "//pw_chre:chre_backend"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:28
pw_chre_PLATFORM_BACKEND_HEADERS
CHRE 的平台後端標頭。預設為 Pigweed 後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"
From //.gn:147
已覆寫預設值: "//pw_chre:chre_backend_headers"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:25
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"
From //.gn:147
已覆寫預設值: "//pw_chre:chre_backend_headers"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:25
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chre:chre_backend_headers"
From //.gn:147
已覆寫預設值: "//pw_chre:chre_backend_headers"
來自 //third_party/pigweed/src/third_party/chre/chre.gni:25
pw_chrono_SYSTEM_CLOCK_BACKEND
pw_chrono 模組 system_clock 的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"
From //.gn:78
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_chrono/backend.gni:17
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"
From //.gn:78
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_chrono/backend.gni:17
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_clock"
From //.gn:78
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_chrono/backend.gni:17
pw_chrono_SYSTEM_TIMER_BACKEND
pw_chrono 模組 system_timer 的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"
From //.gn:80
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_chrono/backend.gni:20
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"
From //.gn:80
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_chrono/backend.gni:20
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_chrono_stl:system_timer"
From //.gn:80
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_chrono/backend.gni:20
pw_command_launcher
編譯指令的前置字串 (例如 Goma 或 CCache 編譯器啟動器的路徑)。ccache 範例: gn gen out --args='pw_command_launcher="ccache"'
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_toolchain/toolchain_args.gni:24
pw_compilation_testing_NEGATIVE_COMPILATION_ENABLED
啟用或停用目前工具鍊的反向編譯測試。預設為停用,因為負面編譯測試會大幅增加 gn gen 時間。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_compilation_testing/negative_compilation_test.gni:24
pw_containers_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_containers/BUILD.gn:31
pw_emboss_build_dir_to_root
從 root_build_dir 到 // 的選用相對路徑,emboss_cc_library 可用來重定 embossc 來源檔案的基準。
一般來說,我們不需要手動定義,而是可以依賴內建 GN 函式,針對 root_build_dir rebase_path(),但如果建構環境中的 //out 是指向 // 外部目錄的符號連結,這種方法就不可靠,因為 GN 一律會將 root_build_dir 提供為絕對符號連結參照路徑。
在這種情況下,我們不應直接使用 root_build_dir,而必須建構 root_build_dir 的「語彙本機」版本,也就是 // 的子路徑。
以下是示範範例:
使用類似以下的專案檔案系統結構:
/home/alice/foo_project (做為 //)
src/foo.emb
out/a_build_dir -> /storage/out/a_build_dir
這個 GN 運算式:
rebase_path("src/foo.emb", "$root_build_dir")
等同於:
rebase_path("/home/alice/foo_project/src/foo.emb", "/storage/out/a_build_dir")
評估結果為:
"../../../home/alice/foo_project/src/foo.emb"
如果輸出目錄不是符號連結,結果會有所不同。在這種情況下,相同的 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_dir 的 symlink_safe_build_dir。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/third_party/emboss/build_defs.gni:75
pw_env_setup_CIPD_BAZEL
目前的值 (預設值): "../../prebuilt/third_party/bazel/linux-x64/bin"
來自 //build_overrides/pigweed_environment.gni:24
pw_env_setup_CIPD_DEFAULT
目前的值 (預設值): "//prebuilt/third_party"
來自 //build_overrides/pigweed_environment.gni:18
pw_env_setup_CIPD_PIGWEED
目前的值 (預設值): "//prebuilt/third_party"
來自 //build_overrides/pigweed_environment.gni:19
pw_env_setup_CIPD_PYTHON
目前的值 (預設值): "../../prebuilt/third_party/python/linux-x64/bin"
來自 //build_overrides/pigweed_environment.gni:21
pw_external_abseil_cpp
目前的值 (預設值): "//third_party/pigweed/src/third_party/abseil-cpp"
來自 //third_party/pigweed/src/modules.gni:39
pw_external_ambiq
目前的值 (預設值): "//third_party/pigweed/src/third_party/ambiq"
來自 //third_party/pigweed/src/modules.gni:40
pw_external_apollo4
目前的值 (預設值): "//third_party/pigweed/src/third_party/apollo4"
來自 //third_party/pigweed/src/modules.gni:41
pw_external_arduino
目前的值 (預設值): "//third_party/pigweed/src/third_party/arduino"
來自 //third_party/pigweed/src/modules.gni:42
pw_external_boringssl
目前的值 (預設值): "//third_party/pigweed/src/third_party/boringssl"
來自 //third_party/pigweed/src/modules.gni:44
pw_external_chre
目前的值 (預設值): "//third_party/pigweed/src/third_party/chre"
來自 //third_party/pigweed/src/modules.gni:45
pw_external_chromium_verifier
目前的值 (預設值): "//third_party/pigweed/src/third_party/chromium_verifier"
來自 //third_party/pigweed/src/modules.gni:47
pw_external_embos
目前的值 (預設值): "//third_party/pigweed/src/third_party/embos"
來自 //third_party/pigweed/src/modules.gni:48
pw_external_emboss
目前的值 (預設值): "//third_party/pigweed/src/third_party/emboss"
來自 //third_party/pigweed/src/modules.gni:49
pw_external_freertos
目前的值 (預設值): "//third_party/pigweed/src/third_party/freertos"
來自 //third_party/pigweed/src/modules.gni:51
pw_external_fuchsia
目前的值 (預設值): "//third_party/pigweed/src/third_party/fuchsia"
來自 //third_party/pigweed/src/modules.gni:52
pw_external_googletest
目前的值 (預設值): "//third_party/pigweed/src/third_party/googletest"
來自 //third_party/pigweed/src/modules.gni:54
pw_external_llvm_builtins
目前的值 (預設值): "//third_party/pigweed/src/third_party/llvm_builtins"
來自 //third_party/pigweed/src/modules.gni:56
pw_external_llvm_libc
目前的值 (預設值): "//third_party/pigweed/src/third_party/llvm_libc"
來自 //third_party/pigweed/src/modules.gni:58
pw_external_llvm_libcxx
目前的值 (預設值): "//third_party/pigweed/src/third_party/llvm_libcxx"
來自 //third_party/pigweed/src/modules.gni:60
pw_external_mbedtls
目前的值 (預設值): "//third_party/pigweed/src/third_party/mbedtls"
來自 //third_party/pigweed/src/modules.gni:61
pw_external_mcuxpresso
目前的值 (預設值): "//third_party/pigweed/src/third_party/mcuxpresso"
來自 //third_party/pigweed/src/modules.gni:63
pw_external_nanopb
目前的值 (預設值): "//third_party/pigweed/src/third_party/nanopb"
來自 //third_party/pigweed/src/modules.gni:64
pw_external_perfetto
目前的值 (預設值): "//third_party/pigweed/src/third_party/perfetto"
來自 //third_party/pigweed/src/modules.gni:66
pw_external_pico_sdk
目前的值 (預設值): "//third_party/pigweed/src/third_party/pico_sdk"
來自 //third_party/pigweed/src/modules.gni:68
pw_external_protobuf
目前的值 (預設值): "//third_party/pigweed/src/third_party/protobuf"
來自 //third_party/pigweed/src/modules.gni:70
pw_external_repo
目前的值 (預設值): "//third_party/pigweed/src/third_party/repo"
來自 //third_party/pigweed/src/modules.gni:71
pw_external_smartfusion_mss
目前的值 (預設值): "//third_party/pigweed/src/third_party/smartfusion_mss"
來自 //third_party/pigweed/src/modules.gni:73
pw_external_stm32cube
目前的值 (預設值): "//third_party/pigweed/src/third_party/stm32cube"
來自 //third_party/pigweed/src/modules.gni:75
pw_external_threadx
目前的值 (預設值): "//third_party/pigweed/src/third_party/threadx"
來自 //third_party/pigweed/src/modules.gni:76
pw_external_tinyusb
目前的值 (預設值): "//third_party/pigweed/src/third_party/tinyusb"
來自 //third_party/pigweed/src/modules.gni:77
pw_log_BACKEND
pw_log 模組的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/backends/pw_log"
From //.gn:81
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_log/backend.gni:17
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/backends/pw_log"
From //.gn:81
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_log/backend.gni:17
target_cpu = "x64" 的目前值: "//third_party/pigweed/backends/pw_log"
From //.gn:81
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_log/backend.gni:17
pw_log_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_log/BUILD.gn:28
pw_log_GLOG_ADAPTER_CONFIG
建構目標,會覆寫這個模組 glog 轉接器部分的預設設定選項。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //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_allocator_zephyr:tests", "//third_party/pigweed/src/pw_analog:tests", "//third_party/pigweed/src/pw_android_toolchain:tests", "//third_party/pigweed/src/pw_arduino_build:tests", "//third_party/pigweed/src/pw_assert:tests", "//third_party/pigweed/src/pw_assert_basic:tests", "//third_party/pigweed/src/pw_assert_fuchsia:tests", "//third_party/pigweed/src/pw_assert_log:tests", "//third_party/pigweed/src/pw_assert_tokenized:tests", "//third_party/pigweed/src/pw_assert_trap:tests", "//third_party/pigweed/src/pw_assert_zephyr:tests", "//third_party/pigweed/src/pw_async:tests", "//third_party/pigweed/src/pw_async2:tests", "//third_party/pigweed/src/pw_async_basic:tests", "//third_party/pigweed/src/pw_async_fuchsia:tests", "//third_party/pigweed/src/pw_atomic:tests", "//third_party/pigweed/src/pw_base64:tests", "//third_party/pigweed/src/pw_bloat:tests", "//third_party/pigweed/src/pw_blob_store:tests", "//third_party/pigweed/src/pw_bluetooth:tests", "//third_party/pigweed/src/pw_bluetooth_hci:tests", "//third_party/pigweed/src/pw_bluetooth_profiles:tests", "//third_party/pigweed/src/pw_bluetooth_proxy:tests", "//third_party/pigweed/src/pw_bluetooth_sapphire:tests", "//third_party/pigweed/src/pw_boot:tests", "//third_party/pigweed/src/pw_boot_cortex_m:tests", "//third_party/pigweed/src/pw_buf:tests", "//third_party/pigweed/src/pw_build:tests", "//third_party/pigweed/src/pw_build_android:tests", "//third_party/pigweed/src/pw_build_info:tests", "//third_party/pigweed/src/pw_build_mcuxpresso:tests", "//third_party/pigweed/src/pw_bytes:tests", "//third_party/pigweed/src/pw_change:tests", "//third_party/pigweed/src/pw_channel:tests", "//third_party/pigweed/src/pw_checksum:tests", "//third_party/pigweed/src/pw_chre:tests", "//third_party/pigweed/src/pw_chrono:tests", "//third_party/pigweed/src/pw_chrono_embos:tests", "//third_party/pigweed/src/pw_chrono_freertos:tests", "//third_party/pigweed/src/pw_chrono_rp2040:tests", "//third_party/pigweed/src/pw_chrono_stl:tests", "//third_party/pigweed/src/pw_chrono_threadx:tests", "//third_party/pigweed/src/pw_chrono_zephyr:tests", "//third_party/pigweed/src/pw_cli:tests", "//third_party/pigweed/src/pw_cli_analytics:tests", "//third_party/pigweed/src/pw_clock_tree:tests", "//third_party/pigweed/src/pw_clock_tree_mcuxpresso:tests", "//third_party/pigweed/src/pw_compilation_testing:tests", "//third_party/pigweed/src/pw_config_loader:tests", "//third_party/pigweed/src/pw_console:tests", "//third_party/pigweed/src/pw_containers:tests", "//third_party/pigweed/src/pw_cpu_exception:tests", "//third_party/pigweed/src/pw_cpu_exception_cortex_m:tests", "//third_party/pigweed/src/pw_cpu_exception_risc_v:tests", "//third_party/pigweed/src/pw_crypto:tests", "//third_party/pigweed/src/pw_digital_io:tests", "//third_party/pigweed/src/pw_digital_io_linux:tests", "//third_party/pigweed/src/pw_digital_io_mcuxpresso:tests", "//third_party/pigweed/src/pw_digital_io_rp2040:tests", "//third_party/pigweed/src/pw_digital_io_zephyr:tests", "//third_party/pigweed/src/pw_display:tests", "//third_party/pigweed/src/pw_dma_mcuxpresso:tests", "//third_party/pigweed/src/pw_docgen:tests", "//third_party/pigweed/src/pw_doctor:tests", "//third_party/pigweed/src/pw_elf:tests", "//third_party/pigweed/src/pw_emu:tests", "//third_party/pigweed/src/pw_enum:tests", "//third_party/pigweed/src/pw_env_setup:tests", "//third_party/pigweed/src/pw_env_setup_zephyr:tests", "//third_party/pigweed/src/pw_file:tests", "//third_party/pigweed/src/pw_flatbuffers:tests", "//third_party/pigweed/src/pw_format:tests", "//third_party/pigweed/src/pw_fortifier:tests", "//third_party/pigweed/src/pw_function:tests", "//third_party/pigweed/src/pw_fuzzer:tests", "//third_party/pigweed/src/pw_ghish:tests", "//third_party/pigweed/src/pw_grpc:tests", "//third_party/pigweed/src/pw_hal:tests", "//third_party/pigweed/src/pw_hdlc:tests", "//third_party/pigweed/src/pw_hex_dump:tests", "//third_party/pigweed/src/pw_hil:tests", "//third_party/pigweed/src/pw_i2c:tests", "//third_party/pigweed/src/pw_i2c_linux:tests", "//third_party/pigweed/src/pw_i2c_mcuxpresso:tests", "//third_party/pigweed/src/pw_i2c_rp2040:tests", "//third_party/pigweed/src/pw_i2c_zephyr:tests", "//third_party/pigweed/src/pw_ide:tests", "//third_party/pigweed/src/pw_interrupt:tests", "//third_party/pigweed/src/pw_interrupt_cortex_m:tests", "//third_party/pigweed/src/pw_interrupt_freertos:tests", "//third_party/pigweed/src/pw_interrupt_zephyr:tests", "//third_party/pigweed/src/pw_intrusive_ptr:tests", "//third_party/pigweed/src/pw_json:tests", "//third_party/pigweed/src/pw_kernel:tests", "//third_party/pigweed/src/pw_kvs:tests", "//third_party/pigweed/src/pw_libc:tests", "//third_party/pigweed/src/pw_libcxx:tests", "//third_party/pigweed/src/pw_log:tests", "//third_party/pigweed/src/pw_log_android:tests", "//third_party/pigweed/src/pw_log_basic:tests", "//third_party/pigweed/src/pw_log_fuchsia:tests", "//third_party/pigweed/src/pw_log_null:tests", "//third_party/pigweed/src/pw_log_rpc:tests", "//third_party/pigweed/src/pw_log_string:tests", "//third_party/pigweed/src/pw_log_tokenized:tests", "//third_party/pigweed/src/pw_log_zephyr:tests", "//third_party/pigweed/src/pw_malloc:tests", "//third_party/pigweed/src/pw_malloc_freelist:tests", "//third_party/pigweed/src/pw_malloc_freertos:tests", "//third_party/pigweed/src/pw_memory:tests", "//third_party/pigweed/src/pw_metric:tests", "//third_party/pigweed/src/pw_module:tests", "//third_party/pigweed/src/pw_multibuf:tests", "//third_party/pigweed/src/pw_multisink:tests", "//third_party/pigweed/src/pw_numeric:tests", "//third_party/pigweed/src/pw_package:tests", "//third_party/pigweed/src/pw_perf_test:tests", "//third_party/pigweed/src/pw_persistent_ram:tests", "//third_party/pigweed/src/pw_polyfill:tests", "//third_party/pigweed/src/pw_preprocessor:tests", "//third_party/pigweed/src/pw_presubmit:tests", "//third_party/pigweed/src/pw_protobuf:tests", "//third_party/pigweed/src/pw_protobuf_compiler:tests", "//third_party/pigweed/src/pw_random:tests", "//third_party/pigweed/src/pw_random_fuchsia:tests", "//third_party/pigweed/src/pw_result:tests", "//third_party/pigweed/src/pw_ring_buffer:tests", "//third_party/pigweed/src/pw_router:tests", "//third_party/pigweed/src/pw_rpc:tests", "//third_party/pigweed/src/pw_rpc2:tests", "//third_party/pigweed/src/pw_rpc_transport:tests", "//third_party/pigweed/src/pw_rust:tests", "//third_party/pigweed/src/pw_sensor:tests", "//third_party/pigweed/src/pw_snapshot:tests", "//third_party/pigweed/src/pw_software_update:tests", "//third_party/pigweed/src/pw_span:tests", "//third_party/pigweed/src/pw_spi:tests", "//third_party/pigweed/src/pw_spi_linux:tests", "//third_party/pigweed/src/pw_spi_mcuxpresso:tests", "//third_party/pigweed/src/pw_spi_rp2040:tests", "//third_party/pigweed/src/pw_spi_zephyr:tests", "//third_party/pigweed/src/pw_status:tests", "//third_party/pigweed/src/pw_stm32cube_build:tests", "//third_party/pigweed/src/pw_stream:tests", "//third_party/pigweed/src/pw_stream_uart_linux:tests", "//third_party/pigweed/src/pw_stream_uart_mcuxpresso:tests", "//third_party/pigweed/src/pw_string:tests", "//third_party/pigweed/src/pw_symbolizer:tests", "//third_party/pigweed/src/pw_sync:tests", "//third_party/pigweed/src/pw_sync_baremetal:tests", "//third_party/pigweed/src/pw_sync_embos:tests", "//third_party/pigweed/src/pw_sync_freertos:tests", "//third_party/pigweed/src/pw_sync_stl:tests", "//third_party/pigweed/src/pw_sync_threadx:tests", "//third_party/pigweed/src/pw_sync_zephyr:tests", "//third_party/pigweed/src/pw_sys_io:tests", "//third_party/pigweed/src/pw_sys_io_ambiq_sdk:tests", "//third_party/pigweed/src/pw_sys_io_arduino:tests", "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb:tests", "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429:tests", "//third_party/pigweed/src/pw_sys_io_emcraft_sf2:tests", "//third_party/pigweed/src/pw_sys_io_mcuxpresso:tests", "//third_party/pigweed/src/pw_sys_io_rp2040:tests", "//third_party/pigweed/src/pw_sys_io_stdio:tests", "//third_party/pigweed/src/pw_sys_io_stm32cube:tests", "//third_party/pigweed/src/pw_sys_io_zephyr:tests", "//third_party/pigweed/src/pw_system:tests", "//third_party/pigweed/src/pw_target_runner:tests", "//third_party/pigweed/src/pw_thread:tests", "//third_party/pigweed/src/pw_thread_embos:tests", "//third_party/pigweed/src/pw_thread_freertos:tests", "//third_party/pigweed/src/pw_thread_stl:tests", "//third_party/pigweed/src/pw_thread_threadx:tests", "//third_party/pigweed/src/pw_thread_zephyr:tests", "//third_party/pigweed/src/pw_time:tests", "//third_party/pigweed/src/pw_tls_client:tests", "//third_party/pigweed/src/pw_tls_client_boringssl:tests", "//third_party/pigweed/src/pw_tls_client_mbedtls:tests", "//third_party/pigweed/src/pw_tokenizer:tests", "//third_party/pigweed/src/pw_toolchain:tests", "//third_party/pigweed/src/pw_trace:tests", "//third_party/pigweed/src/pw_trace_tokenized:tests", "//third_party/pigweed/src/pw_transfer:tests", "//third_party/pigweed/src/pw_transport:tests", "//third_party/pigweed/src/pw_uart:tests", "//third_party/pigweed/src/pw_uart_mcuxpresso:tests", "//third_party/pigweed/src/pw_unit_test:tests", "//third_party/pigweed/src/pw_uuid:tests", "//third_party/pigweed/src/pw_varint:tests", "//third_party/pigweed/src/pw_watch:tests", "//third_party/pigweed/src/pw_web:tests", "//third_party/pigweed/src/pw_work_queue:tests"]
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:445
pw_modules
所有 Pigweed 模組的路徑清單。請勿設定這個建構引數!
目前的值 (預設值): ["//third_party/pigweed/src/docker", "//third_party/pigweed/src/pw_alignment", "//third_party/pigweed/src/pw_allocator", "//third_party/pigweed/src/pw_allocator_zephyr", "//third_party/pigweed/src/pw_analog", "//third_party/pigweed/src/pw_android_toolchain", "//third_party/pigweed/src/pw_arduino_build", "//third_party/pigweed/src/pw_assert", "//third_party/pigweed/src/pw_assert_basic", "//third_party/pigweed/src/pw_assert_fuchsia", "//third_party/pigweed/src/pw_assert_log", "//third_party/pigweed/src/pw_assert_tokenized", "//third_party/pigweed/src/pw_assert_trap", "//third_party/pigweed/src/pw_assert_zephyr", "//third_party/pigweed/src/pw_async", "//third_party/pigweed/src/pw_async2", "//third_party/pigweed/src/pw_async_basic", "//third_party/pigweed/src/pw_async_fuchsia", "//third_party/pigweed/src/pw_atomic", "//third_party/pigweed/src/pw_base64", "//third_party/pigweed/src/pw_bloat", "//third_party/pigweed/src/pw_blob_store", "//third_party/pigweed/src/pw_bluetooth", "//third_party/pigweed/src/pw_bluetooth_hci", "//third_party/pigweed/src/pw_bluetooth_profiles", "//third_party/pigweed/src/pw_bluetooth_proxy", "//third_party/pigweed/src/pw_bluetooth_sapphire", "//third_party/pigweed/src/pw_boot", "//third_party/pigweed/src/pw_boot_cortex_m", "//third_party/pigweed/src/pw_buf", "//third_party/pigweed/src/pw_build", "//third_party/pigweed/src/pw_build_android", "//third_party/pigweed/src/pw_build_info", "//third_party/pigweed/src/pw_build_mcuxpresso", "//third_party/pigweed/src/pw_bytes", "//third_party/pigweed/src/pw_change", "//third_party/pigweed/src/pw_channel", "//third_party/pigweed/src/pw_checksum", "//third_party/pigweed/src/pw_chre", "//third_party/pigweed/src/pw_chrono", "//third_party/pigweed/src/pw_chrono_embos", "//third_party/pigweed/src/pw_chrono_freertos", "//third_party/pigweed/src/pw_chrono_rp2040", "//third_party/pigweed/src/pw_chrono_stl", "//third_party/pigweed/src/pw_chrono_threadx", "//third_party/pigweed/src/pw_chrono_zephyr", "//third_party/pigweed/src/pw_cli", "//third_party/pigweed/src/pw_cli_analytics", "//third_party/pigweed/src/pw_clock_tree", "//third_party/pigweed/src/pw_clock_tree_mcuxpresso", "//third_party/pigweed/src/pw_compilation_testing", "//third_party/pigweed/src/pw_config_loader", "//third_party/pigweed/src/pw_console", "//third_party/pigweed/src/pw_containers", "//third_party/pigweed/src/pw_cpu_exception", "//third_party/pigweed/src/pw_cpu_exception_cortex_m", "//third_party/pigweed/src/pw_cpu_exception_risc_v", "//third_party/pigweed/src/pw_crypto", "//third_party/pigweed/src/pw_digital_io", "//third_party/pigweed/src/pw_digital_io_linux", "//third_party/pigweed/src/pw_digital_io_mcuxpresso", "//third_party/pigweed/src/pw_digital_io_rp2040", "//third_party/pigweed/src/pw_digital_io_zephyr", "//third_party/pigweed/src/pw_display", "//third_party/pigweed/src/pw_dma_mcuxpresso", "//third_party/pigweed/src/pw_docgen", "//third_party/pigweed/src/pw_doctor", "//third_party/pigweed/src/pw_elf", "//third_party/pigweed/src/pw_emu", "//third_party/pigweed/src/pw_enum", "//third_party/pigweed/src/pw_env_setup", "//third_party/pigweed/src/pw_env_setup_zephyr", "//third_party/pigweed/src/pw_file", "//third_party/pigweed/src/pw_flatbuffers", "//third_party/pigweed/src/pw_format", "//third_party/pigweed/src/pw_fortifier", "//third_party/pigweed/src/pw_function", "//third_party/pigweed/src/pw_fuzzer", "//third_party/pigweed/src/pw_ghish", "//third_party/pigweed/src/pw_grpc", "//third_party/pigweed/src/pw_hal", "//third_party/pigweed/src/pw_hdlc", "//third_party/pigweed/src/pw_hex_dump", "//third_party/pigweed/src/pw_hil", "//third_party/pigweed/src/pw_i2c", "//third_party/pigweed/src/pw_i2c_linux", "//third_party/pigweed/src/pw_i2c_mcuxpresso", "//third_party/pigweed/src/pw_i2c_rp2040", "//third_party/pigweed/src/pw_i2c_zephyr", "//third_party/pigweed/src/pw_ide", "//third_party/pigweed/src/pw_interrupt", "//third_party/pigweed/src/pw_interrupt_cortex_m", "//third_party/pigweed/src/pw_interrupt_freertos", "//third_party/pigweed/src/pw_interrupt_zephyr", "//third_party/pigweed/src/pw_intrusive_ptr", "//third_party/pigweed/src/pw_json", "//third_party/pigweed/src/pw_kernel", "//third_party/pigweed/src/pw_kvs", "//third_party/pigweed/src/pw_libc", "//third_party/pigweed/src/pw_libcxx", "//third_party/pigweed/src/pw_log", "//third_party/pigweed/src/pw_log_android", "//third_party/pigweed/src/pw_log_basic", "//third_party/pigweed/src/pw_log_fuchsia", "//third_party/pigweed/src/pw_log_null", "//third_party/pigweed/src/pw_log_rpc", "//third_party/pigweed/src/pw_log_string", "//third_party/pigweed/src/pw_log_tokenized", "//third_party/pigweed/src/pw_log_zephyr", "//third_party/pigweed/src/pw_malloc", "//third_party/pigweed/src/pw_malloc_freelist", "//third_party/pigweed/src/pw_malloc_freertos", "//third_party/pigweed/src/pw_memory", "//third_party/pigweed/src/pw_metric", "//third_party/pigweed/src/pw_module", "//third_party/pigweed/src/pw_multibuf", "//third_party/pigweed/src/pw_multisink", "//third_party/pigweed/src/pw_numeric", "//third_party/pigweed/src/pw_package", "//third_party/pigweed/src/pw_perf_test", "//third_party/pigweed/src/pw_persistent_ram", "//third_party/pigweed/src/pw_polyfill", "//third_party/pigweed/src/pw_preprocessor", "//third_party/pigweed/src/pw_presubmit", "//third_party/pigweed/src/pw_protobuf", "//third_party/pigweed/src/pw_protobuf_compiler", "//third_party/pigweed/src/pw_random", "//third_party/pigweed/src/pw_random_fuchsia", "//third_party/pigweed/src/pw_result", "//third_party/pigweed/src/pw_ring_buffer", "//third_party/pigweed/src/pw_router", "//third_party/pigweed/src/pw_rpc", "//third_party/pigweed/src/pw_rpc2", "//third_party/pigweed/src/pw_rpc_transport", "//third_party/pigweed/src/pw_rust", "//third_party/pigweed/src/pw_sensor", "//third_party/pigweed/src/pw_snapshot", "//third_party/pigweed/src/pw_software_update", "//third_party/pigweed/src/pw_span", "//third_party/pigweed/src/pw_spi", "//third_party/pigweed/src/pw_spi_linux", "//third_party/pigweed/src/pw_spi_mcuxpresso", "//third_party/pigweed/src/pw_spi_rp2040", "//third_party/pigweed/src/pw_spi_zephyr", "//third_party/pigweed/src/pw_status", "//third_party/pigweed/src/pw_stm32cube_build", "//third_party/pigweed/src/pw_stream", "//third_party/pigweed/src/pw_stream_uart_linux", "//third_party/pigweed/src/pw_stream_uart_mcuxpresso", "//third_party/pigweed/src/pw_string", "//third_party/pigweed/src/pw_symbolizer", "//third_party/pigweed/src/pw_sync", "//third_party/pigweed/src/pw_sync_baremetal", "//third_party/pigweed/src/pw_sync_embos", "//third_party/pigweed/src/pw_sync_freertos", "//third_party/pigweed/src/pw_sync_stl", "//third_party/pigweed/src/pw_sync_threadx", "//third_party/pigweed/src/pw_sync_zephyr", "//third_party/pigweed/src/pw_sys_io", "//third_party/pigweed/src/pw_sys_io_ambiq_sdk", "//third_party/pigweed/src/pw_sys_io_arduino", "//third_party/pigweed/src/pw_sys_io_baremetal_lm3s6965evb", "//third_party/pigweed/src/pw_sys_io_baremetal_stm32f429", "//third_party/pigweed/src/pw_sys_io_emcraft_sf2", "//third_party/pigweed/src/pw_sys_io_mcuxpresso", "//third_party/pigweed/src/pw_sys_io_rp2040", "//third_party/pigweed/src/pw_sys_io_stdio", "//third_party/pigweed/src/pw_sys_io_stm32cube", "//third_party/pigweed/src/pw_sys_io_zephyr", "//third_party/pigweed/src/pw_system", "//third_party/pigweed/src/pw_target_runner", "//third_party/pigweed/src/pw_thread", "//third_party/pigweed/src/pw_thread_embos", "//third_party/pigweed/src/pw_thread_freertos", "//third_party/pigweed/src/pw_thread_stl", "//third_party/pigweed/src/pw_thread_threadx", "//third_party/pigweed/src/pw_thread_zephyr", "//third_party/pigweed/src/pw_time", "//third_party/pigweed/src/pw_tls_client", "//third_party/pigweed/src/pw_tls_client_boringssl", "//third_party/pigweed/src/pw_tls_client_mbedtls", "//third_party/pigweed/src/pw_tokenizer", "//third_party/pigweed/src/pw_toolchain", "//third_party/pigweed/src/pw_trace", "//third_party/pigweed/src/pw_trace_tokenized", "//third_party/pigweed/src/pw_transfer", "//third_party/pigweed/src/pw_transport", "//third_party/pigweed/src/pw_uart", "//third_party/pigweed/src/pw_uart_mcuxpresso", "//third_party/pigweed/src/pw_unit_test", "//third_party/pigweed/src/pw_uuid", "//third_party/pigweed/src/pw_varint", "//third_party/pigweed/src/pw_watch", "//third_party/pigweed/src/pw_web", "//third_party/pigweed/src/pw_work_queue"]
來自 //third_party/pigweed/src/pw_build/generated_pigweed_modules_lists.gni:246
pw_preprocessor_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_preprocessor/BUILD.gn:25
pw_protobuf_compiler_GENERATE_LEGACY_ENUM_SNAKE_CASE_NAMES
pwpb 先前產生的欄位列舉名稱採用 蛇形命名法,而非 kConstantCase。將程式碼集遷移至 kConstantCase 時,請將這個變數設為暫時啟用舊版 SNAKE_CASE 支援。b/266298474
目前的值 (預設值): false
來自 //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
產生 .pyi 檔案,用於 Python 類型提示。這需要 PATH 上有「protoc-gen-mypy」。
target_cpu = "arm64" 的目前值: false
From //.gn:140
已覆寫預設值: true
來自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40
target_cpu = "riscv64" 的目前值: false
From //.gn:140
已覆寫預設值: true
來自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40
target_cpu = "x64" 的目前值: false
From //.gn:140
已覆寫預設值: true
來自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:40
pw_protobuf_compiler_NO_GENERIC_OPTIONS_FILES
如果設為 true,則必須使用 pw_protobuf 選項檔案的 .pwpb_options 擴充功能。如果為 false,則允許使用一般 .options。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:32
pw_protobuf_compiler_NO_ONEOF_CALLBACKS
如果設為 true,則會停用 oneof 欄位的回呼介面,並保留舊版「oneof 做為 struct 成員」介面。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_protobuf_compiler/toolchain.gni:36
pw_protobuf_compiler_PROTOC_BINARY
如要覆寫使用的 protobuf 編譯器,請將此值設為 protoc 二進位檔的路徑 (相對於 root_build_dir)。
target_cpu = "arm64" 的目前值: "host_x64/protoc"
From //.gn:130
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59
target_cpu = "riscv64" 的目前值: "host_x64/protoc"
From //.gn:130
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59
target_cpu = "x64" 的目前值: "host_x64/protoc"
From //.gn:130
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:59
pw_protobuf_compiler_PROTOC_PYTHON_DEPS
執行 protoc 時要納入的選用 Python 套件依附元件。
target_cpu = "arm64" 的目前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]
From //.gn:134
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42
target_cpu = "riscv64" 的目前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]
From //.gn:134
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42
target_cpu = "x64" 的目前值: ["//third_party/pigweed/backends/pw_protobuf_compiler:protoc_python_package"]
From //.gn:134
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:42
pw_protobuf_compiler_PROTOC_TARGET
如要覆寫使用的 protobuf 編譯器,請將此值設為建構 protobuf 編譯器的 GN 目標。
target_cpu = "arm64" 的目前值: "//third_party/protobuf:protoc"
From //.gn:129
已覆寫預設值: ""
From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39
target_cpu = "riscv64" 的目前值: "//third_party/protobuf:protoc"
From //.gn:129
已覆寫預設值: ""
From //third_party/pigweed/src/pw_protobuf_compiler/proto.gni:39
target_cpu = "x64" 的目前值: "//third_party/protobuf:protoc"
From //.gn:129
已覆寫預設值: ""
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
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_toolchain/rbe.gni:30
pw_rbe_clang_config
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_toolchain/rbe.gni:29
pw_rust_ENABLE_EXPERIMENTAL_BUILD
啟用 Pigweed 的 Rust 程式庫編譯功能。
警告:這是實驗功能,不保證能正常運作。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_rust/rust.gni:19
pw_rust_USE_STD
目前的值 (預設值): true
來自 //third_party/pigweed/src/pw_rust/rust.gni:21
pw_span_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
大多數模組都依賴 pw_build_DEFAULT_MODULE_CONFIG 做為預設設定,但由於此模組的設定選項需要與建構系統互動,因此預設為內部設定,以正確支援 pw_span_ENABLE_ASSERTS。
目前的值 (預設值): "//third_party/pigweed/src/pw_span:span_asserts"
來自 //third_party/pigweed/src/pw_span/BUILD.gn:37
pw_span_ENABLE_ASSERTS
是否要在 pw::span 中啟用邊界檢查斷言。啟用這項功能可能會大幅增加二進位檔大小,且如果 pw_assert 後端的標頭直接或間接依附於 pw_span,則可能會導致依附元件循環。建議盡可能為偵錯版本啟用這項功能。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_span/BUILD.gn:27
pw_status_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_status/BUILD.gn:26
pw_string_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//third_party/pigweed/src/pw_build:empty"
來自 //third_party/pigweed/src/pw_string/BUILD.gn:26
pw_sync_BINARY_SEMAPHORE_BACKEND
pw_sync 模組二進位信號量的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:binary_semaphore_backend"
From //.gn:83
已覆寫預設值: ""
來自 //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
已覆寫預設值: ""
來自 //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
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:17
pw_sync_CONDITION_VARIABLE_BACKEND
pw_sync 模組條件變數的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:20
pw_sync_COUNTING_SEMAPHORE_BACKEND
pw_sync 模組計數信號的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:23
pw_sync_INTERRUPT_SPIN_LOCK_BACKEND
pw_sync 模組中斷旋轉鎖定的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:interrupt_spin_lock"
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:35
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:interrupt_spin_lock"
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:35
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:interrupt_spin_lock"
已覆寫預設值: ""
來自 //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:86
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:26
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"
From //.gn:86
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:26
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync_stl:mutex_backend"
From //.gn:86
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:26
pw_sync_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK
是否應將 GN 斷言設為靜音,以確保選擇與 pw_chrono_SYSTEM_CLOCK_BACKEND 相容的後端。設為 true 即可停用斷言。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_sync/backend.gni:46
pw_sync_RECURSIVE_MUTEX_BACKEND
pw_sync 模組遞迴互斥鎖的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:32
pw_sync_THREAD_NOTIFICATION_BACKEND
pw_sync 模組執行緒通知的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"
From //.gn:87
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:38
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"
From //.gn:87
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:38
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_thread_notification_backend"
From //.gn:87
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:38
pw_sync_TIMED_MUTEX_BACKEND
pw_sync 模組計時互斥鎖的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:29
pw_sync_TIMED_THREAD_NOTIFICATION_BACKEND
pw_sync 模組計時執行緒通知的後端。
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"
From //.gn:88
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:41
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"
From //.gn:88
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:41
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_sync:binary_semaphore_timed_thread_notification_backend"
From //.gn:88
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_sync/backend.gni:41
pw_third_party_boringssl_ALIAS
建立「$pw_external_boringssl」目標,為現有目標設定別名。如果下游專案使用自己的 boringssl 目標,且無法變更為僅使用 Pigweed 的 boringssl,則可使用這項功能修正菱形依附元件衝突。
target_cpu = "arm64" 的目前值: "//third_party/boringssl"
From //.gn:107
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25
target_cpu = "riscv64" 的目前值: "//third_party/boringssl"
From //.gn:107
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25
target_cpu = "x64" 的目前值: "//third_party/boringssl"
From //.gn:107
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/boringssl/boringssl.gni:25
pw_third_party_emboss_CONFIG
目前的值 (預設值): "//third_party/pigweed/src/third_party/emboss:default_overrides"
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:24
pw_third_party_emboss_USE_GEN_SOURCES
使用 Emboss 專案提供的預先產生來源清單。這個標記只是暫時使用,直到下游使用者有足夠時間將 Emboss 更新至新版本。TODO(b/449017056): Remove this flag when downstream users have migrated.
target_cpu = "arm64" 的目前值: "true"
From //.gn:111
已覆寫預設值: "false"
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:30
target_cpu = "riscv64" 的目前值: "true"
From //.gn:111
已覆寫預設值: "false"
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:30
target_cpu = "x64" 的目前值: "true"
From //.gn:111
已覆寫預設值: "false"
來自 //third_party/pigweed/src/third_party/emboss/emboss.gni:30
pw_third_party_googletest_ALIAS
如果使用自訂 googletest 目標進行編譯,請將這個變數設為指向其標籤。與 dir_pw_third_party_googletest 定義不相容。
target_cpu = "arm64" 的目前值: "//third_party/googletest:gmock_no_testonly"
From //.gn:156
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/googletest/googletest.gni:24
target_cpu = "riscv64" 的目前值: "//third_party/googletest:gmock_no_testonly"
From //.gn:156
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/googletest/googletest.gni:24
target_cpu = "x64" 的目前值: "//third_party/googletest:gmock_no_testonly"
From //.gn:156
已覆寫預設值: ""
來自 //third_party/pigweed/src/third_party/googletest/googletest.gni:24
pw_third_party_mbedtls_CONFIG_HEADER
目前的值 (預設值): "//third_party/pigweed/src/third_party/mbedtls/configs/config_pigweed.h"
來自 //third_party/pigweed/src/third_party/mbedtls/mbedtls.gni:33
pw_third_party_nanopb_AGGRESSIVE_NANOPB_PB2_REGEN
已淘汰,沒有任何作用。
目前的值 (預設值): true
來自 //third_party/pigweed/src/third_party/nanopb/nanopb.gni:30
pw_third_party_nanopb_CONFIG
覆寫這個模組預設設定選項的建構目標。這應指向透過公開設定提供定義的來源集 (可能包含檔案或直接新增定義)。
目前的值 (預設值): "//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 的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:19
pw_thread_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK
是否應將 GN 斷言設為靜音,以確保選擇與 pw_chrono_SYSTEM_CLOCK_BACKEND 相容的後端。設為 true 即可停用斷言。
目前的值 (預設值): false
來自 //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:90
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:22
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_thread_stl:sleep"
From //.gn:90
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:22
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_thread_stl:sleep"
From //.gn:90
已覆寫預設值: ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:22
pw_thread_TEST_THREAD_CONTEXT_BACKEND
pw_thread 模組 pw::執行緒::test_thread_context 的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:37
pw_thread_THREAD_BACKEND
pw_thread 模組 pw::Thread 的後端,用於建立執行緒。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:25
pw_thread_THREAD_CREATION_BACKEND
目前的值 (預設值): "//third_party/pigweed/src/pw_thread:generic_thread_creation_unsupported"
來自 //third_party/pigweed/src/pw_thread/backend.gni:31
pw_thread_THREAD_ITERATION_BACKEND
pw_thread 模組 pw::執行緒::thread_iteration 的後端。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_thread/backend.gni:45
pw_thread_YIELD_BACKEND
pw_thread 模組 pw::執行緒::yield 的後端。
目前的值 (預設值): ""
來自 //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 = "" 指令:「clang」(來自 PATH)
pw_toolchain_CLANG_PREFIX = "my-" command: "my-clang" (from PATH)
pw_toolchain_CLANG_PREFIX = "/bin/my-" command: "/bin/my-clang" (絕對路徑)
pw_toolchain_CLANG_PREFIX = "//environment/clang_next/" command: "../environment/clang_next/clang" (相對路徑)
GN 範本應使用 pw_toolchain_clang_tools.* 取得預期的指令字串,而非直接依賴 pw_toolchain_CLANG_PREFIX。
如果前置字串開頭為「//」,則會重新設定基準,使其相對於根建構目錄。
目前的值 (預設值): "//prebuilt/third_party/bin/"
來自 //third_party/pigweed/src/pw_toolchain/clang_tools.gni:58
pw_toolchain_COVERAGE_ENABLED
指出這個工具鍊是否支援從 pw_test 目標產生涵蓋率報表。
舉例來說,執行 clang-tidy 而非測試二進位檔本身的靜態分析工具鍊無法產生涵蓋率報表。
這通常是由個別工具鍊設定,而非 GN 引數。
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:32
pw_toolchain_PROFILE_SOURCE_FILES
要選擇性收集涵蓋率的來源檔案清單。
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:35
pw_toolchain_RBE_DEBUG
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_toolchain/rbe.gni:26
pw_toolchain_RUST_PREFIX
這個旗標可讓您指定 rustc 的前置字元。
這項規則與 pw_toolchain_CLANG_PREFIX 相同,詳情請參閱上文。
如果前置字串開頭為「//」,則會重新設定基準,使其相對於根建構目錄。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_toolchain/clang_tools.gni:67
pw_toolchain_SANITIZERS
設定要傳遞至 clang 的清理工具。有效值為「address」、「memory」、「執行緒」、「undefined」、「undefined_heuristic」。
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_toolchain/host_clang/toolchains.gni:23
pw_toolchain_SCOPE
定義目前工具鍊的範圍。包含 generate_toolchain 範本所需的所有引數。請勿手動修改。
目前的值 (預設值): { }
來自 //third_party/pigweed/src/pw_toolchain/toolchain_args.gni:18
pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS
停用特定 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/."]
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:48
pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES
規則運算式,用於比對要從分析中排除的來源檔案路徑。clang-tidy 不提供替代選項。
舉例來說,下列指令會停用 third_party 目錄中所有來源檔案的 clang-tidy:
pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES = ["third_party/.*"]
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_toolchain/static_analysis_toolchain.gni:33
pw_toolchain_USE_RBE
目前的值 (預設值): false
來自 //third_party/pigweed/src/pw_toolchain/rbe.gni:20
pw_unit_test_AUTOMATIC_RUNNER
測試執行元件的路徑,用於在建構單元測試後自動執行測試。
如果設定,pw_test 目標的 <target_name>.run 動作會叫用這個引數指定的測試執行元件,並傳遞要執行的單元測試路徑。如果未設定,pw_test 目標的 <target_name>.run 步驟就不會執行任何操作。
如果目標不支援平行執行單元測試 (例如裝置端單元測試執行元件必須刷新裝置並依序執行測試),則應將 pw_unit_test_POOL_DEPTH 設為 1。
類型:字串 (PATH 上的執行檔名稱,或執行檔的路徑) 用途:僅限工具鍊控制
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_unit_test/test.gni:53
pw_unit_test_AUTOMATIC_RUNNER_ARGS
選用引數清單,用於轉送至自動執行元件。
類型:字串清單 (要傳遞至 pw_unit_test_AUTOMATIC_RUNNER 的引數) 用途:僅限工具鍊控制
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_unit_test/test.gni:59
pw_unit_test_AUTOMATIC_RUNNER_TIMEOUT
透過自動執行元件執行測試時,可選擇套用逾時設定。逾時時間以秒為單位。預設為空白,表示沒有逾時。
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_unit_test/test.gni:63
pw_unit_test_BACKEND
單元測試架構實作。預設為 pw_unit_test:light,會實作可在裝置上安全執行的 GoogleTest 子集。使用 GoogleTest 時,請設為 //pw_unit_test:googletest。
類型:字串 (來源集的 GN 路徑) 用途:僅限工具鍊控制
target_cpu = "arm64" 的目前值: "//third_party/pigweed/src/pw_unit_test:googletest"
From //.gn:151
已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:light"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:31
target_cpu = "riscv64" 的目前值: "//third_party/pigweed/src/pw_unit_test:googletest"
From //.gn:151
已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:light"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:31
target_cpu = "x64" 的目前值: "//third_party/pigweed/src/pw_unit_test:googletest"
From //.gn:151
已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:light"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:31
pw_unit_test_EXECUTABLE_TARGET_TYPE
用於建構 pw_unit_test 執行檔的 GN 目標類型名稱。
類型:字串 (GN 範本名稱) 用途:僅限工具鍊控制
目前的值 (預設值): "pw_executable"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:92
pw_unit_test_EXECUTABLE_TARGET_TYPE_FILE
定義 pw_unit_test_EXECUTABLE_TARGET_TYPE 的 .gni 檔案路徑。
如果 pw_unit_test_EXECUTABLE_TARGET_TYPE 不是預設的 pw_executable,系統會匯入這個 .gni 檔案,提供範本定義。
類型:字串 (.gni 檔案的路徑) 用途:僅限工具鍊控制
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_unit_test/test.gni:102
pw_unit_test_MAIN
pw_test 單元測試二進位檔的主要函式實作。必須設為 pw_unit_test 後端的適當目標。
類型:字串 (來源集的 GN 路徑) 用途:僅限工具鍊控制
target_cpu = "arm64" 的目前值: "//src/lib/fxl/test:gtest_main"
From //.gn:149
已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:38
target_cpu = "riscv64" 的目前值: "//src/lib/fxl/test:gtest_main"
來自 //.gn:149
已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:38
target_cpu = "x64" 的目前值: "//src/lib/fxl/test:gtest_main"
From //.gn:149
已覆寫預設值: "//third_party/pigweed/src/pw_unit_test:simple_printing_main"
來自 //third_party/pigweed/src/pw_unit_test/test.gni:38
pw_unit_test_POOL_DEPTH
目前工具鍊可同時執行的單元測試數量上限。如果將這個值設為 0,就會停用集區,允許無限平行處理。
類型:整數 用途:僅限工具鍊控制
目前的值 (預設值): 0
來自 //third_party/pigweed/src/pw_unit_test/test.gni:76
pw_unit_test_POOL_TOOLCHAIN
參照 pw_unit_test 執行元件集區時要使用的工具鍊。如果停用這項功能,系統會使用目前的工具鍊。這表示每個工具鍊都會使用自己的集區定義。如果兩個工具鍊應共用同一個集區,這個引數應由其中一個工具鍊傳遞至另一個工具鍊的 GN 路徑。
類型:字串 (工具鍊的 GN 路徑) 用途:僅限工具鍊控制
目前的值 (預設值): ""
來自 //third_party/pigweed/src/pw_unit_test/test.gni:86
pw_unit_test_TESTONLY
如果為 true,pw_unit_test 目標、pw_test 目標和 pw_test_group 目標會定義 testonly = true。為確保回溯相容性,這個欄位預設為 false。
target_cpu = "arm64" 的目前值: true
From //.gn:152
已覆寫預設值: false
來自 //third_party/pigweed/src/pw_unit_test/test.gni:107
target_cpu = "riscv64" 的目前值: true
From //.gn:152
已覆寫預設值: false
來自 //third_party/pigweed/src/pw_unit_test/test.gni:107
target_cpu = "x64" 的目前值: true
From //.gn:152
已覆寫預設值: false
來自 //third_party/pigweed/src/pw_unit_test/test.gni:107
qemu_boot_format
與 QEMU 搭配使用的啟動格式。這會選擇要與 QEMU 搭配使用的啟動格式,決定要將哪種啟動 shim 實作項目做為 QEMU「核心」。有效替代方案因機器而異,但包括「linuxboot」。
目前的值 (預設值): "linuxboot"
來自 //zircon/kernel/phys/qemu.gni:167
rbe_extra_reproxy_configs
其他 reproxy 設定檔。這些檔案會按照出現順序,與主要 reproxy_config_file 串連。清單中後續檔案的設定會優先於清單中先前的設定。
目前的值 (預設值): []
來自 //build/toolchain/rbe.gni:31
rbe_mode
RBE 的整體運作模式。有效值如下: * 'off' => 完全停用 RBE。這適用於僅使用本機資源的離線建構作業。* 'legacy_default' => 如未另行指定,則使用標準 RBE 設定。其中包含已啟用/已停用的遠端服務。* 'remote_full' => 盡可能從遠端執行動作,包括快取失敗,這會減少本機資源的使用。* 'racing' => 針對某些動作類型,比較遠端與本機執行的速度。* 'cloudtop' => 經過最佳化調整,可在 cloudtop 上執行的 RBE 設定。適合用於連線至遠端服務的高頻寬連線,以及下載遠端輸出內容。* 'workstation' => 經過最佳化調整,適合在大型工作站上執行的 RBE 設定。適用於具備大量快速核心,且與遠端服務有高頻寬連線的機器。* 'infra' => 建議用於 CI/CQ 機器人的 RBE 設定。 也會使用高頻寬。* 'remote_cache_only' => 僅將 RBE 做為遠端快取:快取失敗時,在本機執行,而非遠端執行。* 'low_bandwidth_remote' => 適用於低網路頻寬的 RBE 設定。 避免下載部分中繼結果,節省頻寬。* 'nocache' => 強制所有快取失敗,並在遠端重新執行。
目前的值 (預設值): "off"
來自 //build/toolchain/rbe_modes.gni:44
rbe_settings_overrides
RBE 模式的覆寫設定。這是一組覆寫值,用於覆寫由所選 RBE 模式 (上方) 設定預設值的變數。
目前的值 (預設值): { }
來自 //build/toolchain/rbe_modes.gni:48
recovery_board_configuration_label
復原作業可能使用與主要產品不同的設定。根據預設,請使用同一個面板。
這是獨立的 declare_args() 區塊,因此可以預設為「board_configuration_label」提供的值
目前的值 (預設值): "//boards/arm64"
redirect_guest_serial_logs
如果設為 true,會將訪客序列輸出內容重新導向至系統記錄。
目前的值 (預設值): false
來自 //src/virtualization/bin/args.gni:11
remove_default_configs
target_cpu = "arm64" 的目前值: ["//third_party/pigweed/src/pw_build:reduced_size"]
From //.gn:165
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36
target_cpu = "riscv64" 的目前值: ["//third_party/pigweed/src/pw_build:reduced_size"]
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36
target_cpu = "x64" 的目前值: ["//third_party/pigweed/src/pw_build:reduced_size"]
已覆寫預設值: []
來自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:36
remove_default_public_deps
目前的值 (預設值): []
來自 //third_party/pigweed/src/pw_build/gn_internal/defaults.gni:37
repository_publish_blob_copy_mode
控管將 blob 複製到存放區時要使用的模式。支援的模式如下:
copy:如果存放區中沒有該 blob,則複製 blob。這會使用寫入時複製,在支援的檔案系統上有效率地複製 Blob。copy-overwrite:一律複製 blob,覆寫 blob 存放區中現有的任何 blob。這會使用寫入時複製功能,在支援的檔案系統上有效率地複製 Blob。hard-link:將 blob 硬連結至存放區,如果無法在 blob 和 blob 存放區之間建立硬連結,則複製。請注意,您可以透過硬連結修改 blob,這會導致 blob 與 blob 的 merkle 不相符。
目前的值 (預設值): "hard-link"
來自 //src/sys/pkg/bin/package-tool/package-tool.gni:141
restat_cc
設為 true,即可讓 C++ 編譯作業保留未變更輸出的時間戳記。re-client 內建這項功能,並提供 --preserve_unchanged_output_mtime,因此使用 cxx_rbe_enable 時,預設為 true 是合理的做法。如果不使用 re-client,您仍可透過 restat_wrapper 指令碼取得 write-if-change 行為,但代價是包裝函式負擔 (權衡與動作剪除)。
目前的值 (預設值): false
來自 //build/toolchain/restat.gni:28
restat_rust
設為 true,讓 Rust 編譯作業保留未變更輸出的時間戳記。
目前的值 (預設值): true
來自 //build/toolchain/restat.gni:20
riscv64_enable_vector
LINT.IfChange(riscv64_enable_vector) 是否啟用 RISC-V 向量指令。
目前的值 (預設值): true
來自 //build/config/riscv64/riscv64.gni:11
rust_cap_lints
設定 Lint 檢查層級上限。「deny」會將所有警告視為錯誤,「warn」會將警告保留為警告,「allow」則會忽略警告。LINT.IfChange
目前的值 (預設值): "deny"
rust_debug_assertions
啟用偵錯斷言,例如溢位檢查。
目前的值 (預設值): false
rust_incremental
啟用 Rust 遞增編譯。採用要用作快取的目錄路徑。
目前的值 (預設值): ""
rust_lto
設定 rustc 建構作業的預設 LTO 類型。
目前的值 (預設值): ""
rust_one_rlib_per_dir
為避免建構作業期間,外部搜尋路徑解析為多個路徑,導致建構作業不確定,這個選項會將每個 rlib 放入專屬目錄。這會導致指令列膨脹,因此需要 rustc_use_response_file = true。
目前的值 (預設值): true
rust_parallel_frontend_threads
啟用 Rust 平行前端,並使用 N 個執行緒
目前的值 (預設值): false
rust_rbe_check
執行較耗費資源的檢查,適用於 CI。以上所有項目都需要 rust_rbe_enable=true。
下列其中一項:
「none」:不進行額外檢查。
"determinism": 在本機執行兩次並比較輸出內容,檢查 rustc 目標的確定性,如果發現任何差異,則會失敗。 雖然這項檢查不涉及 RBE,但會使用相同的包裝函式指令碼,該指令碼知道要預期和比較哪些輸出檔案。
不建議建構依賴時間的輸出內容,因為這會影響快取。如果結果取決於目前時間,這項檢查一定會失敗。如果只取決於日期,當重新執行作業落在隔天時,仍有可能失敗。
"consistency": 執行本機和遠端 Rust 編譯作業並比較結果, 檢查兩者是否一致。
目前的值 (預設值): "none"
來自 //build/toolchain/rbe.gni:144
rust_rbe_download_rlibs
TODO(b/42084033): Controls whether or not to download (intermediate) rlibs from remote Rust build actions.
目前的值 (預設值): true
來自 //build/toolchain/rbe.gni:156
rust_rbe_download_unstripped_binaries
目前的值 (預設值): true
來自 //build/toolchain/rbe.gni:152
rust_rbe_enable
設為 true,即可使用 RBE 啟用 Rust 的分散式編譯。
目前的值 (預設值): false
來自 //build/toolchain/rbe.gni:97
rust_rbe_exec_strategy
下列其中一項:
「remote」:在快取失敗時從遠端執行動作。遠端快取一律會更新為這個結果。
"local":在遠端快取中查詢動作,但如果快取失敗,則在本機執行動作。本機產生的結果不會上傳至遠端快取。
"remote_local_fallback":先從遠端執行動作。如果失敗,請改在本機執行。在本機產生的結果不會上傳至遠端快取。
「racing」:同時在本機和遠端執行,以最先完成的結果為準。
「nocache」:強制執行遠端作業,不使用快取結果。這項功能可用於快取失敗情境的基準測試。
(還有其他未公開的 rewrapper 選項)。
目前的值 (預設值): "remote"
來自 //build/toolchain/rbe.gni:118
rust_v0_symbol_mangling
控制 Rust 編譯器是否使用 v0 符號重整配置 (請參閱 https://github.com/rust-lang/rfcs/blob/HEAD/text/2603-rust-symbol-name-mangling-v0.md)。
目前的值 (預設值): true
rust_virtio_net
如果設為 true,則會使用新的 Rust virtio-net 裝置,而非舊版 C++ 裝置。
目前的值 (預設值): true
來自 //src/virtualization/bin/args.gni:8
rustc_prefix
為 rustc 和 cargo 設定自訂基本目錄。這可用於測試自訂 Rust 工具鍊。LINT.IfChange
目前的值 (預設值): "//prebuilt/third_party/rust/linux-x64"
rustc_timeout
用於偵測 rustc 停止運作的逾時時間,以秒為單位。值為零表示沒有逾時
目前的值 (預設值): 0
rustc_use_response_files
將冗長的 rustdeps 和 externs (GN) 放入 ninja 回應檔案。必須使用回應檔案,才能規避指令列長度限制。 rustc 對回應檔案的支援 (GN 建構作業所需) 是在修訂版本「git_revision:dfe53afaebd817f334d8ef9dc75a5cd2562cf6e6」中新增。
目前的值 (預設值): true
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")
目前的值 (預設值): ""
rustc_version_string
這個字串用於識別目前使用的特定工具鍊版本。其唯一目的是要足夠獨特,以便在切換至新工具鍊時進行變更,以便觸發使用新編譯器重新編譯。
使用預先建構項目時,系統會忽略這個項目,並使用預先建構項目的 CIPD 執行個體 ID。
目前的值 (預設值): "VdCMmaRWnQdMkfLlz7Jtb86RD9TPcbmbpqHSO357c50C"
rustdoc_extern_html_root_url_base
目前的值 (預設值): "https://fuchsia-docs.firebaseapp.com/rust"
scenic_enable_vulkan_validation
在 Scenic 中加入 Vulkan 驗證層。
目前的值 (預設值): false
來自 //src/ui/scenic/lib/utils/build_args.gni:10
scheduler_extra_invariant_validation
啟用額外的排程器不變量驗證 (費用較高),協助偵錯排程器行為變更。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:47
scheduler_lock_spin_tracing_compressed
追蹤鎖定旋轉事件時,啟用壓縮記錄。在追蹤視覺化工具中,事件會更難解讀,但會佔用較少空間,並為剖析鎖定追蹤資料的指令碼提供相同資訊。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:57
scheduler_lock_spin_tracing_enabled
啟用排程器鎖定旋轉追蹤事件,以便進行以追蹤為基礎的排程器效能分析。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:51
scheduler_queue_tracing_enabled
啟用排程器佇列追蹤功能,以便根據追蹤記錄分析排程器效能。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:43
scheduler_tracing_level
啟用排程器追蹤記錄時的詳細程度。大於零的值會增加詳細程度,但會增加追蹤緩衝區的使用量。
0 = 預設 (標準) kernel:sched 追蹤。1 = 新增重要排程器作業的時間長度追蹤記錄。2 = 新增頻寬計數器,用於追蹤使用率和處理率。3 = 新增執行佇列事件。 4 = 新增從喚醒到執行狀態的流程事件。5 = 新增雜項統計資料和預估值的計數器。 6 = 新增詳細內部事件。
目前的值 (預設值): 0
來自 //zircon/kernel/params.gni:39
scudo_default_options
預設 Scudo 選項 (在執行階段讀取 SCUDO_OPTIONS 環境變數之前)。Scudo 是 Fuchsia C 程式庫中的記憶體配置器,因此會影響所有 Fuchsia 程式。可以是字串清單或單一字串。
這項功能的運作方式與 asan_default_options 及其其他清理工具的同類功能類似,但略有不同。如果這個變數為空白,則不會將任何 __scudo_default_options 函式插入程式。個別目標可以使用 sanitizer_extra_options() 目標的依附元件,插入選項,並與 scudo_default_options 的任何建構範圍設定相容。程式「可以」定義自己的 __scudo_default_options 函式,但這樣做會導致所有將此變數設為非空的建構作業中斷,因此建構作業中需要這類設定的任何程式 (應僅限於測試) 都可以改用 sanitizer_extra_options() 機制。
目前的值 (預設值): []
來自 //build/config/sanitizers/sanitizer_default_options.gni:84
sdk_archive_labels
要上傳至構件儲存庫的其他 idk_archive() 標籤。這是主要存放區以外 IDK 位元的擴充機制。
目前的值 (預設值): []
sdk_cross_compile_host_tools
是否要為所有支援的主機工具鍊跨平台編譯 SDK 工具,而非僅限目前的主機工具鍊。舉例來說,如果這個值為 true,則在 Linux x64 上建構時,也會為 Linux arm64 建構 SDK 主機工具。
目前的值 (預設值): false
sdk_id
Core SDK 的 ID。LINT.IfChange
目前的值 (預設值): "33.99991231.0.1"
sdk_inside_sub_build
目前是否正在建構子版本 (相較於以「PLATFORM」和主要目標 CPU 架構為目標的主要版本)。建議盡可能使用其他機制。可適用於任何 API 級別 (包括「PLATFORM」) 和 CPU 架構。
目前的值 (預設值): false
sdk_max_simultaneous_sub_builds
如果未設定 enable_jobserver 或 cxx_rbe_enable 為 false,這會提供可能同時執行的子建構數量上限。數字越大,代表以下優點: - GN 和 ninja 本質上為單一執行緒的部分,可更有效地平行處理。- 遇到建構作業中的「落後者」時,可更有效地平行處理,也就是每個子建構作業執行少量動作的情況。
但也會帶來以下缺點:
- 記憶體用量增加,可能導致交換和速度變慢。
- 如果建構程序實際上受 CPU 限制,CPU 爭用情況會更嚴重。- 由於總負載與 sdk_max_simultaneous_sub_builds *
sdk_sub_build_parallelism 成正比,因此可能會強制降低 sdk_sub_build_parallelism 的值。
選擇 5 的主要原因,是我的每隻手都有 5 根手指。
目前的值 (預設值): 5
sdk_sub_build_max_load_average
未設定 enable_jobserver 時,在子建構期間傳遞至 ninja 的 -l 值。如果系統的平均負載超過這個值,ninja 就會自行節流。如果留空,子建構指令碼會自行猜測。
目前的值 (預設值): ""
sdk_sub_build_parallelism
未設定 enable_jobserver 時,在子建構期間傳遞至 ninja 的 -j 值。請注意,最多可同時進行 sdk_max_simultaneous_sub_builds 個子建構作業,因此並行動作數量最多可達這個數字乘以並行子建構作業數量。如果留空,子建構指令碼會自行猜測。
目前的值 (預設值): ""
sdk_sub_build_verbose
設為 true,即可在 IDK 子建構期間啟用詳細記錄功能。
目前的值 (預設值): false
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 變化版本前,使用特定變化版本清單。
每個「[strings]」條件都是字串清單,只要有任何字串與候選字串相符,即符合條件。
host
[boolean] If true, the selector matches in the host toolchain.
If false, the selector matches in non-host toolchains.
kernel
[boolean] If true, the selector matches in is_kernel toolchains.
If false, the selector matches in non-kernel toolchains.
testonly
[boolean] If true, the selector matches targets with testonly=true.
If false, the selector matches in targets without testonly=true.
target_type
[strings]: `"executable"`, `"loadable_module"`, or `"fuchsia_driver"`
output_name
[strings]: target's `output_name` (default: its `target name`)
label
[strings]: target's full label with `:` (without toolchain suffix)
name
[strings]: target's simple name (label after last `/` or `:`)
dir
[strings]: target's label directory (`//dir` for `//dir:name`).
目前的值 (預設值): []
來自 //build/config/BUILDCONFIG.gn:777
select_variant_canonical
請勿將其設為建構引數。這個值只能在 toolchain_args 中設定。詳情請參閱 //build/toolchain/clang_toolchain.gni。
目前的值 (預設值): []
來自 //build/config/BUILDCONFIG.gn:782
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/bin", "//zircon/kernel/arch/arm64/phys", "//zircon/kernel/arch/arm64/phys/boot-shim", "//zircon/kernel/arch/arm64/phys/efi", "//zircon/kernel/phys", "//zircon/kernel/phys/boot-shim", "//zircon/kernel/phys/efi", "//zircon/kernel/phys/test"]
variant = "ubsan"
}]
}]
來自 //build/config/BUILDCONFIG.gn:552
skip_buildtools_check
略過 buildtools 依附元件檢查 (ChromeOS 需要)。
目前的值 (預設值): false
來自 //third_party/perfetto/gn/perfetto.gni:467
smp_max_cpus
目前的值 (預設值): 16
來自 //zircon/kernel/params.gni:14
spinel_platform_header
Spinel 的平台可攜性標頭。
目前的值 (預設值): "\"spinel_platform.h\""
來自 //third_party/openthread/src/lib/spinel/BUILD.gn:32
stack_clash_protection
是否要在啟用 stack-clash-protection 的情況下編譯 https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fstack-clash-protection https://blog.llvm.org/posts/2021-01-05-stack-clash-protection/
目前的值 (預設值): true
來自 //build/config/clang/stack_clash_protection.gni:9
starnix_enable_console_tool
控制台工具僅供開發人員使用。預設為停用,防止自動使用。
目前的值 (預設值): false
來自 //src/developer/ffx/tools/starnix/BUILD.gn:13
starnix_enable_rust_backtrace
是否要將 Starnix 核心的 RUST_BACKTRACE 環境變數預設為 1。這有助於找出在死結循環中取得鎖定的堆疊。
目前的值 (預設值): false
來自 //src/starnix/build/args.gni:32
starnix_enable_trace_and_debug_logs_in_release
在發布子版本中編譯追蹤記錄和偵錯記錄檔。基於效能考量,系統預設會編譯這些記錄。
這個選項不會影響 fuchsia_trace crate 的使用,因為該 crate 獨立於 Rust 的追蹤程式庫。
詳情請參閱 https://fuchsia-review.googlesource.com/c/fuchsia/+/929995。LINT.IfChange(starnix_enable_trace_and_debug_logs_in_release)
目前的值 (預設值): false
來自 //src/starnix/build/args.gni:25
starnix_force_build_host_tests
是否要強制建構 x64 ELF 執行檔,用於 syscall 測試 (俗稱「主機測試」)。預設偏好設定是改為針對 Machina 建構及執行測試。
目前的值 (預設值): false
來自 //src/starnix/build/args.gni:9
starnix_host_linux_toolchain
我們想使用比 $host_toolchain 預設提供的 sysroot 更新的版本。
目前的值 (預設值): "//build/toolchain:linux_x64"
來自 //src/starnix/build/args.gni:36
starnix_kgsl_debug
這個旗標會啟用詳細記錄和偵錯檢查。
目前的值 (預設值): false
來自 //src/starnix/modules/kgsl/BUILD.gn:15
starnix_kgsl_enable
這個旗標會影響特定容器二進位檔使用的信號 ioctl 傳回值,指示這些二進位檔使用以 kgsl 或 magma 為基礎的驅動程式。這不會影響容器內 kgsl 裝置的可用性。
目前的值 (預設值): false
來自 //src/starnix/modules/kgsl/BUILD.gn:12
starnix_sync_detect_lock_dep_cycles
是否要使用 lockdep 偵測鎖定擷取圖中的循環。在平衡和偵錯模式下預設為啟用。LINT.IfChange
目前的值 (預設值): false
來自 //src/starnix/lib/starnix_sync/build/args.gni:9
sysmem_contiguous_guard_page_count
目前的值 (預設值): -1
來自 //src/sysmem/server/BUILD.gn:25
sysmem_contiguous_guard_pages_fatal
目前的值 (預設值): false
來自 //src/sysmem/server/BUILD.gn:23
sysmem_contiguous_guard_pages_internal
目前的值 (預設值): false
來自 //src/sysmem/server/BUILD.gn:24
sysmem_contiguous_guard_pages_unused
目前的值 (預設值): false
來自 //src/sysmem/server/BUILD.gn:26
sysmem_contiguous_guard_pages_unused_cycle_seconds
目前的值 (預設值): 600
來自 //src/sysmem/server/BUILD.gn:28
sysmem_contiguous_guard_pages_unused_fraction_denominator
目前的值 (預設值): 128
來自 //src/sysmem/server/BUILD.gn:27
sysmem_contiguous_memory_size
目前的值 (預設值): -1
來自 //src/sysmem/server/BUILD.gn:19
sysmem_contiguous_memory_size_percent
目前的值 (預設值): 5
來自 //src/sysmem/server/BUILD.gn:20
sysmem_protected_memory_size
目前的值 (預設值): 0
來自 //src/sysmem/server/BUILD.gn:21
sysmem_protected_memory_size_percent
目前的值 (預設值): -1
來自 //src/sysmem/server/BUILD.gn:22
sysmem_protected_ranges_disable_dynamic
目前的值 (預設值): false
來自 //src/sysmem/server/BUILD.gn:29
target_cpu
target_cpu = "arm64" 的目前值: "arm64"
來自 //out/not-default/args.gn:10
已覆寫預設值: ""
target_cpu = "riscv64" 的目前值: "riscv64"
來自 //out/not-default/args.gn:10
已覆寫預設值: ""
target_cpu = "x64" 的目前值: "x64"
來自 //out/not-default/args.gn:10
已覆寫預設值: ""
target_labels
要新增至預設 (Fuchsia) 工具鍊建構圖的目標。
target_cpu = "arm64" 的目前值: ["//bundles/docs_roller"]
來自 //out/not-default/args.gn:15
已覆寫預設值: []
target_cpu = "riscv64" 的目前值: ["//bundles/docs_roller"]
來自 //out/not-default/args.gn:15
已覆寫預設值: []
target_cpu = "x64" 的目前值: ["//bundles/docs_roller"]
來自 //out/not-default/args.gn:15
已覆寫預設值: []
target_os
目前的值 (預設值): ""
target_persistent_debuglog_size
控制永久偵錯記錄檔的目標大小 (以位元組為單位)。如果設為零,則會停用所有永久偵錯記錄檔功能。請注意,雖然系統會嘗試為永久偵錯記錄檔保留這麼多位元組,但由於永久 RAM 資源有限,可能無法保留。必須是 128 個位元組的倍數。
目前的值 (預設值): 0
來自 //zircon/kernel/lib/persistent-debuglog/params.gni:13
target_sysroot
與目標工具鍊搭配使用的 sysroot 絕對路徑。
目前的值 (預設值): ""
來自 //build/config/sysroot.gni:7
terminal_bold_font_path
目前的值 (預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Bold.ttf"
來自 //src/ui/bin/terminal/terminal_args.gni:12
terminal_bold_italic_font_path
目前的值 (預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-BoldItalic.ttf"
來自 //src/ui/bin/terminal/terminal_args.gni:20
terminal_fallback_font_paths
備用字型檔案的路徑
目前的值 (預設值): []
來自 //src/ui/bin/terminal/terminal_args.gni:23
terminal_font_path
目前的值 (預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Regular.ttf"
來自 //src/ui/bin/terminal/terminal_args.gni:8
terminal_italic_font_path
目前的值 (預設值): "//prebuilt/third_party/fonts/robotomono/RobotoMono-Italic.ttf"
來自 //src/ui/bin/terminal/terminal_args.gni:16
test_durations_file
這個檔案包含此建構設定的歷來測試時間長度資料,供 testsharder 用來平均分配各個 shard 的測試。如果建構作業後續會執行 testsharder,就應設定這個變數。
目前的值 (預設值): ""
test_package_labels
目前的值 (預設值): []
thinlto_cache_dir
ThinLTO 快取目錄路徑。
目前的值 (預設值): "thinlto-cache"
來自 //build/config/lto/config.gni:10
thinlto_jobs
平行 ThinLTO 工作數量。
目前的值 (預設值): 8
來自 //build/config/lto/config.gni:7
time_trace
使用 clang 建構時,是否要匯出時間追蹤記錄。 https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html#new-compiler-flags
目前的值 (預設值): false
來自 //build/config/clang/time_trace.gni:8
toolchain_variant
請勿將其設為建構引數。這個值只能在 toolchain_args 中設定。如需各欄位的詳細資料和說明文件,請參閱 //docs/development/build/gn_concepts/internals/toolchains/build_arguments.md#toolchain_variant。
目前的值 (來自預設值):
{
base = "//build/toolchain/fuchsia:arm64"
}
來自 //build/config/BUILDCONFIG.gn:964
truncate_build_info_commit_date
將 build_info 中的日期截斷至世界標準時間午夜,並將修訂版本雜湊替換為從該日期合成的雜湊。請勿在這個目錄以外使用。這個變數只會出現在這個 .gni 檔案中,以便 //build/bazel:gn_build_variables_for_bazel 存取。
目前的值 (預設值): false
tsan_default_options
預設 ThreadSanitizer 選項 (在執行階段讀取 TSAN_OPTIONS 環境變數之前)。這可以設為建構引數,影響 $variants (請參閱) 中的大多數「tsan」變體,或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。
請注意,即使這個欄位留空,這個建構作業中的程式也無法定義自己的 __tsan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項都可以覆寫此清單中該選項的設定。
TODO(https://fxbug.dev/42171381):如果我們有 Rust 的檢測 libstd,可以重新評估 ignore_noninstrumented_modules=1。
目前的值 (預設值): ["ignore_noninstrumented_modules=1"]
來自 //build/config/sanitizers/sanitizer_default_options.gni:67
ubsan_default_options
預設 UndefinedBehaviorSanitizer 選項 (在執行階段讀取 UBSAN_OPTIONS 環境變數之前)。這可以設為建構引數,影響 $variants 中的大多數「ubsan」變體 (請參閱相關說明),或在其中一個變體的 $toolchain_args 中覆寫。可以是字串清單或單一字串。
請注意,即使這個欄位留空,這個建構作業中的程式也無法定義自己的 __ubsan_default_options C 函式。而是可以在 deps 中使用 sanitizer_extra_options() 目標,然後以這種方式插入的任何選項都可以覆寫此清單中該選項的設定。
目前的值 (預設值): ["print_stacktrace=1", "halt_on_error=1"]
來自 //build/config/sanitizers/sanitizer_default_options.gni:49
universe_package_labels
如果在這個變數中加入套件標籤,套件就會納入「universe」套件集,代表建構作業產生的所有軟體,這些軟體會發布至 Package Repository 或 SDK。
目前的值 (預設值): []
update_goldens
將 golden_file 範本設為 true,以隱含方式寫入更新後的黃金檔案,而不是讓動作或測試失敗。LINT.IfChange
目前的值 (預設值): false
來自 //build/testing/config.gni:9
use_blink
目前的值 (預設值): false
來自 //build/config/features.gni:13
use_ccache
設為 true 即可啟用 ccache 編譯
目前的值 (預設值): false
來自 //build/toolchain/ccache.gni:9
use_dbus
目前的值 (預設值): false
來自 //build/config/features.gni:11
use_direct_for_carnelian_examples
在範例套件中加入設定,嘗試直接使用檢視模式。
目前的值 (預設值): false
來自 //src/lib/ui/carnelian/BUILD.gn:22
use_gio
目前的值 (預設值): false
來自 //build/config/features.gni:12
use_llvm_libc_string_functions
注意:實驗功能。使用 llvm-libc 實作字串函式。
目前的值 (預設值): false
use_null_vulkan_on_host
TODO(liyl):目前非 x64 平台不支援 Vulkan,因此我們一律改用空值 Vulkan 實作。
全域引數,用於判斷是否要在主機 vulkan_executables 和 vulkan_tests 上使用「null」Vulkan 實作,以便任何建立 VkInstances 或 VkDevice 的嘗試都會失敗。
這個引數會影響所有 vulkan_{executable/test} 建構目標。
目前的值 (預設值): true
來自 //src/lib/vulkan/build/config.gni:29
use_prebuilt_buildidtool
使用預先建構的 buildidtool 二進位檔,而非在本機建構。注意:如果將這項設定設為 false,系統會使用 GN 中的 toolchain_deps 機制,這可能會大幅降低 Ninja 的速度。此外,為了避免循環依附元件,$host_toolchain 沒有 toolchain_deps,因此無法確保 buildidtool 在需要前建構完成。這可能會導致建構作業不穩定,但應該可以反覆進行增量建構,最終取得新工具。只有在積極開發 buildidtool 本身時,才應使用此選項。
請注意,這不適用於 Go 建構作業,因為在 buildidtool 的建構作業中使用 buildidtool 會造成循環。
目前的值 (預設值): true
來自 //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): This isn't currently working. 請使用下列方法。
或者,如果已從該處匯入其他資訊清單,導致 jiri update 發生錯誤,則可以只執行 git clone (但在此情況下,jiri update 不會管理 third_party/ffmpeg):
mkdir build/secondary/third_party/ffmpeg
git clone https://fuchsia.googlesource.com/third_party/ffmpeg build/secondary/third_party/ffmpeg
mkdir third_party/yasm
git clone https://fuchsia.googlesource.com/third_party/yasm third_party/yasm
mkdir third_party/ffmpeg/src
git clone https://chromium.googlesource.com/chromium/third_party/ffmpeg third_party/ffmpeg/src
目前的值 (預設值): true
來自 //src/media/lib/ffmpeg/ffmpeg_args.gni:31
use_swiftshader_vulkan_icd_on_host
全域引數,用於判斷是否要在主機 vulkan_executables 和 vulkan_tests 上使用 SwiftShader Vulkan ICD。
這個引數會影響所有 vulkan_{executable/test} 建構目標,且只有在 use_null_vulkan_on_host 設為 false 時才會生效。
目前的值 (預設值): true
來自 //src/lib/vulkan/build/config.gni:38
use_test_pilot
啟用後,系統會變更 fuchsia_test_package 測試的 tests.json 項目,讓 botanist 使用 test-pilot 執行測試。tests.json 的變更包括為測試新增「path」項目,並將「os」設為「linux」。
目前的值 (預設值): false
來自 //build/components/fuchsia_test_package.gni:16
use_udev
目前的值 (預設值): false
來自 //build/config/features.gni:10
use_vbmeta
如果設為 true,系統會為提供的 ZBI 產生 vbmeta 映像檔,且鋪設指令碼會將 vbmeta 映像檔鋪設至目標裝置。
target_cpu = "arm64" 的目前值: true
已覆寫預設值: false
來自 //build/images/vbmeta.gni:14
目前的值 (預設值): false
來自 //build/images/vbmeta.gni:14
use_vim3_dml
如果設為 true,則使用較新的 vim3-dml 驅動程式庫,而非 vim3-devicetree 驅動程式庫。
目前的值 (預設值): false
using_fuchsia_sdk
僅在建構根目錄中設定,目標會自行設定,以便與 Fuchsia SDK 搭配使用
目前的值 (預設值): false
vbmeta_a_partition
目前的值 (預設值): ""
vbmeta_b_partition
目前的值 (預設值): ""
vbmeta_r_partition
目前的值 (預設值): ""
verify_depfile
控管建構作業是否執行 depfile 驗證工具
目前的值 (預設值): true
vim3_mcu_fan_default_level
VIM3 MCU 驅動程式使用的預設風扇等級。
有效值介於 0 (完全關閉) 和 3 (全功率) 之間。
請勿在簽入的程式碼中依賴這項設定。這項設定旨在協助開發人員在辦公桌前進行開發,日後將由更強大的設定機制取代。
目前的值 (預設值): 1
來自 //src/devices/mcu/drivers/vim3-mcu/BUILD.gn:18
virtio_gpu_display_flavor
切換 C++ 和 Rust 驅動程式實作。
TODO(https://fxbug.dev/504722357): Remove the toggle after the Rust port is completed. 有效值:「cpp」、「rust」
目前的值 (預設值): "rust"
//src/graphics/display/drivers/virtio-gpu-display/BUILD.gn:15
virtmagma_debug
在 virtmagma 相關程式碼中啟用詳細記錄功能
目前的值 (預設值): false
//src/graphics/lib/magma/include/virtio/virtmagma_debug.gni:7
vm_tracing_level
VM 系統發出的追蹤記錄詳細程度。大於零的值會增加詳細程度,但會增加追蹤緩衝區的使用量。
0 = 預設核心:* 追蹤。1 = 新增非同步網頁要求的流程事件。2 = 新增與存取錯誤和頁面錯誤相關的持續時間事件。3 = 新增 PMM 分配和釋放的持續時間事件。
目前的值 (預設值): 0
來自 //zircon/kernel/params.gni:74
vulkan_host_runtime_dir
|vulkan_host_runtime_dir| 是 Vulkan 執行階段程式庫的路徑,其中包含預先建構的 Vulkan 載入器、Vulkan 層、SwiftShader Vulkan ICD,以及載入程式庫所需的描述元檔案。
目前的值 (預設值): "//prebuilt/third_party/vulkan_runtime/linux-x64"
來自 //src/lib/vulkan/build/config.gni:17
vulkan_sdk
目前的值 (預設值): ""
來自 //src/graphics/examples/vkproto/common/common.gni:48
wait_queue_depth_tracing_enabled
啟用等待佇列深度追蹤功能。用於後處理分析,瞭解在各種負載下,等待佇列的深度傾向,以及深度變更的頻率。
目前的值 (預設值): false
來自 //zircon/kernel/params.gni:65
warn_on_sdk_changes
是否只在 SDK 遭到修改時發出警告。如果設為 false,任何未確認的 SDK 變更都會導致建構失敗。LINT.IfChange
目前的值 (預設值): false
weave_build_legacy_wdm
指示 openweave 支援舊版 WDM 模式。
目前的值 (預設值): false
來自 //third_party/openweave-core/config.gni:29
weave_build_warm
指示 openweave 建構 WARM 程式庫。
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:26
weave_system_config_use_sockets
指示 openweave 元件使用類似 bsd 的通訊端。
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:7
weave_with_nlfaultinjection
指示 openweave 元件支援錯誤注入。
目前的值 (預設值): false
來自 //third_party/openweave-core/config.gni:20
weave_with_verhoeff
指示 openweave 支援 Verhoeff 核對和。
目前的值 (預設值): true
來自 //third_party/openweave-core/config.gni:23
wlancfg_config_type
選取要使用的 WLAN 設定類型。選項: 「client」- 用戶端模式 「ap」- 存取點模式 「」(空字串) - 未設定
目前的值 (預設值): "client"
來自 //src/connectivity/wlan/wlancfg/BUILD.gn:17
zedboot_product_assembly_config_label
用於設定 Zedboot 映像檔的產品組件設定。
目前的值 (預設值): false
zircon_a_partition
fx flash 指令碼的引數 (以及指定分區的任何 firmware_prebuilts)。
如果提供 fvm_partition 或 fxfs_partition (兩者擇一),Flash 指令碼會刷新整個 OS、復原 + Zircon + FVM (或 Fxfs) + 安全殼層金鑰。在這種情況下,系統啟動載入程式也必須支援 fastboot oem
add-staged-bootloader-file ssh.authorized_keys。
否則,指令碼會將復原映像檔刷新到所有版位,這不需要 FVM 或安全殼層金鑰。
目前的值 (預設值): ""
zircon_b_partition
目前的值 (預設值): ""
zircon_r_partition
目前的值 (預設值): ""
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:981
zircon_tracelog
從 Zircon 的 GN 執行作業發出追蹤記錄的位置。如果提供空白字串,就不會產生任何追蹤記錄。路徑可以是來源絕對路徑或系統絕對路徑。
目前的值 (預設值): ""
來自 //build/zircon/build_args.gni:8
zx_assert_level
控管要啟用哪些斷言。
ZX_ASSERT一律啟用。
- 0 會停用標準 C
assert()和ZX_DEBUG_ASSERT。 - 1 會停用
ZX_DEBUG_ASSERT。標準 Cassert()仍會啟用。 - 2 則會啟用所有斷言。
目前的值 (預設值): 2
來自 //build/config/zircon/levels.gni:13
target_cpu = "arm64"
arm_use_neon
是否要使用 Neon FPU 指令集。TODO(https://fxbug.dev/42168336): move this to boards.
目前的值 (預設值): true
target_cpu = "x64"
build_libvulkan_goldfish
目前的值 (預設值): "//third_party/android/device/generic/goldfish-opengl:libvulkan_goldfish"