blob: b9e15e2de60dbaf69cfe8673de117e712a29c25c [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
import("//build/zircon/migrated_targets.gni")
zx_library("pdev") {
kernel = true
sources = [ "pdev.cc" ]
deps = [ "//zircon/kernel/lib/init" ]
public_deps = [
# <pdev/driver.h> has #include <lib/special-sections/special-sections.h>.
"//zircon/kernel/lib/special-sections:headers",
# <pdev/driver.h> has #include <lk/init.h>.
"//zircon/kernel/lib/init",
# <pdev/interrupt.h> has #include <dev/interrupt.h>.
"//zircon/kernel/dev/interrupt:headers",
]
}