| # 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. |
| |
| import("//build/rust/rustc_library.gni") |
| |
| rustc_library("utils") { |
| name = "storage_stress_test_utils" |
| edition = "2021" |
| source_root = "mod.rs" |
| testonly = true |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.block.volume:fuchsia.hardware.block.volume_rust", |
| "//sdk/fidl/fuchsia.io:fuchsia.io_rust", |
| "//src/lib/fuchsia-fs", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//src/storage/lib/ramdevice_client", |
| "//src/storage/testing/rust:storage-isolated-driver-manager", |
| "//third_party/rust_crates:rand", |
| "//third_party/rust_crates:tracing", # for recording messages |
| ] |
| |
| sources = [ |
| "data.rs", |
| "fvm.rs", |
| "io.rs", |
| "mod.rs", |
| ] |
| } |