| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| """Public definitions for Assembly related rules.""" |
| |
| load( |
| "//fuchsia/private/assembly:fuchsia_prebuilt_package.bzl", |
| _fuchsia_prebuilt_package = "fuchsia_prebuilt_package", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_assemble_package.bzl", |
| _fuchsia_assemble_package = "fuchsia_assemble_package", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_images_configuration.bzl", |
| _fuchsia_images_configuration = "fuchsia_images_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_product_image.bzl", |
| _fuchsia_product_image = "fuchsia_product_image", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_input_configuration.bzl", |
| _INPUT_DEVICE_TYPE = "INPUT_DEVICE_TYPE", |
| _fuchsia_platform_input_configuration = "fuchsia_platform_input_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_connectivity_configuration.bzl", |
| _fuchsia_platform_connectivity_configuration = "fuchsia_platform_connectivity_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_connectivity_wlan_configuration.bzl", |
| _fuchsia_platform_connectivity_wlan_configuration = "fuchsia_platform_connectivity_wlan_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_development_support_configuration.bzl", |
| _fuchsia_platform_development_support_configuration = "fuchsia_platform_development_support_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_starnix_configuration.bzl", |
| _fuchsia_platform_starnix_configuration = "fuchsia_platform_starnix_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_identity_configuration.bzl", |
| _FEATURE_CONTROL = "FEATURE_CONTROL", |
| _fuchsia_platform_identity_configuration = "fuchsia_platform_identity_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_product_configuration.bzl", |
| _BUILD_TYPES = "BUILD_TYPES", |
| _fuchsia_product_configuration = "fuchsia_product_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_platform_diagnostics_configuration.bzl", |
| _ARCHIVIST_TYPES = "ARCHIVIST_TYPES", |
| _fuchsia_platform_diagnostics_configuration = "fuchsia_platform_diagnostics_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_board_configuration.bzl", |
| _fuchsia_board_configuration = "fuchsia_board_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:providers.bzl", |
| _FuchsiaProductAssemblyBundleInfo = "FuchsiaProductAssemblyBundleInfo", |
| _FuchsiaProductImageInfo = "FuchsiaProductImageInfo", |
| _FuchsiaScrutinyConfigInfo = "FuchsiaScrutinyConfigInfo", |
| ) |
| load( |
| "//fuchsia/private/assembly:assembly_bundle.bzl", |
| _assembly_bundle = "assembly_bundle", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_partitions_configuration.bzl", |
| _fuchsia_partitions_configuration = "fuchsia_partitions_configuration", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_product_bundle.bzl", |
| _fuchsia_product_bundle = "fuchsia_product_bundle", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_zbi.bzl", |
| _ZBI_COMPRESSION = "ZBI_COMPRESSION", |
| _fuchsia_zbi = "fuchsia_zbi", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_vbmeta.bzl", |
| _fuchsia_vbmeta = "fuchsia_vbmeta", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_filesystem_blobfs.bzl", |
| _BLOBFS_LAYOUT = "BLOBFS_LAYOUT", |
| _fuchsia_filesystem_blobfs = "fuchsia_filesystem_blobfs", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_filesystem_empty_account.bzl", |
| _fuchsia_filesystem_empty_account = "fuchsia_filesystem_empty_account", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_filesystem_minfs.bzl", |
| _fuchsia_filesystem_minfs = "fuchsia_filesystem_minfs", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_filesystem_empty_data.bzl", |
| _fuchsia_filesystem_empty_data = "fuchsia_filesystem_empty_data", |
| _fuchsia_filesystem_empty_minfs = "fuchsia_filesystem_empty_minfs", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_filesystem_reserved.bzl", |
| _fuchsia_filesystem_reserved = "fuchsia_filesystem_reserved", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_fvm_nand.bzl", |
| _fuchsia_fvm_nand = "fuchsia_fvm_nand", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_fvm_sparse.bzl", |
| _fuchsia_fvm_sparse = "fuchsia_fvm_sparse", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_fvm_standard.bzl", |
| _fuchsia_fvm_standard = "fuchsia_fvm_standard", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_bootstrap_partition.bzl", |
| _fuchsia_bootstrap_partition = "fuchsia_bootstrap_partition", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_bootloader_partition.bzl", |
| _fuchsia_bootloader_partition = "fuchsia_bootloader_partition", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_partition.bzl", |
| _PARTITION_TYPE = "PARTITION_TYPE", |
| _SLOT = "SLOT", |
| _fuchsia_partition = "fuchsia_partition", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_scrutiny_config.bzl", |
| _fuchsia_scrutiny_config = "fuchsia_scrutiny_config", |
| ) |
| load( |
| "//fuchsia/private/assembly:fuchsia_product_size_check.bzl", |
| _fuchsia_product_size_check = "fuchsia_product_size_check", |
| ) |
| load( |
| "//fuchsia/private/workflows:fuchsia_task_flash.bzl", |
| _fuchsia_task_flash = "fuchsia_task_flash", |
| ) |
| |
| # Rules |
| assembly_bundle = _assembly_bundle |
| fuchsia_prebuilt_package = _fuchsia_prebuilt_package |
| fuchsia_assemble_package = _fuchsia_assemble_package |
| fuchsia_images_configuration = _fuchsia_images_configuration |
| fuchsia_platform_input_configuration = _fuchsia_platform_input_configuration |
| fuchsia_platform_identity_configuration = _fuchsia_platform_identity_configuration |
| fuchsia_platform_connectivity_configuration = _fuchsia_platform_connectivity_configuration |
| fuchsia_platform_connectivity_wlan_configuration = _fuchsia_platform_connectivity_wlan_configuration |
| fuchsia_platform_diagnostics_configuration = _fuchsia_platform_diagnostics_configuration |
| fuchsia_platform_development_support_configuration = _fuchsia_platform_development_support_configuration |
| fuchsia_platform_starnix_configuration = _fuchsia_platform_starnix_configuration |
| fuchsia_product_configuration = _fuchsia_product_configuration |
| fuchsia_board_configuration = _fuchsia_board_configuration |
| fuchsia_product_image = _fuchsia_product_image |
| fuchsia_partitions_configuration = _fuchsia_partitions_configuration |
| fuchsia_product_bundle = _fuchsia_product_bundle |
| fuchsia_product_size_check = _fuchsia_product_size_check |
| fuchsia_task_flash = _fuchsia_task_flash |
| fuchsia_zbi = _fuchsia_zbi |
| fuchsia_vbmeta = _fuchsia_vbmeta |
| fuchsia_filesystem_blobfs = _fuchsia_filesystem_blobfs |
| fuchsia_filesystem_empty_account = _fuchsia_filesystem_empty_account |
| fuchsia_filesystem_minfs = _fuchsia_filesystem_minfs |
| fuchsia_filesystem_empty_data = _fuchsia_filesystem_empty_data |
| |
| # TODO(fxbug.dev/85134): Remove when in-tree Bazel configuration is updated to |
| # use `fuchsia_filesystem_empty_data`. |
| fuchsia_filesystem_empty_minfs = _fuchsia_filesystem_empty_minfs |
| fuchsia_filesystem_reserved = _fuchsia_filesystem_reserved |
| fuchsia_fvm_nand = _fuchsia_fvm_nand |
| fuchsia_fvm_sparse = _fuchsia_fvm_sparse |
| fuchsia_fvm_standard = _fuchsia_fvm_standard |
| fuchsia_scrutiny_config = _fuchsia_scrutiny_config |
| |
| fuchsia_bootstrap_partition = _fuchsia_bootstrap_partition |
| fuchsia_bootloader_partition = _fuchsia_bootloader_partition |
| fuchsia_partition = _fuchsia_partition |
| |
| # Providers |
| FuchsiaProductImageInfo = _FuchsiaProductImageInfo |
| FuchsiaProductAssemblyBundleInfo = _FuchsiaProductAssemblyBundleInfo |
| FuchsiaScrutinyConfigInfo = _FuchsiaScrutinyConfigInfo |
| |
| # constants |
| BUILD_TYPES = _BUILD_TYPES |
| ARCHIVIST_TYPES = _ARCHIVIST_TYPES |
| INPUT_DEVICE_TYPE = _INPUT_DEVICE_TYPE |
| FEATURE_CONTROL = _FEATURE_CONTROL |
| ZBI_COMPRESSION = _ZBI_COMPRESSION |
| BLOBFS_LAYOUT = _BLOBFS_LAYOUT |
| PARTITION_TYPE = _PARTITION_TYPE |
| SLOT = _SLOT |