| # Copyright 2018 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_rng_test_util") { |
| name = "virtio_rng_test_util" |
| edition = "2021" |
| |
| if (is_fuchsia) { |
| deps = [ "//src/lib/zircon/rust:fuchsia-zircon" ] |
| |
| source_root = "src/fuchsia_main.rs" |
| sources = [ "src/fuchsia_main.rs" ] |
| } else if (is_linux) { |
| source_root = "src/linux_main.rs" |
| sources = [ "src/linux_main.rs" ] |
| } |
| } |