blob: 89cfd03d716f30b953c431790fa4a9b240c28eae [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/rust/rustc_library.gni")
import("//src/sys/build/components.gni")
rustc_library("stream_link") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.overnet.protocol:fuchsia.overnet.protocol-rustc",
"//src/connectivity/overnet/lib/core",
"//src/connectivity/overnet/lib/stream_framer",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:byteorder",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("overnet-stream-link-tests") {
manifest = "meta/stream_link_lib_test.cmx"
deps = [ ":stream_link_test" ]
}
group("tests") {
testonly = true
deps = [
":overnet-stream-link-tests",
":stream_link_test($host_toolchain)",
]
}