blob: 4359114fc273d3e93c1cd2ebe347679048219b12 [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/zircon/zx_library.gni")
zx_library("device-protocol-pci") {
sdk = "source"
sdk_headers = [ "lib/device-protocol/pci.h" ]
sources = [ "pci.cc" ]
deps = [ "//src/lib/ddk" ]
public_deps = [
# <lib/device-protocol/pci.h> has #include <fuchsia/hardware/pci/c/banjo.h>
"//src/devices/pci/lib/fuchsia.hardware.pci:fuchsia.hardware.pci_banjo_cpp",
# <lib/device-protocol/pci.h> has #include <lib/mmio/mmio-buffer.h>
"//src/devices/lib/mmio",
# <lib/device-protocol/pci.h> has #include <zircon/syscalls.h>
"//zircon/system/ulib/zx",
]
}
group("tests") {
testonly = true
deps = [ "test:device-protocol-pci-test" ]
}