blob: e7ef80652aa2bc5b6e54e1a3d46797c58b3929dc [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/rust/rustc_binary.gni")
import("//build/rust/rustc_library.gni")
import("//src/sys/build/components.gni")
rustc_binary("stressor-bin") {
name = "minfs_stressor"
edition = "2018"
source_root = "main.rs"
deps = [
"//sdk/fidl/fuchsia.hardware.block.partition:fuchsia.hardware.block.partition-rustc",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//src/lib/fuchsia-async",
"//src/lib/storage/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",
"//third_party/rust_crates:rand_core",
]
sources = [
"deletion_actor.rs",
"environment.rs",
"file_actor.rs",
"instance_actor.rs",
"main.rs",
]
}