blob: 662bf3be006692100622750819d941f4c8d1ef0b [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/rust/rustc_binary.gni")
import("//build/test/test_package.gni")
package("rust-inspect-benchmarks") {
testonly = true
binaries = [
{
name = "rust_inspect_benchmarks"
},
]
meta = [
{
path = rebase_path("meta/rust_inspect_benchmarks.cmx")
dest = "rust_inspect_benchmarks.cmx"
},
]
public_deps = [ ":bin" ]
}
rustc_binary("bin") {
name = "rust_inspect_benchmarks"
edition = "2018"
with_unit_tests = true
deps = [
"//src/lib/diagnostics/inspect/rust",
"//src/lib/fuchsia-async",
"//src/lib/mapped-vmo",
"//src/lib/trace/rust:trace",
"//src/lib/trace/rust:trace-provider",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:num",
"//third_party/rust_crates:num-traits",
"//third_party/rust_crates:parking_lot",
"//third_party/rust_crates:paste",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}