blob: 5d7d42cabd98eaa3c7d6927508c596e05573f2fd [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/config.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
output_name = "factory_reset_trigger"
with_unit_tests = true
edition = "2018"
deps = [
"//src/lib/fuchsia",
"//src/sys/pkg/lib/forced-fdr",
"//third_party/rust_crates:anyhow",
]
sources = [ "src/main.rs" ]
}
fuchsia_package_with_single_component("factory-reset-trigger") {
manifest = "meta/factory-reset-trigger.cml"
deps = [ ":bin" ]
}