blob: 63d87772418f524e7ac82df88b92220fb9b17a4c [file] [log] [blame]
# 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/components.gni")
import("//build/rust/rustc_binary.gni")
import("//build/testing/environments.gni")
import("//src/sys/pkg/sysmgr_config.gni")
rustc_binary("bin") {
edition = "2018"
name = "mock_reboot_register_bin"
testonly = true
deps = [
"//sdk/fidl/fuchsia.hardware.power.statecontrol:fuchsia.hardware.power.statecontrol-rustc",
"//src/diagnostics/sampler/tests/fidl-for-test:fuchsia.mockrebootcontroller-rustc",
"//src/lib/diagnostics/inspect/rust",
"//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:argh",
"//third_party/rust_crates:derivative",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("mock_reboot_register_component") {
testonly = true
component_name = "mock_reboot_register_component"
manifest = "meta/mock_reboot_register_component.cmx"
deps = [ ":bin" ]
}