blob: 49f6ed11c7cc9fff26252fcab58e96e7383480a9 [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")
import("//build/rust/rustc_binary.gni")
import("//build/rust/rustc_library.gni")
rustc_test("stressor-bin") {
name = "fvm_stressor"
edition = "2021"
source_root = "main.rs"
testonly = true
deps = [
"//sdk/fidl/fuchsia.hardware.block.partition:fuchsia.hardware.block.partition-rustc",
"//sdk/fidl/fuchsia.hardware.block.volume:fuchsia.hardware.block.volume-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/storage/block_client/rust:remote-block-device",
"//src/lib/storage/fs_management/rust:fs_management",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/storage/stress-tests/utils",
"//src/sys/lib/stress-test",
"//src/sys/pkg/lib/fuchsia-merkle",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:rand",
]
sources = [
"environment.rs",
"instance_actor.rs",
"main.rs",
"volume.rs",
"volume_actor.rs",
"vslice.rs",
]
}