| # 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. |
| |
| source_set("virtio") { |
| defines = [ "_ALL_SOURCE" ] |
| sources = [ |
| "backends/fake.h", |
| "backends/pci.cc", |
| "backends/pci.h", |
| "backends/pci_legacy.cc", |
| "backends/pci_modern.cc", |
| "device.cc", |
| "device.h", |
| "driver_utils.cc", |
| "driver_utils.h", |
| "ring.cc", |
| ] |
| public_deps = [ |
| "//sdk/banjo/ddk.protocol.pci", |
| "//src/devices/pci/lib/device-protocol-pci", |
| "//zircon/public/lib/ddk", |
| "//zircon/public/lib/ddktl", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/fit", |
| "//zircon/public/lib/hwreg", |
| "//zircon/public/lib/mmio", |
| "//zircon/public/lib/pretty", |
| "//zircon/public/lib/sync", |
| "//zircon/public/lib/zircon-internal", |
| "//zircon/public/lib/zx", |
| "//zircon/system/ulib/hid", |
| "//zircon/system/ulib/virtio", |
| ] |
| } |