blob: 3d232ef959e4c2c876fb4a8211abd382a6c76174 [file] [log] [blame] [edit]
# Copyright 2022 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")
assert(is_host, "testing_lib is for use with the host toolchain only")
rustc_library("lib") {
name = "testing_lib"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
visibility = [
":*",
"//src/developer/ffx/plugins/test/*",
]
sources = [ "src/lib.rs" ]
deps = [
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust",
"//sdk/fidl/fuchsia.test.manager:fuchsia.test.manager_rust",
"//src/developer/ffx/lib/rcs:lib",
"//third_party/rust_crates:anyhow",
]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
group("testing") {
testonly = true
deps = [
":lib",
":tests",
]
}