blob: e7a2689359c82202b8954b7c17335541f10d7a52 [file]
# Copyright 2023 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/components.gni")
group("testing") {
testonly = true
deps = [
":tests",
":timekeeper_integration",
"example",
"fake-hrtimer",
"fake-wake-alarms",
"realm-proxy",
"utc-handle-vendor",
"wake-alarms",
]
}
group("tests") {
testonly = true
deps = [
"example:tests",
"fidl",
]
}
fuchsia_component_manifest("manifest_for_integration") {
testonly = true
component_name = "timekeeper_for_integration"
manifest = "meta/timekeeper_for_integration.cml"
}
fuchsia_component_manifest("manifest_with_fake_time") {
testonly = true
component_name = "timekeeper_with_fake_time"
manifest = "meta/timekeeper_with_fake_time.cml"
}
fuchsia_component("timekeeper_for_integration") {
testonly = true
cm_label = ":manifest_for_integration"
deps = [ "//src/sys/time/timekeeper:bin" ]
}
fuchsia_component("timekeeper_with_fake_time") {
testonly = true
cm_label = ":manifest_with_fake_time"
deps = [ "//src/sys/time/timekeeper:bin_with_fake_time" ]
}
# A Timekeeper package for integration tests.
fuchsia_package("timekeeper-with-config") {
testonly = true
package_name = "timekeeper_for_integration"
deps = [ ":timekeeper_for_integration" ]
}
## 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("timekeeper_integration") {
testonly = true
sources = [ "lib/lib.rs" ]
crate_name = "timekeeper_integration_lib"
source_root = "lib/lib.rs"
edition = "2024"
visibility = [
":*",
"//src/sys/time/testing/realm-proxy:*",
"//src/sys/time/timekeeper_integration:*",
]
deps = [
"//sdk/fidl/fuchsia.hardware.rtc:fuchsia.hardware.rtc_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//sdk/fidl/fuchsia.metrics:fuchsia.metrics_rust",
"//sdk/fidl/fuchsia.metrics.test:fuchsia.metrics.test_rust",
"//sdk/fidl/fuchsia.time:fuchsia.time_rust",
"//sdk/fidl/fuchsia.time.external:fuchsia.time.external_rust",
"//sdk/rust/zx",
"//src/lib/async-utils",
"//src/lib/fake-clock/fidl:fidl_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-component-test",
"//src/lib/fuchsia-sync",
"//src/storage/lib/vfs/rust:vfs",
"//src/sys/time/lib/push-source",
"//src/sys/time/lib/time_metrics_registry",
"//src/sys/time/testing/fidl/test.time:fidl_rust",
"//src/sys/time/testing/fidl/test.time.realm:fidl_rust",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
}