| # Copyright 2024 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_memory_components") { |
| sdk_category = "not-yet-specified" |
| version = "0.1.0" |
| edition = "2024" |
| |
| sources = [ |
| "src/detailed.rs", |
| "src/json.rs", |
| "src/lib.rs", |
| "src/output.rs", |
| "src/statistics.rs", |
| ] |
| deps = [ |
| "//sdk/fidl/fuchsia.kernel:fuchsia.kernel_rust", |
| "//sdk/fidl/fuchsia.memory.attribution.plugin:fuchsia.memory.attribution.plugin_rust", |
| "//sdk/rust/zx-types", |
| "//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/lib/fidl/rust/fidl", |
| "//src/performance/memory/attribution/processing", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:async-trait", |
| "//third_party/rust_crates:chrono", |
| "//third_party/rust_crates:csv", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:prettytable-rs", |
| "//third_party/rust_crates:regex", |
| "//third_party/rust_crates:serde", |
| "//third_party/rust_crates:serde_json", |
| "//third_party/rust_crates:zerocopy", |
| ] |
| |
| test_deps = [ "//third_party/rust_crates:pretty_assertions" ] |
| args_sources = [ "src/args.rs" ] |
| args_deps = [ |
| "//src/developer/ffx/core:lib", |
| "//third_party/rust_crates:argh", |
| ] |
| |
| with_unit_tests = true |
| } |