| # 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_library.gni") | 
 |  | 
 | rustc_library("fidl-fuchsia-update-installer-ext") { | 
 |   version = "0.0.1" | 
 |   edition = "2018" | 
 |   with_unit_tests = true | 
 |  | 
 |   deps = [ | 
 |     "//sdk/fidl/fuchsia.pkg:fuchsia.pkg-rustc", | 
 |     "//src/lib/diagnostics/inspect/rust", | 
 |     "//src/lib/fidl/rust/fidl", | 
 |     "//src/lib/fuchsia-url", | 
 |     "//src/sys/pkg/fidl/fuchsia.update.installer:fuchsia.update.installer-rustc", | 
 |     "//src/sys/pkg/lib/event-queue", | 
 |     "//third_party/rust_crates:futures", | 
 |     "//third_party/rust_crates:log", | 
 |     "//third_party/rust_crates:pin-project", | 
 |     "//third_party/rust_crates:proptest", | 
 |     "//third_party/rust_crates:proptest-derive", | 
 |     "//third_party/rust_crates:serde", | 
 |     "//third_party/rust_crates:thiserror", | 
 |   ] | 
 |  | 
 |   test_deps = [ | 
 |     "//src/lib/fuchsia-async", | 
 |     "//third_party/rust_crates:assert_matches", | 
 |     "//third_party/rust_crates:serde_json", | 
 |   ] | 
 |  | 
 |   sources = [ | 
 |     "src/lib.rs", | 
 |     "src/options.rs", | 
 |     "src/state.rs", | 
 |   ] | 
 | } | 
 |  | 
 | fuchsia_unittest_package("fidl-fuchsia-update-installer-ext-tests") { | 
 |   deps = [ ":fidl-fuchsia-update-installer-ext_test" ] | 
 | } | 
 |  | 
 | group("tests") { | 
 |   testonly = true | 
 |   public_deps = [ ":fidl-fuchsia-update-installer-ext-tests" ] | 
 | } |