blob: 70c2ec6138a90bda1d8b182ad29efca36ff9bee5 [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/config/fuchsia/rules.gni")
driver_module("intel-serialio") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [
"dma/dma.c",
"sdio/sdio.c",
"serialio.c",
"spi/spi.c",
"uart/uart.c",
]
include_dirs = [ "intel-serialio-include" ]
deps = [
"//sdk/banjo/ddk.protocol.pci",
"//sdk/banjo/ddk.protocol.serial",
"//src/devices/lib/driver",
"//src/devices/pci/lib/device-protocol-pci",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
]
}