blob: bc7aee3b5d998273c88c99b51d456e38f20b76f0 [file] [log] [blame]
# Copyright 2018 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.
import("//build/images/assemble_system.gni")
assemble_system("guest") {
base_packages = [
"//src/power/power-manager",
"//src/power/power-manager:base_config",
"//garnet/bin/run",
"//garnet/bin/sysmgr",
"//garnet/bin/trace",
"//garnet/bin/vsock_service:vsock_service",
"//src/diagnostics/log-stats:package",
"//src/power/power-manager:base_config",
"//src/power/power-manager",
"//src/sys/appmgr:appmgr_scheme_config",
"//src/sys/appmgr:component_id_index_no_restrict_storage",
"//src/sys/appmgr",
"//src/sys/core",
"//src/sys/pkg/bin/system-update-committer:package",
"//src/virtualization/packages/zircon_guest:services_config",
"//src/virtualization/tests:virtualization_test_utils_pkg",
]
bootfs_labels = [
"//build/info:bootfs",
"//src/bringup/bin/bootsvc:bin",
"//src/bringup/bin/console-launcher:bootfs",
"//src/bringup/bin/console:bootfs",
"//src/bringup/bin/console",
"//src/bringup/bin/debuglog",
"//src/bringup/bin/device-name-provider",
"//src/bringup/bin/miscsvc",
"//src/bringup/bin/netsvc",
"//src/bringup/bin/ptysvc:bootfs",
"//src/bringup/bin/ptysvc",
"//src/bringup/bin/pwrbtn-monitor:bootfs",
"//src/bringup/bin/pwrbtn-monitor",
"//src/bringup/bin/run-vc",
"//src/bringup/bin/svchost",
"//src/bringup/bin/sysinfo:bootfs",
"//src/bringup/bin/sysinfo",
"//src/bringup/bin/trace-benchmark",
"//src/bringup/bin/virtcon:bootfs",
"//src/bringup/bin/waitfor",
"//src/bringup/bin/watch",
"//src/bringup/bundles:bootstrap",
"//src/connectivity/ethernet/drivers/ethernet",
"//src/connectivity/ethernet/drivers/virtio:virtio_ethernet",
"//src/connectivity/network/bin/ping",
"//src/connectivity/network/drivers/network-device",
"//src/devices/bin/driver_host",
"//src/devices/bin/driver_manager:bootfs",
"//src/devices/bin/driverctl",
"//src/devices/bin/lsdev",
"//src/devices/bin/unbind",
"//src/devices/block/drivers/fvm",
"//src/devices/block/drivers/virtio:virtio_block",
"//src/devices/block/drivers/virtio:virtio_scsi",
"//src/devices/board/drivers/machina",
"//src/devices/bundles:bootstrap-dev",
"//src/devices/bus/drivers/pci:bus-pci.proxy",
"//src/devices/bus/drivers/pci:bus-pci",
"//src/devices/misc/drivers/virtio-rng:virtio_rng",
"//src/devices/misc/drivers/virtio-socket:virtio_socket",
"//src/devices/serial/drivers/virtio-console:virtio_console",
"//src/devices/sysmem/drivers/sysmem",
"//src/diagnostics/bundles:debugging",
"//src/graphics/display/drivers/display",
"//src/graphics/drivers/virtio:virtio_gpu",
"//src/power/shutdown-shim:bootfs",
"//src/storage/bin/blobfs",
"//src/storage/bin/dd",
"//src/storage/bin/df",
"//src/storage/bin/mount",
"//src/storage/bin/umount",
"//src/storage/fshost:bootfs",
"//src/storage/fshost:no_minfs_zxcrypt",
"//src/storage/fshost",
"//src/sys/bin/psutils",
"//src/sys/bootstrap:root_manifests",
"//src/sys/component_manager:bootfs",
"//src/sys/component_manager:component_manager_bootfs_config",
"//src/ui/input/drivers/hid",
"//src/ui/input/drivers/hid-input-report",
"//src/ui/input/drivers/virtio:virtio_input",
"//zircon/third_party/uapp/dash",
]
if (current_cpu == "x64") {
bootfs_labels += [
"//src/devices/block/drivers/ahci",
"//src/devices/block/drivers/mbr",
"//src/devices/board/drivers/x86:platform-bus-x86",
"//src/devices/i2c/drivers/intel-i2c",
"//src/devices/serial/drivers/intel-serialio",
"//src/devices/serial/drivers/uart16550",
]
}
sysmgr_golden = "sysmgr-golden.json"
}