blob: 0f52c94c1b5370a5524148e3af213c9479647938 [file] [log] [blame]
# Copyright 2017 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 = "eth_rs"
edition = "2018"
deps = [
"//garnet/lib/rust/ethernet",
"//garnet/lib/rust/fidl_fuchsia_hardware_ethernet_ext",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
]
}
package("eth-rs") {
deps = [
":bin",
]
binary = "eth_rs"
meta = [
{
path = rebase_path("meta/eth-rs.cmx")
dest = "eth-rs.cmx"
},
]
}