blob: 7c2686576681d9586d82b53ac29a765d625f8ae8 [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/rust/rustc_library.gni")
rustc_library("legacy_component_lib") {
edition = "2021"
source_root = "src/legacy_component.rs"
deps = [
"//sdk/fidl/fuchsia.component.runner:fuchsia.component.runner_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//sdk/fidl/fuchsia.sys:fuchsia.sys_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-fs",
"//src/lib/storage/vfs/rust:vfs",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/sys/lib/runner",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tracing",
]
visibility = [
":*",
"tests:*",
"//src/lib/fuchsia-component-test/*",
]
sources = [ "src/legacy_component.rs" ]
}
group("legacy_tests") {
testonly = true
deps = [ "tests" ]
}