blob: 3f1c13c5f1e80be2368677bbb87520c49af8e3e0 [file] [log] [blame]
# 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/components.gni")
import("//build/rust/rustc_library.gni")
group("tests") {
testonly = true
deps = [ ":component_manager_util_test" ]
}
rustc_library("util") {
name = "cm_util"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl-rustc",
"//sdk/fidl/fuchsia.data:fuchsia.data-rustc",
"//sdk/fidl/fuchsia.io2:fuchsia.io2-rustc",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:paste",
]
sources = [
"src/channel.rs",
"src/convert.rs",
"src/lib.rs",
]
}
fuchsia_unittest_package("component_manager_util_test") {
deps = [ ":util_test" ]
}