blob: 5f1d3eb4fa23a02e689305a4395b4948480c633f [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_writer"
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//sdk/fidl/fuchsia.update.channelcontrol:fuchsia.update.channelcontrol-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
]
}
package("fake_channel_writer") {
deps = [
":bin",
]
binaries = [
{
name = "fake_channel_writer"
},
]
meta = [
{
path = rebase_path("meta/fake_channel_writer.cmx")
dest = "fake_channel_writer.cmx"
},
]
}