blob: d5f3c914ddd6d409d7401317486f8d0f5acc9499 [file] [log] [blame]
# Copyright 2019 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_library.gni")
rustc_library("realm_management") {
name = "realm_management"
with_unit_tests = true
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.component:fuchsia.component_rust",
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//src/lib/fidl/rust/fidl",
]
test_deps = [
"//src/lib/fdio",
"//src/lib/fuchsia",
"//src/lib/test_util",
"//src/session/testing",
"//third_party/rust_crates:lazy_static",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("realm_management_tests") {
deps = [ ":realm_management_test" ]
}