blob: 65e029b23950601ec69e154d1c8a9a6eab40585b [file] [log] [blame]
# 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_binary.gni")
rustc_binary("virtio_input_test_util") {
name = "virtio_input_test_util"
edition = "2021"
configs += [ "//src/virtualization/tests:guest_test_util" ]
disable_rbe = true
with_unit_tests = true
deps = [
"//third_party/rust_crates:clap",
"//third_party/rust_crates:libc",
]
test_deps = [ "//third_party/rust_crates:assert_matches" ]
sources = [
"src/events.rs",
"src/main.rs",
]
}
group("tests") {
testonly = true
public_deps = [ ":virtio_input_test_util_test" ]
}