blob: fb94bb5b382ba0c960c9f9d4dd6cb8297e71caa9 [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("//build/test/test_package.gni")
rustc_library("io_util") {
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fdio",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:tempfile",
"//zircon/public/fidl/fuchsia-io:fuchsia-io-rustc",
]
}
test_package("io_util_tests") {
deps = [
":io_util",
]
tests = [
{
name = "io_util_lib_test"
dest = "io_util_tests"
environments = basic_envs
},
]
}