| # 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("$zx/public/gn/firmware.gni") |
| |
| driver("dsp") { |
| sources = [ |
| "binding.c", |
| "debug.cpp", |
| "intel-audio-dsp.cpp", |
| "intel-dsp-code-loader.cpp", |
| "intel-dsp-ipc.cpp", |
| "intel-dsp-stream.cpp", |
| "intel-dsp-topology.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/pretty", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxcpp", |
| ] |
| data_deps = [ |
| ":firmware", |
| ] |
| } |
| |
| firmware("firmware") { |
| sources = [ |
| "$firmware_dir/intel-adsp-sst/dsp_fw_kbl_v3266.bin", |
| ] |
| } |