blob: c4bf5da36ea4aad5dab08f7d9cd6b646e19738eb [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/rust/rustc_library.gni")
import("//src/sys/build/components.gni")
rustc_library("lib") {
name = "mock-crash-reporter"
version = "0.0.1"
edition = "2018"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.feedback:fuchsia.feedback-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:futures",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("mock-crash-reporter-tests") {
deps = [ ":lib_test" ]
}
group("tests") {
testonly = true
deps = [ ":mock-crash-reporter-tests" ]
}