blob: 038a34db6304a3bc64d3c8580fcd2d53f91dfbca [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.
library("simple-audio-stream") {
sdk = "source"
sdk_headers = [ "lib/simple-audio-stream/simple-audio-stream.h" ]
sources = [
"simple-audio-stream.cpp",
]
public_deps = [
"$zx/system/fidl/fuchsia-hardware-audio:c.headers",
"$zx/system/ulib/ddktl:headers",
"$zx/system/ulib/dispatcher-pool:headers",
"$zx/system/ulib/fbl:headers",
"$zx/system/ulib/zx:headers",
]
deps = [
"$zx/system/fidl/fuchsia-hardware-audio:c",
"$zx/system/ulib/audio-driver-proto",
"$zx/system/ulib/audio-proto-utils",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/dispatcher-pool",
"$zx/system/ulib/fbl",
"$zx/system/ulib/zx",
]
}
test("sa-unittest") {
sources = [
"tests/sas-test.cpp",
]
deps = [
":simple-audio-stream",
"$zx/system/dev/lib/fake_ddk",
"$zx/system/dev/lib/operation",
"$zx/system/ulib/audio-driver-proto",
"$zx/system/ulib/audio-proto-utils",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fzl",
"$zx/system/ulib/sync",
"$zx/system/ulib/unittest",
]
}