blob: d0c2f33d4a098694da524a17cd2259404d51259a [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")
rustc_library("payload_streamer") {
edition = "2021"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.paver:fuchsia.paver-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
]
test_deps = [
"//src/lib/fuchsia-async",
"//third_party/rust_crates:futures",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("payload-streamer-tests") {
deps = [ ":payload_streamer_test" ]
}
group("tests") {
testonly = true
deps = [ ":payload-streamer-tests" ]
}