blob: bf48eba4c1397ed8adf0b5dd7954e1c387f97a2e [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_binary.gni")
import("//build/rust/rustc_library.gni")
rustc_binary("unbound_child_worker_child_bin") {
name = "unbound_child_worker_child"
edition = "2018"
source_root = "unbound_child/worker_child.rs"
deps = [
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/sys/component_manager/tests/fidl:fuchsia.test.workscheduler-rustc",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "unbound_child/worker_child.rs" ]
}
rustc_binary("unbound_child_worker_sibling_bin") {
name = "unbound_child_worker_sibling"
edition = "2018"
source_root = "unbound_child/worker_sibling.rs"
deps = [
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
]
sources = [ "unbound_child/worker_sibling.rs" ]
}
rustc_binary("bound_worker_bin") {
name = "bound_worker"
edition = "2018"
source_root = "bound/worker.rs"
deps = [
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/sys/component_manager/tests/fidl:fuchsia.test.workscheduler-rustc",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "bound/worker.rs" ]
}