| # 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") { |
| public_deps = [ |
| ":sequential_futures", |
| ] |
| } |