| # Copyright 2019 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/package.gni") | 
 | import("//build/rust/rustc_library.gni") | 
 | import("//build/test/test_package.gni") | 
 |  | 
 | rustc_library("forced-fdr") { | 
 |   name = "forced_fdr" | 
 |   version = "0.1.0" | 
 |   edition = "2018" | 
 |   with_unit_tests = true | 
 |  | 
 |   deps = [ | 
 |     "//sdk/fidl/fuchsia.recovery:fuchsia.recovery-rustc", | 
 |     "//sdk/fidl/fuchsia.update.channel:fuchsia.update.channel-rustc", | 
 |     "//src/lib/fidl/rust/fidl", | 
 |     "//src/lib/fuchsia-async", | 
 |     "//src/lib/fuchsia-component", | 
 |     "//src/lib/syslog/rust:syslog", | 
 |     "//third_party/rust_crates:anyhow", | 
 |     "//third_party/rust_crates:futures", | 
 |     "//third_party/rust_crates:parking_lot", | 
 |     "//third_party/rust_crates:serde", | 
 |     "//third_party/rust_crates:serde_json", | 
 |     "//third_party/rust_crates:tempfile", | 
 |     "//third_party/rust_crates:thiserror", | 
 |   ] | 
 |  | 
 |   sources = [ | 
 |     "src/forced_fdr_test.rs", | 
 |     "src/lib.rs", | 
 |   ] | 
 | } | 
 |  | 
 | test_package("forced-fdr-tests") { | 
 |   deps = [ ":forced-fdr_test" ] | 
 |  | 
 |   tests = [ | 
 |     { | 
 |       name = "forced_fdr_lib_test" | 
 |       dest = "forced-fdr-lib-test" | 
 |     }, | 
 |   ] | 
 | } | 
 |  | 
 | group("tests") { | 
 |   testonly = true | 
 |   public_deps = [ ":forced-fdr-tests" ] | 
 | } |