| # Copyright 2021 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/rust/rustc_test.gni") |
| |
| rustc_test("bin") { |
| edition = "2021" |
| name = "rust_sample_realm" |
| |
| # [START realm_builder_dep_rust] |
| deps = [ |
| "//src/lib/fuchsia-component-test", |
| |
| # [START_EXCLUDE] |
| "//examples/components/routing/fidl:echo_rust", |
| "//src/lib/fuchsia", |
| "//src/lib/fuchsia-component", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| |
| # [END_EXCLUDE] |
| ] |
| |
| # [END realm_builder_dep_rust] |
| |
| sources = [ "src/lib.rs" ] |
| } |