blob: 8a8b8fddd30da8393db7c0c9dde9178a0fc8f577 [file] [log] [blame]
# 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-example-next-bin") {
edition = "2021"
deps = [
"//examples/fidl/fuchsia.examples:fuchsia.examples_rust_fdomain_next",
"//examples/fidl/fuchsia.examples:fuchsia.examples_rust_next",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust_fdomain_next",
"//src/lib/fdomain/client",
"//src/lib/fdomain/container",
"//src/lib/fidl/rust/fidl",
"//src/lib/fidl/rust_next/fidl_next",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/storage/lib/vfs/rust:vfs",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
sources = [
"src/lib.rs",
"src/transport.rs",
]
}
fuchsia_test_component("fdomain-example-next-component") {
deps = [ ":fdomain-example-next-bin" ]
component_name = "fdomain-example-next"
manifest = "meta/fdomain-example-next.cml"
}
fuchsia_test_package("fdomain-example-next") {
test_components = [ ":fdomain-example-next-component" ]
}