| # 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/rust/rustc_library.gni") |
| import("//tools/cmc/build/expect_includes.gni") |
| |
| rustc_library("stress-test-actor") { |
| edition = "2021" |
| source_root = "src/actor.rs" |
| deps = [ |
| ":actor_includes", |
| "//sdk/fidl/fuchsia.stresstest:fuchsia.stresstest-rustc", |
| "//sdk/fidl/fuchsia.stresstest:rust_measure_tape_for_action", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:rand", |
| ] |
| sources = [ "src/actor.rs" ] |
| } |
| |
| expect_includes("actor_includes") { |
| includes = [ "default.shard.cml" ] |
| } |
| |
| group("actor") { |
| public_deps = [ ":stress-test-actor" ] |
| } |