|  | # 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("mock-paver") { | 
|  | version = "0.1.0" | 
|  | edition = "2018" | 
|  | with_unit_tests = true | 
|  |  | 
|  | deps = [ | 
|  | "//sdk/fidl/fuchsia.mem:fuchsia.mem-rustc", | 
|  | "//sdk/fidl/fuchsia.paver:fuchsia.paver-rustc", | 
|  | "//src/lib/fidl/rust/fidl", | 
|  | "//src/lib/fuchsia-async", | 
|  | "//src/lib/zircon/rust:fuchsia-zircon", | 
|  | "//third_party/rust_crates:anyhow", | 
|  | "//third_party/rust_crates:async-trait", | 
|  | "//third_party/rust_crates:futures", | 
|  | "//third_party/rust_crates:parking_lot", | 
|  | ] | 
|  |  | 
|  | test_deps = [ "//third_party/rust_crates:matches" ] | 
|  |  | 
|  | sources = [ "src/lib.rs" ] | 
|  | } | 
|  |  | 
|  | fuchsia_unittest_package("mock-paver-tests") { | 
|  | deps = [ ":mock-paver_test" ] | 
|  | } | 
|  |  | 
|  | group("tests") { | 
|  | testonly = true | 
|  | public_deps = [ ":mock-paver-tests" ] | 
|  | } |