blob: b0d5fb3baa1fb2fbdba14969904173039056f5a3 [file] [log] [blame]
# Copyright 2018 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("//src/sys/build/components.gni")
rustc_binary("bin") {
name = "dummy_proc"
edition = "2018"
deps = [
"//src/connectivity/network/testing/netemul/lib/fidl:environment-rustc",
"//src/connectivity/network/testing/netemul/lib/fidl:sync-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:structopt",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("dummy_proc") {
component_name = "dummy-proc"
manifest = "meta/dummy-proc.cmx"
testonly = true
deps = [ ":bin" ]
}
fuchsia_component("dummy_proc_with_dev") {
component_name = "dummy-proc-with-dev"
manifest = "meta/dummy-proc-with-dev.cmx"
testonly = true
deps = [ ":bin" ]
}