blob: cb99b16c86485dd0dbb683c4708475d6cb30d747 [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")
import("//build/test/test_package.gni")
rustc_library("ramdevice_client") {
with_unit_tests = true
edition = "2018"
deps = [
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia-async",
"//src/lib/zircon/rust:fuchsia-zircon",
"//zircon/system/fidl/fuchsia-io:fuchsia-io-rustc",
]
non_rust_deps = [ "//zircon/public/lib/ramdevice-client" ]
}
test_package("ramdevice_client_tests") {
deps = [ ":ramdevice_client_test" ]
tests = [
{
name = "ramdevice_client_lib_test"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
deps = [ ":ramdevice_client_tests" ]
}