blob: 0bea38e7623a9a59de05d67ef918a347878d0c1c [file] [log] [blame]
# Copyright 2023 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.
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
# This gni import only exists because we need to build the GN platform artifacts
# before passing them to Bazel. Workbench still has some artifacts which need to
# come from a legacy bundle. It uses the legacy bundle defined for the minimal
# image to minimize the number of legacy bundles we need to maintain. We will
# eventually delete the minimal legacy bundle altogether.
#
# Every new addition to this gni file is an instance of tech-debt that must be
# cleaned up to have a proper platform+product interface. If you need to add a
# specific artifact to the workbench product, please either add it to the bazel
# rules:
#
# //products/workbench/BUILD.bazel
#
# or to the platform AIBs: //build/assembly/BUILD.gn
#
# If the artifact is incapable of being put inside either of these locations,
# reach out to the assembly team for guidance: //src/lib/assembly/OWNERS. The
# assembly team may allow an exception so that artifacts can be added directly
# to this file, but each entry needs a ticket assigned to the assembly team with
# an agreed upon solution for how to address the tech-debt.
include_shell_commands_package = true
# Use Bazel-built images
use_bazel_images_only = true
bazel_product_bundle_prefix = "//products/workbench:workbench_eng"
# TODO(issuetracker.google.com/290788730): Remove the need to specify this
# config as well as bazel_product_bundle_prefix
fuchsia_product_assembly_config_label = "//products/minimal"
zedboot_product_assembly_config_label = "//products/zedboot"
# Kernel command line arguments.
product_bootfs_labels = [ "//products/kernel_cmdline:oom.reboot-timeout--low" ]
extra_bazel_assembly_targets =
[ "//build/bazel/assembly/assembly_outputs:verifications" ]
extra_gn_labels_for_bazel_inputs =
[ "//products/workbench/workbench_session:workbench_session_bazel_inputs" ]
fxfs_blob = true
# BEGIN: Baseline eng support
#
# Support for `ffx`, `fx log`, and `fx shell`, and devhost registration.
#
# TODO(https://fxbug.dev/42072430): Delete this section and do the equivalent via
# assembly.
legacy_base_package_labels = [ "//src/connectivity:tools" ]
# Debugging support
discoverable_package_labels = [
"//bundles/tools",
"//src/developer/debug/debug_agent",
]
# END: Baseline eng support