blob: 12c5a2b0235502eafe2ef8b875d3c071067363a6 [file] [log] [blame]
# 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/host.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("pretty_serial") {
name = "pretty_serial"
with_unit_tests = true
edition = "2018"
deps = [
"//third_party/rust_crates:ansi_term",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:log",
"//third_party/rust_crates:regex",
]
sources = [ "src/main.rs" ]
}
install_host_tools("install") {
deps = [ ":pretty_serial" ]
outputs = [ "pretty_serial" ]
}
group("tests") {
testonly = true
deps = [ ":pretty_serial_test($host_toolchain)" ]
}