| # 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. |
| |
| executable("ihda") { |
| if (is_fuchsia) { |
| fdio_config = [ "//build/config/fuchsia:fdio_config" ] |
| if (configs + fdio_config - fdio_config != configs) { |
| configs -= fdio_config |
| } |
| } |
| sources = [ |
| "ihda.cc", |
| "intel_hda_codec.cc", |
| "intel_hda_controller.cc", |
| "intel_hda_device.cc", |
| "print_codec_state.cc", |
| "zircon_device.cc", |
| ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.intel.hda:fuchsia.hardware.intel.hda_cpp", |
| "//sdk/lib/component/incoming/cpp", |
| "//src/media/audio/drivers/lib/intel-hda", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/fzl", |
| "//zircon/system/ulib/zx", |
| ] |
| } |