blob: a45d3da05fa2f10b3c6360fca846e89f06e14e2b [file] [log] [blame]
# Copyright 2022 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("//src/developer/ffx/build/ffx_plugin.gni")
ffx_plugin("ffx_gpu_usage") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2024"
sources = [ "src/lib.rs" ]
deps = [
"//sdk/fidl/fuchsia.power.metrics:fuchsia.power.metrics_rust",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/writer:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
]
test_deps = [
"//src/lib/fuchsia",
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:futures",
]
with_unit_tests = true
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:regex",
]
args_with_unit_tests = true
}