blob: 3364c98757de7ab0f70a6b3c2ae26c59e0a981c8 [file]
# Copyright 2023 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_profile_heapdump_snapshot") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2024"
deps = [
"//sdk/fidl/fuchsia.memory.heapdump.client:fuchsia.memory.heapdump.client_rust_fdomain",
"//src/developer/ffx/config:lib",
"//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",
"//src/developer/ffx/plugins/profile/heapdump/common:ffx_profile_heapdump_common",
"//src/lib/fdomain/client",
"//src/performance/memory/heapdump/lib/heapdump_snapshot:heapdump_snapshot_fdomain",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
]
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
]
sources = [ "src/lib.rs" ]
}