blob: 347e96e30cc7b58d71541df5529c12189c183111 [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/package.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
name = "fake-channel-control"
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.update.channelcontrol:fuchsia.update.channelcontrol-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
}
package("fake-channel-control") {
deps = [ ":bin" ]
binaries = [
{
name = "fake_channel_control"
dest = "fake-channel-control"
},
]
meta = [
{
path = rebase_path("meta/fake-channel-control.cmx")
dest = "fake-channel-control.cmx"
},
]
}