| # 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 = "stress_test_utils" |
| edition = "2018" |
| source_root = "mod.rs" |
| |
| deps = [ |
| "//garnet/lib/rust/files_async", |
| "//garnet/lib/rust/io_util", |
| "//sdk/fidl/fuchsia.device:fuchsia.device-rustc", |
| "//sdk/fidl/fuchsia.hardware.block:fuchsia.hardware.block-rustc", |
| "//sdk/fidl/fuchsia.hardware.block.partition:fuchsia.hardware.block.partition-rustc", |
| "//sdk/fidl/fuchsia.hardware.block.volume:fuchsia.hardware.block.volume-rustc", |
| "//sdk/fidl/fuchsia.io:fuchsia.io-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/isolated_devmgr/v2_component/rust:isolated-driver-manager", |
| "//src/lib/storage/ramdevice_client", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//src/sys/component_manager/testing:test_utils_lib", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:async-trait", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:log", # for recording messages |
| "//third_party/rust_crates:rand", |
| "//third_party/rust_crates:rand_core", |
| ] |
| |
| sources = [ |
| "actor.rs", |
| "actor_runner.rs", |
| "counter.rs", |
| "data.rs", |
| "environment.rs", |
| "fvm.rs", |
| "instance.rs", |
| "io.rs", |
| "mod.rs", |
| ] |
| |
| non_rust_deps = [ "//zircon/system/ulib/fs-management" ] |
| } |