| # 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/components.gni") |
| import("//build/rust/rustc_binary.gni") |
| |
| rustc_binary("bin") { |
| name = "stdio_puppet" |
| edition = "2018" |
| |
| deps = [ |
| "//src/diagnostics/archivist/tests/logs-basic-integration:stdio-rustc", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/syslog/rust:syslog", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:log", |
| ] |
| |
| sources = [ "src/main.rs" ] |
| } |
| |
| fuchsia_component("stdio_puppet") { |
| testonly = true |
| manifest = "meta/stdio_puppet.cmx" |
| deps = [ ":bin" ] |
| } |
| |
| group("puppet") { |
| testonly = true |
| deps = [ ":stdio_puppet" ] |
| } |