blob: 38785759a17c0922c3435c7b0adb2808e103d8f6 [file] [log] [blame]
# Copyright 2021 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("lib") {
name = "mock-verifier"
version = "0.0.1"
edition = "2021"
with_unit_tests = true
deps = [
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/sys/pkg/fidl/fuchsia.update.verify:fuchsia.update.verify_rust",
"//third_party/rust_crates:futures",
]
sources = [ "src/lib.rs" ]
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
}
fuchsia_unittest_package("mock-verifier-tests") {
deps = [ ":lib_test" ]
}
group("tests") {
testonly = true
deps = [ ":mock-verifier-tests" ]
}