blob: 6be98cfa6439f836bf5ec4e5c0c71cacbab3d1bc [file] [log] [blame]
# 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_binary.gni")
import("//build/rust/rustc_test.gni")
group("tests") {
testonly = true
deps = [ ":lifecycle_controller_test" ]
}
rustc_test("lifecycle_controller_test_bin") {
name = "lifecycle_controller_test"
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.component:fuchsia.component-rustc",
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl-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",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("lifecycle_controller_test") {
manifest = "meta/lifecycle_controller_test.cml"
deps = [
":lifecycle_controller_test_bin",
"//src/sys/component_manager/testing/echo_server",
]
}