| # 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("test_utils_lib") { | |
| name = "test_utils_lib" | |
| edition = "2018" | |
| source_root = "lib.rs" | |
| deps = [ | |
| "//examples/components/routing/fidl:echo-rustc", | |
| "//garnet/lib/rust/files_async", | |
| "//garnet/lib/rust/io_util", | |
| "//sdk/fidl/fuchsia.io:fuchsia.io-rustc", | |
| "//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc", | |
| "//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc", | |
| "//src/lib/fdio/rust:fdio", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/storage/vfs/rust:vfs", | |
| "//src/lib/zircon/rust:fuchsia-zircon", | |
| "//src/sys/component_manager/tests/fidl:components-rustc", | |
| "//src/sys/component_manager/tests/fidl:echofactory-rustc", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:async-trait", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:log", | |
| "//third_party/rust_crates:paste", | |
| "//third_party/rust_crates:rand", | |
| "//third_party/rust_crates:regex", | |
| "//third_party/rust_crates:thiserror", | |
| ] | |
| sources = [ | |
| "descriptor.rs", | |
| "echo_capability.rs", | |
| "echo_factory_capability.rs", | |
| "events.rs", | |
| "injectors.rs", | |
| "interposers.rs", | |
| "lib.rs", | |
| "log.rs", | |
| "matcher.rs", | |
| "opaque_test.rs", | |
| "sequence.rs", | |
| "trigger_capability.rs", | |
| ] | |
| } |