blob: ca17d1c62223de8608e5b1d43be15710cf656c49 [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 = [
"//sdk/fidl/fuchsia.hardware.pci:fuchsia.hardware.pci_cpp",
# <lib/device-protocol/pci.h> has #include <lib/mmio/mmio-buffer.h>
"//src/devices/lib/mmio",
# <lib/device-protocol/pci.h> has #include <ddktl/device.h>
"//src/lib/ddktl",
# <lib/device-protocol/pci.h> has #include <zircon/syscalls.h>
"//zircon/system/ulib/zx",
]
}
group("tests") {
testonly = true
deps = [ "test:device-protocol-pci-test" ]
}