blob: 31801be77b167b78e537d3204a53bb3aa44c57e0 [file] [log] [blame]
# 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.
# Build targets for Workstation product.
load(
"@rules_fuchsia//fuchsia:defs.bzl",
"fuchsia_image_configuration",
"fuchsia_image_paver",
"fuchsia_package",
"fuchsia_product_bundle",
"fuchsia_product_image",
"fuchsia_product_release",
)
fuchsia_image_configuration(
name = "x64_image_configuration",
files = {
"atx_metadata.bin": "key_atx_metadata",
"testkey_atx_psk.pem": "key.pem",
},
fuchsia_core = "@workstation_external_packages//:fuchsia_core",
template = "x64_image_template.json",
)
fuchsia_product_image(
name = "workstation_x64",
aib = "@workstation_external_packages//:assembly_bundle",
board_name = "x64",
image = ":x64_image_configuration",
partition_template = "partitions_template.json",
product_config = "product_config.json",
)
fuchsia_image_paver(
name = "workstation_x64_paver",
product_image = ":workstation_x64",
)
fuchsia_product_release(
name = "workstation_x64_release",
aib = "@workstation_external_packages//:assembly_bundle",
lock_file = "@//:artifact_lock.json",
product_image = ":workstation_x64",
)
fuchsia_product_bundle(
name = "workstation_x64_pbm",
build_info_template = ":build-info_template.json",
device_name = "qemu-x64",
multiboot_bin = "@workstation_external_packages//:multiboot.bin",
pbm_configs = ":workstation_x64_release",
product_name = "workstation-oot",
virtual_device_template = ":virtual_device_template.json",
)