blob: 93206fe9ab1fce1035a1218eeaf04a1bbe03ed51 [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.
import("//build/components.gni")
import("//build/rust/rustc_binary.gni")
import("//build/rust/rustc_library.gni")
rustc_test("stressor-bin") {
name = "fs_stressor"
edition = "2021"
source_root = "main.rs"
testonly = true
deps = [
"//sdk/fidl/fuchsia.hardware.block.partition:fuchsia.hardware.block.partition-rustc",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/storage/fs_management/rust:fs_management",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/storage/fxfs:fuchsia.fxfs-rustc",
"//src/storage/stress-tests/utils",
"//src/sys/lib/stress-test",
"//src/sys/pkg/lib/fuchsia-merkle",
"//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 = [
"deletion_actor.rs",
"environment.rs",
"file_actor.rs",
"instance_actor.rs",
"main.rs",
]
}