blob: a4e197b12cedca925c6ae2ef9cf781d553460a3f [file] [log] [blame]
# Copyright 2021 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/components.gni")
expect_includes("storage_test_includes") {
includes = [ "meta/storage_test.shard.cml" ]
}
group("storage_drivers") {
testonly = true
deps = [
"//src/devices/block/drivers/core",
"//src/devices/block/drivers/ftl",
"//src/devices/block/drivers/gpt",
"//src/devices/block/drivers/ramdisk:ramdisk",
"//src/devices/block/drivers/zxcrypt",
"//src/devices/nand/drivers/ram-nand",
"//src/storage/fvm/driver",
]
}
group("storage_driver_test_realm") {
testonly = true
deps = [ "driver_test_realm" ]
}
source_set("storage_driver_test_support") {
testonly = true
sources = [
"fvm.cc",
"fvm.h",
"ram_disk.cc",
"ram_disk.h",
"zxcrypt.cc",
"zxcrypt.h",
]
deps = [
"//sdk/fidl/fuchsia.device:fuchsia.device_cpp",
"//sdk/fidl/fuchsia.device:fuchsia.device_hlcpp",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2_hlcpp",
"//sdk/lib/component/incoming/cpp",
"//sdk/lib/device-watcher/cpp",
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
"//src/security/lib/zxcrypt:zxcrypt-client",
"//src/storage/lib/fs_management/cpp:fs-management",
"//src/storage/lib/utils:topological_path",
"//zircon/system/ulib/fdio-caller",
"//zircon/system/ulib/sync",
]
public_deps = [
"//sdk/fidl/fuchsia.hardware.block.driver:fuchsia.hardware.block.driver_banjo_cpp",
"//src/storage/lib/ramdevice_client/cpp",
"//zircon/system/ulib/zx",
]
}
source_set("fake-paver") {
sources = [ "fake-paver.cc" ]
public_deps = [
"//sdk/fidl/fuchsia.boot:fuchsia.boot_cpp",
"//sdk/fidl/fuchsia.device:fuchsia.device_cpp",
"//sdk/fidl/fuchsia.paver:fuchsia.paver_cpp",
"//src/storage/lib/vfs/cpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/fzl",
"//zircon/system/ulib/zircon-internal",
"//zircon/system/ulib/zx",
]
}
group("tests") {
testonly = true
deps = [ "rust:tests" ]
}