| # 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 = "httpget_rust" |
| edition = "2018" |
| |
| deps = [ |
| "//garnet/public/fidl/fuchsia.net.oldhttp:fuchsia.net.oldhttp-rustc", |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/crates/fuchsia-app", |
| "//garnet/public/rust/crates/fuchsia-async", |
| "//garnet/public/rust/crates/fuchsia-zircon", |
| "//third_party/rust-crates/rustc_deps:failure", |
| "//third_party/rust-crates/rustc_deps:futures-preview", |
| "//zircon/public/fidl/fuchsia-mem:fuchsia-mem-rustc", |
| ] |
| } |
| |
| package("httpget_rust") { |
| deps = [ |
| ":bin", |
| ] |
| |
| binary = "rust_crates/httpget_rust" |
| } |