| # 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/rust/rustc_binary.gni") |
| import("//build/package.gni") |
| |
| rustc_binary("bin") { |
| name = "eth_rs" |
| edition = "2018" |
| deps = [ |
| "//garnet/lib/rust/ethernet", |
| "//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" |
| }, |
| ] |
| } |