| # Copyright 2022 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("realm_integration_test_bin") { |
| edition = "2021" |
| testonly = true |
| sources = [ "src/lib.rs" ] |
| deps = [ |
| "//examples/components/routing/fidl:echo-rustc", |
| "//sdk/fidl/fuchsia.io:fuchsia.io-rustc", |
| "//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia", |
| "//src/lib/fuchsia-component", |
| "//src/lib/fuchsia-fs", |
| ] |
| } |
| |
| fuchsia_unittest_package("realm_integration_test") { |
| manifest = "meta/realm_integration_test.cml" |
| deps = [ |
| ":realm_integration_test_bin", |
| |
| # fxbug.dev/101490: Dep included for affected tests presubmit |
| "//src/sys/component_manager:component-manager-realm-builder-cmp", |
| "//src/sys/component_manager/testing/echo_server", |
| ] |
| } |