blob: d6e585e7fed499d3f8690ac60cdaa9e3324d2b43 [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/config.gni")
import("//build/rust/rustc_binary.gni")
import("//src/sys/core/build/core_shard.gni")
rustc_binary("bin") {
output_name = "fs_health_check"
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.recovery:fuchsia.recovery_rust",
"//src/lib/fuchsia-async",
"//src/lib/syslog/rust:syslog",
"//src/sys/pkg/lib/forced-fdr",
"//third_party/rust_crates:anyhow",
]
sources = [ "src/main.rs" ]
}
fuchsia_package_with_single_component("fs-health-check") {
manifest = "meta/fs_health_check.cml"
deps = [ ":bin" ]
}
core_shard("fs-health-check-core-shard") {
shard_file = "meta/fs_health_check.core_shard.cml"
}