| # Copyright 2024 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. |
| |
| """Partitions config, board config, and product image for nelson.""" |
| |
| load( |
| "@fuchsia_sdk//fuchsia:assembly.bzl", |
| "fuchsia_legacy_bundle", |
| "fuchsia_prebuilt_board_configuration", |
| "fuchsia_prebuilt_partitions_configuration", |
| "fuchsia_product_image", |
| ) |
| |
| package(default_visibility = ["//products:__pkg__"]) |
| |
| # Prebuilt partitions configs. |
| fuchsia_prebuilt_partitions_configuration( |
| name = "partitions", |
| files = "@nelson_partitions//:all_files", |
| ) |
| |
| # Prebuilt boards. |
| fuchsia_prebuilt_board_configuration( |
| name = "board", |
| files = "@nelson_board//:all_files", |
| ) |
| |
| # Legacy AIBs. |
| fuchsia_legacy_bundle( |
| name = "legacy_aibs", |
| files = "@nelson_legacy_bundles//:legacy_files", |
| ) |
| |
| # Product image. |
| fuchsia_product_image( |
| name = "test_product.image", |
| board_config = ":board", |
| legacy_bundle = ":legacy_aibs", |
| platform_artifacts = "//products/common:platform_aibs", |
| product_config = "//products/common:test_product", |
| ) |