| # 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 = [ | |
| "//src/developer/fuchsia-criterion", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/syslog/rust:syslog", | |
| "//src/lib/zircon/rust:fuchsia-zircon", | |
| "//third_party/rust_crates:anyhow", | |
| "//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", | |
| "//third_party/rust_crates:thiserror", | |
| ] | |
| } |