| # 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. |
| |
| library("mt8167") { |
| sources = [ |
| "mt8167-audio-in.cpp", |
| "mt8167-audio-out.cpp", |
| ] |
| deps = [ |
| "$zx/system/dev/lib/mmio", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/ddktl", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/hwreg", |
| "$zx/system/ulib/zx", |
| ] |
| } |
| |
| test("mt8167-audio-lib-test") { |
| output_name = "mt8167-audio-lib-test" |
| sources = [ |
| "mt8167-audio-in-test.cpp", |
| "mt8167-audio-in.cpp", |
| ] |
| deps = [ |
| "$zx/system/dev/lib/fake_ddk", |
| "$zx/system/dev/lib/mock-mmio-reg", |
| "$zx/system/dev/lib/mt8167", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/ddktl", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/hwreg", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxtest", |
| ] |
| } |