blob: 2bac12397739e3b94e7237e54a1a3fc094c9fbe0 [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")
import("//build/testing/environments.gni")
rustc_library("files_async") {
with_unit_tests = true
edition = "2018"
deps = [
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
"//zircon/system/fidl/fuchsia-io:fuchsia-io-rustc",
]
test_deps = [
"//garnet/lib/rust/io_util",
"//src/lib/storage/vfs/rust:vfs",
"//third_party/rust_crates:pin-utils",
"//third_party/rust_crates:proptest",
"//third_party/rust_crates:tempfile",
]
}
test_package("files_async_tests") {
deps = [ ":files_async_test" ]
tests = [
{
name = "files_async_lib_test"
environments = [ qemu_env ]
},
]
}