blob: c49848fb368a345e1911b2b7139d11e2ebe08863 [file] [log] [blame]
# 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 = "logging_component"
source_root = "logging_component.rs"
edition = "2018"
deps = [
"//src/lib/syslog/rust:syslog",
"//third_party/rust_crates:log",
]
sources = [ "logging_component.rs" ]
}
fuchsia_component("logging-component") {
testonly = true
manifest = "logging_component.cmx"
deps = [ ":bin" ]
}