| # Copyright 2020 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") | |
| import("//build/rust/rustc_test.gni") | |
| import("//build/testing/test_spec.gni") | |
| rustc_binary("mock-sys-launcher-bin") { | |
| testonly = true | |
| name = "mock_sys_launcher" | |
| edition = "2018" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc", | |
| "//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:thiserror", | |
| "//third_party/rust_crates:tracing", | |
| ] | |
| sources = [ "src/main.rs" ] | |
| } |