| # 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/fidl/fidl.gni") |
| import("//build/rust/rustc_binary.gni") |
| import("//build/test/test_package.gni") |
| |
| test_package("transit_bench") { |
| tests = [ |
| { |
| name = "transit_bench" |
| }, |
| ] |
| public_deps = [ |
| ":bin", |
| ] |
| } |
| |
| rustc_binary("bin") { |
| name = "transit_bench" |
| edition = "2018" |
| with_unit_tests = true |
| |
| deps = [ |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/fuchsia-async", |
| "//garnet/public/rust/fuchsia-component", |
| "//garnet/public/rust/fuchsia-syslog", |
| "//garnet/public/rust/fuchsia-zircon", |
| "//src/developer/fuchsia-criterion", |
| "//third_party/rust_crates:failure", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:lazy_static", |
| "//third_party/rust_crates:log", |
| "//third_party/rust_crates:parking_lot", |
| "//third_party/rust_crates:rand", |
| ] |
| } |