| # 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("//tools/cmc/build/expect_includes.gni") | |
| expect_includes("storage_test_includes") { | |
| includes = [ "meta/storage_test.shard.cml" ] | |
| } | |
| group("storage_drivers") { | |
| testonly = true | |
| deps = [ | |
| "//src/devices/block/drivers/ftl", | |
| "//src/devices/block/drivers/ramdisk", | |
| "//src/devices/nand/drivers/ram-nand", | |
| "//src/storage/fvm:fvm-component", | |
| "//src/storage/gpt/component", | |
| ] | |
| } | |
| group("storage_driver_test_realm") { | |
| testonly = true | |
| deps = [ "driver_test_realm" ] | |
| } | |
| source_set("storage_driver_test_support") { | |
| testonly = true | |
| sources = [ | |
| "fvm.cc", | |
| "fvm.h", | |
| ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.device:fuchsia.device_cpp", | |
| "//sdk/fidl/fuchsia.sys2:fuchsia.sys2_cpp", | |
| "//sdk/lib/component/incoming/cpp", | |
| "//sdk/lib/device-watcher/cpp", | |
| "//sdk/lib/fdio-caller", | |
| "//sdk/lib/sys/cpp", | |
| "//sdk/lib/syslog/cpp", | |
| "//zircon/system/ulib/sync", | |
| ] | |
| public_deps = [ | |
| "//sdk/fidl/fuchsia.storage.block:fuchsia.storage.block_cpp", | |
| "//src/storage/lib/fs_management/cpp:fs-management", | |
| "//src/storage/lib/ramdevice_client/cpp", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } | |
| source_set("fake-paver") { | |
| public = [ "fake-paver.h" ] | |
| 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", | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/async-loop:async-loop-default", | |
| "//src/storage/lib/vfs/cpp", | |
| "//zircon/system/ulib/fzl", | |
| "//zircon/system/ulib/zircon-internal", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } |