blob: 81a2a9de774baf861e1c45854673bfb01b844ae6 [file] [log] [blame]
# Copyright 2018 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 = "network_speed_test"
edition = "2018"
deps = [
"//garnet/public/fidl/fuchsia.net.oldhttp:fuchsia.net.oldhttp-rustc",
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-app",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-syslog",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
"//third_party/rust-crates/rustc_deps:pin-utils",
"//third_party/rust-crates/rustc_deps:serde",
"//third_party/rust-crates/rustc_deps:serde_derive",
"//third_party/rust-crates/rustc_deps:serde_json",
"//third_party/rust-crates/rustc_deps:structopt",
"//zircon/public/fidl/fuchsia-net:fuchsia-net-rustc",
"//zircon/public/fidl/fuchsia-net-stack:fuchsia-net-stack-rustc",
]
}
package("network-speed-test") {
deprecated_bare_package_url = "//build"
meta = [
{
path = "meta/network-speed-test.cmx"
dest = "network-speed-test.cmx"
},
]
deps = [
":bin",
]
binary = "network_speed_test"
}