blob: a11b75e13c0299216469ba2379d5339c11310f54 [file] [log] [blame] [edit]
# Copyright 2020 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("//build/zircon/zx_library.gni")
zx_library("simple-codec") {
sdk = "source"
sdk_headers = [
"lib/simple-codec/simple-codec-client.h",
"lib/simple-codec/simple-codec-helper.h",
"lib/simple-codec/simple-codec-server.h",
"lib/simple-codec/simple-codec-types.h",
]
sources = [
"simple-codec-client.cc",
"simple-codec-helper.cc",
"simple-codec-server.cc",
]
public_deps = [
"//sdk/banjo/fuchsia.hardware.audio:fuchsia.hardware.audio_banjo_cpp",
"//sdk/fidl/fuchsia.hardware.audio",
"//sdk/fidl/fuchsia.hardware.audio:fuchsia.hardware.audio_cpp_wire",
"//src/lib/ddktl",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/inspect",
"//zircon/system/ulib/zircon-internal",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/zxc",
# TODO(andresoportus): Remove depedency on TLS (maybe done by C++ bindings unification).
"//zircon/system/ulib/async-loop:async-loop-default",
]
deps = [
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/sync",
]
# TODO(fxbug.dev/94768): This target uses mutable tables which are deprecated,
# rather than builders.
configs += [ "//build/cpp:fidl-wire-deprecated-mutable-tables" ]
}
group("tests") {
testonly = true
deps = [ "tests:test-package" ]
}