blob: 168e9ede022b1f011596b1993d690d961e89fcfe [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")
import("//build/rust/rustc_library.gni")
rustc_binary("bin") {
name = "http_client"
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-hyper",
"//garnet/public/rust/fuchsia-zircon",
"//sdk/fidl/fuchsia.net.oldhttp:fuchsia.net.oldhttp-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
]
}
package("http_client") {
deps = [
":bin",
]
binary = "http_client"
meta = [
{
path = rebase_path("meta/http_client.cmx")
dest = "http_client.cmx"
},
]
}