| # Copyright 2026 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") | |
| # NOTE: `httpsdate_time_source_integration_test` and | |
| # `httpsdate-time-source-integration-tests` remain in BUILD.gn until | |
| # `//src/diagnostics/archivist:archivist-for-embedding-bundle` and | |
| # `//src/lib/fuchsia-component-test/realm_builder_server:realm_builder_server_component` | |
| # are migrated to Bazel. | |
| fuchsia_component("httpsdate_time_source_integration_test") { | |
| testonly = true | |
| deps = [ ":bin" ] | |
| manifest = "meta/httpsdate_time_source_integration_test.cml" | |
| } | |
| fuchsia_test_package("httpsdate-time-source-integration-tests") { | |
| test_components = [ ":httpsdate_time_source_integration_test" ] | |
| deps = [ | |
| "//src/diagnostics/archivist:archivist-for-embedding-bundle", | |
| "//src/sys/time/httpsdate_time_source:service", | |
| ] | |
| } | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":httpsdate-time-source-integration-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_test("bin") { | |
| sources = [ "test.rs" ] | |
| output_name = "httpsdate_time_source_tests" | |
| source_root = "test.rs" | |
| edition = "2024" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.component:fuchsia.component_rust", | |
| "//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_rust", | |
| "//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics_rust", | |
| "//sdk/fidl/fuchsia.io:fuchsia.io_rust", | |
| "//sdk/fidl/fuchsia.time.external:fuchsia.time.external_rust", | |
| "//sdk/rust/zx", | |
| "//src/lib/diagnostics/reader/rust", | |
| "//src/lib/diagnostics/testing/diagnostics-assertions/rust:diagnostics-assertions", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/fuchsia-component-test", | |
| "//src/sys/lib/cm_rust", | |
| "//src/sys/lib/cm_types", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:log", | |
| ] | |
| } |