blob: 7b0a08aa9546c42bcc9ddb2ae6294eb5ac32a3bd [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.
library("device-protocol-pdev") {
sdk = "source"
sdk_headers = [ "lib/device-protocol/pdev.h" ]
sources = [
"pdev.cc",
]
public_deps = [
# <lib/device-protocol/pdev.h> has #include <ddktl/protocol/platform/device.h>.
"$zx/system/banjo/ddk.protocol.platform.device",
# Banjo protocols have #include <ddk/driver.h>.
"$zx/system/ulib/ddk:headers",
# Banjo protocols have #include <ddktl/device-internal.h>.
"$zx/system/ulib/ddktl:headers",
]
deps = [
# pdev.cpp has #include <lib/mmio/mmio.h>.
"$zx/system/dev/lib/mmio",
]
}