fuchsia_product_configuration

fuchsia_product_configuration 的新實作項目,可採用原始 JSON 設定。

參數

名稱 說明 預設
name 規則名稱。 -
product_config_json 產品組裝 JSON 設定,以 Starlark 字典形式呈現。
這個 JSON 設定的格式可參閱下列 Rust 定義:
//src/lib/assembly/config_schema/src/assembly_config.rs

採用檔案路徑的鍵值應宣告為字串,並以「LABEL(」前置字元和「)」後置字元包裝標籤路徑。
For
example:
<br>{<br> "platform": {<br> "some_file": "LABEL(//path/to/file)",<br> },<br>},<br>

All assembly json inputs are supported, except for product.packages
and product.base_drivers, which must be
specified through the following args.

TODO(https://fxbug.dev/42073826): Point to document instead of Rust definition
None
bootfs_packages 要納入啟動檔案系統的 Fuchsia 套件。 None
base_packages 要納入基礎的 Fuchsia 套件。 None
cache_packages 要納入快取的 Fuchsia 套件。 None
base_driver_packages 產品中要加入的基礎驅動程式庫套件。 None
ota_configuration 與產品搭配使用的 OTA 設定。 None
starnix_containers - []
relative_paths - False
kwargs 傳遞至實作規則的常見 bazel 規則引數。 -