blob: 6a47e06aa45dd40575f3592ca37c86006f0727b9 [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.
import("//build/unification/zx_library.gni")
zx_library("fidl-async") {
sdk = "source"
sdk_publishable = true
sdk_headers = [ "lib/fidl-async/bind.h" ]
sources = [ "bind.c" ]
deps = [
"//zircon/public/lib/async",
"//zircon/public/lib/fidl",
]
}
zx_library("fidl-async-cpp") {
sdk = "source"
sdk_headers = [
"lib/fidl-async/cpp/bind.h",
"lib/fidl-async/cpp/channel_transaction.h",
]
sources = [
"llcpp_bind.cc",
"llcpp_channel_transaction.cc",
]
deps = [
"//sdk/lib/fit",
"//zircon/public/lib/async",
"//zircon/public/lib/fidl",
"//zircon/public/lib/fidl-llcpp",
]
public_deps = [
"//sdk/lib/fit",
# <lib/fidl-async/cpp/channel_transaction.h> has #include <lib/zx/channel.h>.
"//zircon/public/lib/zx",
]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}