blob: 2e779328356c285719dd9ee8b7d15241803fc9a9 [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")
test_package("sequential_futures_tests") {
deps = [
":tests",
]
tests = [
{
name = "sequential_futures_lib_test"
environments = basic_envs
},
]
}
rustc_library("sequential_futures") {
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:pin-utils",
]
}
group("tests") {
testonly = true
public_deps = [
":sequential_futures_test",
]
}