blob: 76b36f25a31dc6d81ea515c216a98f440f8cc4f8 [file] [edit]
# 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.
import("//build/bazel/bazel_test_suite.gni")
bazel_test_suite("work-queue-tests") {
target_tests = [ "//src/sys/pkg/lib/work-queue:work-queue-tests" ]
host_tests = [ "//src/sys/pkg/lib/work-queue:work-queue_host_test" ]
}
group("tests") {
testonly = true
public_deps = [ ":work-queue-tests" ]
}
## 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")
rustc_library("work-queue") {
sources = [
"src/lib.rs",
"src/state.rs",
]
crate_name = "work_queue"
edition = "2024"
lint_config = "//build/config/rust/lints:clippy_warn_all"
visibility = [
":*",
"//src/sys/pkg/bin/pkg-cache:*",
"//src/sys/pkg/bin/pkg-resolver:*",
"//src/sys/pkg/lib:*",
]
deps = [
"//src/lib/diagnostics/inspect/rust:fuchsia-inspect",
"//src/lib/fuchsia-sync",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:pin-project",
"//third_party/rust_crates:thiserror",
]
}