| # Copyright 2024 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") | |
| import("//build/rust/rustc_test.gni") | |
| rustc_test("fdomain-connection-test-bin") { | |
| edition = "2024" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust_fdomain", | |
| "//sdk/fidl/fuchsia.io:fuchsia.io_rust_fdomain", | |
| "//sdk/rust/zx-status-ext", | |
| "//src/developer/remote-control/fidl:fuchsia.developer.remotecontrol.connector_rust", | |
| "//src/lib/fdomain/client", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//third_party/rust_crates:futures", | |
| ] | |
| sources = [ "src/lib.rs" ] | |
| } | |
| fuchsia_test_component("fdomain-connection-test-component") { | |
| deps = [ ":fdomain-connection-test-bin" ] | |
| component_name = "fdomain-connection-test" | |
| manifest = "meta/fdomain-connection-test.cml" | |
| test_type = "system" | |
| } | |
| fuchsia_test_package("fdomain-connection-test") { | |
| test_components = [ ":fdomain-connection-test-component" ] | |
| } |