blob: c0bb106fc37a1b411be4f142f3001022280bbb83 [file] [log] [blame]
# Copyright 2021 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")
assert(is_host, "ffx_plugins are supported only for the host toolchain")
ffx_plugin("ffx_net") {
sdk_category = "not-yet-specified"
edition = "2024"
args_deps = [
"//src/connectivity/network/net-cli:lib",
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
]
deps = [
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust",
"//sdk/fidl/fuchsia.net.debug:fuchsia.net.debug_rust",
"//sdk/fidl/fuchsia.net.dhcp:fuchsia.net.dhcp_rust",
"//sdk/fidl/fuchsia.net.filter:fuchsia.net.filter_rust",
"//sdk/fidl/fuchsia.net.filter.deprecated:fuchsia.net.filter.deprecated_rust",
"//sdk/fidl/fuchsia.net.interfaces:fuchsia.net.interfaces_rust",
"//sdk/fidl/fuchsia.net.interfaces.admin:fuchsia.net.interfaces.admin_rust",
"//sdk/fidl/fuchsia.net.name:fuchsia.net.name_rust",
"//sdk/fidl/fuchsia.net.neighbor:fuchsia.net.neighbor_rust",
"//sdk/fidl/fuchsia.net.root:fuchsia.net.root_rust",
"//sdk/fidl/fuchsia.net.routes:fuchsia.net.routes_rust",
"//sdk/fidl/fuchsia.net.stack:fuchsia.net.stack_rust",
"//sdk/fidl/fuchsia.net.stackmigrationdeprecated:fuchsia.net.stackmigrationdeprecated_rust",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2_rust",
"//src/connectivity/network/net-cli: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",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:serde_json",
]
args_sources = [ "src/args.rs" ]
sources = [ "src/lib.rs" ]
}