blob: f70f254f57e3edcdd870a0a5b1b3beff4d3e81e8 [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-rustc",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//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:log",
]
visibility = [
":*",
"tests:*",
"//src/lib/fuchsia-component-test/*",
"//src/sys/test_manager/cmx_runner:*",
]
sources = [ "src/legacy_component.rs" ]
}
group("tests") {
testonly = true
deps = [ "tests" ]
}