blob: b4efab2f324df769d5bba091cabe762f0b865362 [file] [log] [blame]
# Copyright 2019 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")
rustc_library("lib") {
name = "test_adapter_lib"
with_unit_tests = true
edition = "2018"
# Only for internal use.
visibility = [
"gtest/*",
"rust/*",
":*",
]
deps = [
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-runtime",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
}
group("test_adapters") {
testonly = true
deps = [
"gtest",
"rust",
]
}
group("tests") {
testonly = true
deps = [
"gtest:tests",
"rust:tests",
]
}