blob: b6c342d94fae9430d0e5ff25330bdd7634117990 [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")
group("interface_passing") {
testonly = true
deps = [
":bin",
":bin($host_toolchain)",
":overnet-interface-passing",
"service",
]
}
rustc_binary("bin") {
name = "overnet_interface_passing"
edition = "2018"
deps = [
"//garnet/examples/fidl/services:echo-rustc",
"//sdk/fidl/fuchsia.overnet:fuchsia.overnet-rustc",
"//src/connectivity/overnet/examples/interface_passing/service:interface_passing-rustc",
"//src/connectivity/overnet/lib/hoist",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:clap",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
non_rust_deps = [ "//third_party/boringssl" ]
}
package("overnet-interface-passing") {
deps = [ ":bin" ]
binaries = [
{
name = "overnet_interface_passing"
dest = "overnet_example"
},
]
meta = [
{
path = rebase_path("../meta/overnet_example.cmx")
dest = "overnet_interface_passing.cmx"
},
]
}