blob: bf6b1855150ad49977b20bfd6a7519b4a581a7c0 [file] [log] [blame]
# Copyright 2019 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") {
output_name = "fake-channel-control"
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.update.channelcontrol:fuchsia.update.channelcontrol_rust",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "src/main.rs" ]
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
}
fuchsia_component("fake-channel-control") {
component_name = "fake-channel-control"
manifest = "meta/fake-channel-control.cml"
deps = [ ":bin" ]
}