blob: 2a5393fca7b2de4646eaf70fb49615aec02f456a [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/host.gni")
import("//build/rust/rustc_library.gni")
# The `routing_test_helpers` library provides test harnesses for users of
# the `routing` library.
rustc_library("routing_test_helpers") {
edition = "2021"
testonly = true
visibility = [
"//src/sys/component_manager/*",
"//src/sys/lib/routing/*",
"//tools/lib/cm_fidl_analyzer/*",
]
deps = [
"//sdk/fidl/fuchsia.component:fuchsia.component_rust",
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_rust",
"//sdk/fidl/fuchsia.component.internal:fuchsia.component.internal_rust",
"//sdk/fidl/fuchsia.component.runner:fuchsia.component.runner_rust",
"//sdk/fidl/fuchsia.data:fuchsia.data_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/zircon/rust:fuchsia-zircon-status",
"//src/sys/lib/cm_config",
"//src/sys/lib/cm_moniker",
"//src/sys/lib/cm_rust",
"//src/sys/lib/cm_rust/testing",
"//src/sys/lib/cm_types",
"//src/sys/lib/component_id_index",
"//src/sys/lib/moniker",
"//src/sys/lib/routing",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:rand",
"//third_party/rust_crates:tempfile",
]
sources = [
"src/availability.rs",
"src/component_id_index.rs",
"src/lib.rs",
"src/policy.rs",
"src/rights.rs",
"src/storage.rs",
"src/storage_admin.rs",
]
}