blob: 81f376334de74beb9075e82fd88af71d140940bf [file] [log] [blame]
# Copyright 2020 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 target contains drivers that are present on the boot partition of all
# products.
group("bootstrap-dev") {
deps = [
"//src/devices/block/drivers/core",
"//src/devices/block/drivers/fvm",
"//src/devices/block/drivers/gpt",
"//src/devices/block/drivers/ramdisk",
"//src/devices/block/drivers/sdmmc",
"//src/devices/block/drivers/zxcrypt",
"//src/devices/bus/drivers/platform:platform-bus",
"//src/devices/bus/drivers/platform:platform-bus.proxy",
"//src/devices/clock/drivers/clock",
"//src/devices/gpio/drivers/gpio",
"//src/devices/i2c/drivers/i2c",
"//src/devices/internal/drivers/fragment",
"//src/devices/internal/drivers/fragment:fragment.proxy",
"//src/devices/misc/drivers/builtin",
"//src/devices/misc/drivers/cpu-trace",
"//src/devices/power/drivers/power",
"//src/devices/pwm/drivers/pwm",
"//src/devices/serial/drivers/serial",
"//src/devices/serial/drivers/serial-async",
"//src/devices/spi/drivers/spi",
"//src/devices/sysmem/drivers/sysmem",
]
}
# This target contains executables that are present on the boot partition of all
# products.
group("bootstrap-bin") {
deps = [
"//src/devices/bin/driver_host",
"//src/devices/bin/driver_manager:bootfs",
]
}
group("usb-host-stack") {
deps = [
"//src/devices/block/drivers/usb-mass-storage",
"//src/devices/ml/drivers/usb-harriet",
"//src/devices/serial/drivers/ftdi",
"//src/devices/serial/drivers/usb-cdc-acm",
"//src/devices/usb/bin/lsusb",
"//src/devices/usb/drivers/usb-bus",
"//src/devices/usb/drivers/usb-composite",
"//src/devices/usb/drivers/usb-dfu",
]
if (target_cpu == "x64") {
deps += [ "//src/devices/usb/drivers/usb-hub" ]
} else {
deps += [ "//src/devices/usb/drivers/usb-hub-rewrite" ]
}
}
group("usb-peripheral-stack") {
deps = [
"//src/devices/block/drivers/ums-function",
"//src/devices/usb/bin/usbctl",
"//src/devices/usb/drivers/usb-peripheral",
]
}
group("utils") {
deps = [
"//src/devices/bin/driverctl",
"//src/devices/bin/lsdev",
"//src/devices/bin/unbind",
"//src/devices/block/bin/gpt",
"//src/devices/block/bin/lsblk",
"//src/devices/block/bin/sdio",
"//src/devices/clock/bin/clock",
"//src/devices/clock/bin/clock:clkctl",
"//src/devices/cpu/bin/cpuctl",
"//src/devices/gpio/bin/gpioutil",
"//src/devices/i2c/bin:i2cutil",
"//src/devices/i2c/bin/i2c",
"//src/devices/power/bin/lspwr",
"//src/devices/spi/bin/spiutil",
"//src/devices/thermal/bin/thermal-cli",
"//zircon/system/ulib/driver-info/app:driverinfo",
]
}
group("manual_testing") {
testonly = true
deps = [
"//src/devices/bin/tee-test",
"//src/devices/block/bin/biotime",
"//src/devices/block/bin/blktest",
"//src/devices/block/bin/iochk",
"//src/devices/block/bin/iotime",
"//src/devices/gpio/drivers/gpio-test",
"//src/devices/misc/drivers/test",
"//src/devices/serial/bin/serial-test",
"//src/devices/tests/sysdev",
"//src/devices/usb/bin/usb-fwloader",
"//src/devices/usb/bin/xdc-test",
"//src/devices/usb/drivers/usb-peripheral-test",
]
}
group("debugging") {
deps = [
"//src/devices/block/bin/disk-inspect",
"//src/devices/block/bin/fvm-check",
"//src/devices/nand/bin/nand-loader",
"//src/devices/nand/bin/nand-util",
"//src/devices/nand/drivers/broker:nand-broker",
]
}