blob: b71fc8d4b8fda0e52b1531262433c2d9bf62f2fa [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 = [ ":push-source-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("push-source") {
sources = [ "src/lib.rs" ]
edition = "2024"
proc_macro_deps = [ "//third_party/rust_crates:async-trait" ]
visibility = [
":*",
"//src/sys/time/httpsdate_time_source:*",
"//src/sys/time/testing:*",
]
deps = [
"//sdk/fidl/fuchsia.time.external:fuchsia.time.external_rust",
"//sdk/rust/zx",
"//src/lib/fidl/rust/fidl",
"//src/lib/watch_handler",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
}
rustc_test("push-source_test") {
sources = [ "src/lib.rs" ]
edition = "2024"
proc_macro_deps = [ "//third_party/rust_crates:async-trait" ]
deps = [
"//sdk/fidl/fuchsia.time.external:fuchsia.time.external_rust",
"//sdk/rust/zx",
"//src/lib/fidl/rust/fidl",
"//src/lib/watch_handler",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
] +
[
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:assert_matches",
]
}
fuchsia_unittest_package("push-source-tests") {
package_name = "push-source-tests-gn"
component_name = "push-source-tests"
deps = [ ":push-source_test" ]
visibility = [
":*",
"//src/sys:*",
]
}