blob: b7b5657bd08c8c2c0e7ade3e1966290d5667303c [file]
# 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.
assert(is_host, "addr is for use with the host toolchain only")
group("addr") {
testonly = true
deps = [
":lib",
":tests",
]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
if (is_host) {
rustc_library("lib") {
sources = [
"src/lib.rs",
"src/target_addr.rs",
]
crate_name = "addr"
edition = "2024"
test_deps = [
"//src/connectivity/lib/net-declare",
"//src/lib/fuchsia",
]
version = "0.1.0"
visibility = [
":*",
"//src/developer/ffx/*",
"//tools/funnel/*",
]
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.net:fuchsia.net_rust_common",
"//src/developer/ffx/fidl:fuchsia.developer.ffx_rust_common",
"//src/developer/ffx/lib/netext:lib",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:thiserror",
]
}
}