blob: c08ed084827c9dd8439797b91a3b859cb2c09794 [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")
group("tests") {
testonly = true
deps = [ ":component_manager_task_scope_test" ]
}
rustc_library("task_scope") {
name = "cm_task_scope"
with_unit_tests = true
deps = [
"//src/lib/fuchsia-async",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:rand",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("component_manager_task_scope_test") {
deps = [ ":task_scope_test" ]
}