blob: 9dcb3ef7dcc0479fcd544e2c48b935853172b628 [file]
# Copyright 2020 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.
group("tests") {
testonly = true
deps = [ ":ffx_component_debug_test($host_toolchain)" ]
}
## 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/args.rs",
"src/lib.rs",
]
crate_name = "ffx_component_debug"
edition = "2024"
visibility = [
":*",
"//src/developer/ffx/plugins/component:*",
]
deps = [
"//sdk/fidl/fuchsia.debugger:fuchsia.debugger_rust_fdomain",
"//sdk/rust/zx-types",
"//src/developer/debug/ffx_zxdb",
"//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/component/common:ffx_component",
"//src/sys/lib/component_debug:component_debug_fdomain",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:serde",
]
}
}
if (is_host) {
rustc_test("ffx_component_debug_test") {
sources = [
"src/args.rs",
"src/lib.rs",
]
edition = "2024"
deps = [
"//sdk/fidl/fuchsia.debugger:fuchsia.debugger_rust_fdomain",
"//sdk/rust/zx-types",
"//src/developer/debug/ffx_zxdb",
"//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/component/common:ffx_component",
"//src/sys/lib/component_debug:component_debug_fdomain",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:serde",
] +
[
"//sdk/fidl/fuchsia.io:fuchsia.io_rust_fdomain",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2_rust_fdomain",
"//src/developer/ffx/lib/testing:lib",
"//src/lib/fdomain/client",
"//src/lib/fdomain/local",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/storage/lib/vfs/rust:vfs",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde_json",
]
}
}