blob: bde4b011c3b4dc8635a9ba26342dd01a928cb001 [file]
# Copyright 2022 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.
## 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")
_TESTING_SRCS = [
"src/controller.rs",
"src/diagnostics.rs",
"src/input.rs",
"src/lib.rs",
"src/manager.rs",
"src/options.rs",
"src/test.rs",
"src/util.rs",
"src/writer.rs",
]
# To avoid "Assignment had no effect" from GN.
# It's possible this variable is only used in if conditions (e.g. is_host).
not_needed([ "_TESTING_SRCS" ])
rustc_library("testing") {
testonly = true
sources = _TESTING_SRCS
crate_name = "fuchsia_fuzzctl_test"
edition = "2024"
visibility = [
":*",
"//src/sys/fuzzing/fuzzctl:*",
]
deps = [
"//sdk/rust/zx-status",
"//src/lib/diagnostics/data",
"//src/lib/fdomain/client:flex_fidl",
"//src/lib/fuchsia-async",
"//src/sys/fuzzing/fidl:fuchsia.fuzzer_rust_flex",
"//src/sys/fuzzing/fuzzctl:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:tempfile",
]
}
rustc_library("testing_fdomain") {
testonly = true
sources = _TESTING_SRCS
features = [ "fdomain" ]
crate_name = "fuchsia_fuzzctl_test_fdomain"
edition = "2024"
visibility = [
":*",
"//src/developer/ffx/plugins/fuzz:*",
"//src/sys/fuzzing/fuzzctl:*",
]
deps = [
"//sdk/rust/zx-status",
"//src/lib/diagnostics/data",
"//src/lib/fdomain/client:flex_fdomain",
"//src/lib/fdomain/local",
"//src/lib/fuchsia-async",
"//src/sys/fuzzing/fidl:fuchsia.fuzzer_rust_fdomain_flex",
"//src/sys/fuzzing/fuzzctl:lib_fdomain",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:tempfile",
]
}