| # Copyright 2022 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("example_tester") { |
| visibility = [ |
| "//examples/fidl/*", |
| "//tools/fidl/example-tester/*", |
| ] |
| testonly = true |
| edition = "2021" |
| name = "example_tester" |
| source_root = "src/lib.rs" |
| sources = [ "src/lib.rs" ] |
| deps = [ |
| "//src/lib/diagnostics/data/rust", |
| "//src/lib/diagnostics/reader/rust", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component-test", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//src/sys/lib/component-events", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:regex", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "//tools/fidl/example-tester/example:tests" ] |
| } |