blob: 4ce814a10763f37efe9ded01af768c8d2636465c [file] [log] [blame]
# Copyright 2023 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("controller_integration_test_bin") {
edition = "2021"
testonly = true
sources = [ "src/lib.rs" ]
deps = [
"//examples/components/routing/fidl:echo_rust",
"//sdk/fidl/fuchsia.component:fuchsia.component_rust",
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_rust",
"//sdk/fidl/fuchsia.component.sandbox:fuchsia.component.sandbox_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//sdk/fidl/fuchsia.process:fuchsia.process_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component-test",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-runtime",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/storage/lib/vfs/rust:vfs",
"//src/sys/lib/cm_rust",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:test-case",
]
}
fuchsia_unittest_package("controller_integration_test") {
manifest = "meta/controller_integration_test.cml"
deps = [
":controller_integration_test_bin",
"//examples/components/routing/rust/echo_server:echo_server_cmp_for_nested_cm",
"//src/sys/component_manager:component-manager-realm-builder-cmp",
]
}
group("tests") {
testonly = true
deps = [ ":controller_integration_test" ]
}