blob: 25d6e84ebeb9af0879d83f01c24b31ed2a64fe7a [file] [log] [blame]
# Copyright 2020 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/components.gni")
import("//build/rust/rustc_binary.gni")
import("//build/testing/environments.gni")
rustc_binary("bin") {
edition = "2021"
name = "single_counter_bin"
testonly = true
deps = [
"//src/diagnostics/sampler/tests/fidl:fuchsia.samplertestcontroller-rustc",
"//src/lib/diagnostics/inspect/runtime/rust",
"//src/lib/diagnostics/inspect/rust",
"//src/lib/diagnostics/log/rust",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tracing",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("single_counter_test_component") {
testonly = true
component_name = "single_counter_test_component"
manifest = "meta/single-counter-test-component.cml"
deps = [ ":bin" ]
}