| # 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_test.gni") |
| |
| rustc_test("stressor-bin") { |
| name = "fs_stressor" |
| edition = "2021" |
| source_root = "main.rs" |
| testonly = true |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.device:fuchsia.device_rust", |
| "//sdk/fidl/fuchsia.io:fuchsia.io_rust", |
| "//sdk/fidl/fuchsia.logger:fuchsia.logger_rust", |
| "//sdk/rust/zx", |
| "//src/lib/diagnostics/inspect/rust", |
| "//src/lib/diagnostics/log/rust", |
| "//src/lib/diagnostics/reader/rust", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/fuchsia-component-test", |
| "//src/storage/fidl/fuchsia.fs.startup:fuchsia.fs.startup_rust", |
| "//src/storage/fxfs/fidl/fuchsia.fxfs:fuchsia.fxfs_rust", |
| "//src/storage/lib/fs_management/rust:fs_management", |
| "//src/storage/lib/key-bag", |
| "//src/storage/stress-tests/utils", |
| "//src/sys/lib/stress-test", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:argh", |
| "//third_party/rust_crates:async-trait", |
| "//third_party/rust_crates:either", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:log", |
| "//third_party/rust_crates:once_cell", |
| "//third_party/rust_crates:rand", |
| "//third_party/rust_crates:serde_json", |
| ] |
| |
| sources = [ |
| "deletion_actor.rs", |
| "environment.rs", |
| "file_actor.rs", |
| "instance_actor.rs", |
| "main.rs", |
| ] |
| } |