| # Copyright 2020 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/config/fuchsia/rules.gni") |
| import("//build/test.gni") |
| |
| driver_module("virtio_rng") { |
| configs += [ |
| "//build/config:all_source", |
| "//build/config/fuchsia:enable_zircon_asserts", |
| ] |
| if (is_fuchsia) { |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| } |
| sources = [ |
| "rng.cc", |
| "rng_driver.cc", |
| ] |
| deps = [ |
| "//src/devices/bus/lib/virtio", |
| "//src/devices/lib/driver", |
| "//src/lib/ddktl", |
| ] |
| } |