| # 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. |
| |
| driver("controller") { |
| sources = [ |
| "binding.c", |
| "codec-cmd-job.cpp", |
| "debug.cpp", |
| "intel-hda-codec.cpp", |
| "intel-hda-controller-init.cpp", |
| "intel-hda-controller.cpp", |
| "intel-hda-dsp.cpp", |
| "intel-hda-irq.cpp", |
| "intel-hda-stream.cpp", |
| "utils.cpp", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk-protocol-intelhda-codec", |
| "$zx/system/banjo/ddk-protocol-intelhda-dsp", |
| "$zx/system/banjo/ddk-protocol-pci", |
| "$zx/system/ulib/audio-driver-proto", |
| "$zx/system/ulib/audio-proto-utils", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/dispatcher-pool", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fzl", |
| "$zx/system/ulib/intel-hda", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxcpp", |
| ] |
| } |