blob: d3d090e32734fcdde3811c895e7e634dc586d235 [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.
import("//build/components.gni")
# For use as a subpackage in CTF and similar tests. Kept above the sentinel
# because bazel2gn does not translate fx_package.
fuchsia_package("pkg") {
package_name = "dev_time_source"
testonly = true
deps = [ ":component" ]
}
## 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_binary("bin") {
testonly = true
sources = [ "src/main.rs" ]
output_name = "dev_time_source"
edition = "2024"
deps = [
"//sdk/fidl/fuchsia.time.external:fuchsia.time.external_rust",
"//sdk/rust/zx",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-component",
"//src/sys/time/testing/fidl/test.time:fidl_rust",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
}
fuchsia_component_manifest("component-manifest") {
testonly = true
component_name = "dev_time_source"
manifest = "meta/service.cml"
}
fuchsia_component("component") {
testonly = true
cm_label = ":component-manifest"
visibility = [
":*",
"//src/sys/time/testing/realm-proxy:*",
]
deps = [ ":bin" ]
}