blob: 242fda03596852b1b3786038d894c706d27a5165 [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/package.gni")
import("//build/rust/rustc_library.gni")
import("//build/test/test_package.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" ]
}
test_package("mock-paver-tests") {
deps = [ ":mock-paver_test" ]
tests = [
{
name = "mock_paver_lib_test"
dest = "mock-paver-lib-test"
},
]
}
group("tests") {
testonly = true
public_deps = [ ":mock-paver-tests" ]
}