| # 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/fidl/fuchsia.hardware.audio:fuchsia.hardware.audio_cpp", |
| "//sdk/fidl/fuchsia.hardware.audio:fuchsia.hardware.audio_hlcpp", |
| "//sdk/fidl/fuchsia.hardware.audio.signalprocessing:fuchsia.hardware.audio.signalprocessing_hlcpp", |
| "//sdk/lib/async-loop:async-loop-cpp", |
| "//sdk/lib/component/outgoing/cpp", |
| "//src/devices/bind/fuchsia:fuchsia_cpp", |
| "//src/devices/lib/driver:driver_runtime", |
| "//src/lib/ddktl", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/inspect", |
| "//zircon/system/ulib/zircon-internal", |
| "//zircon/system/ulib/zx", |
| |
| # TODO(andresoportus): Remove depedency on TLS (maybe done by C++ bindings unification). |
| "//sdk/lib/async-loop:async-loop-default", |
| ] |
| deps = [ |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/sync", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "tests:test-package" ] |
| } |