blob: fbb7f64cb7ffc9c3f6c4654a497834fcd40d1b8b [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("$zx/public/gn/fidl.gni")
if (is_fuchsia) {
group("test") {
testonly = true
deps = [ ":service-llcpp-test" ]
}
zx_test("service-llcpp-test") {
sources = [
"llcpp/client_test.cc",
"llcpp/server_test.cc",
]
deps = [
":fidl.service.test.llcpp",
"$zx/system/ulib/async-loop:async-loop-cpp",
"$zx/system/ulib/async-loop:async-loop-default",
"$zx/system/ulib/fdio",
"$zx/system/ulib/fidl-async",
"$zx/system/ulib/fidl-async:fidl-async-cpp",
"$zx/system/ulib/fs",
"$zx/system/ulib/service:service-llcpp",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zxtest",
]
}
}
# Generate C bindings that the LLCPP bindings depend on.
fidl_library("fidl.service.test") {
testonly = true
visibility = [ ":*" ]
sources = [ "test.test.fidl" ]
}