blob: 9cad2995639d57db210bb5909c239eeeece90962 [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("designware") {
sdk = "static"
sdk_headers = [
"dev/pci/designware/atu-cfg.h",
"dev/pci/designware/dw-pcie.h",
]
sources = [ "dw-pcie.cc" ]
deps = [
"//src/devices/lib/driver",
"//src/devices/lib/mmio",
"//src/lib/ddk",
"//src/lib/ddktl",
"//zircon/public/lib/fbl",
"//zircon/public/lib/hwreg",
"//zircon/public/lib/sync",
"//zircon/public/lib/zx",
]
}