blob: df9cacf3914f27116100b06e7ee103afa5290654 [file] [log] [blame]
# Copyright 2018 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_binary.gni")
import("//build/package.gni")
rustc_binary("bin") {
name = "log_listener"
with_unit_tests = true
deps = [
"//garnet/public/rust/crates/fuchsia-async",
"//garnet/public/rust/crates/fuchsia-syslog-listener",
"//garnet/public/rust/crates/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:chrono",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:tempdir",
"//zircon/public/fidl/fuchsia-logger:fuchsia-logger-rustc",
]
}
package("log_listener") {
deprecated_system_image = true
deps = [
":bin",
]
binaries = [
{
name = "rust_crates/log_listener"
dest = "log_listener"
},
]
}
package("log_listener_tests") {
testonly = true
deps = [
":bin",
]
tests = [
{
name = "log_listener_bin_test_rustc"
},
]
}