blob: f18ce275e0ed4e11d4fce7229189cfc62b110844 [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) {
zx_test("fidl-simple") {
sources = [
"c_transformer_smoke_tests.c",
"client_tests.c",
"ldsvc_tests.c",
"server_tests.c",
"spaceship_tests.c",
"spaceship_tests.cc",
]
deps = [
":fidl.test.echo.c",
":fidl.test.spaceship.c",
":fidl.test.ctransformer.c",
"$zx/system/fidl/fuchsia-ldsvc:c",
"$zx/system/fidl/fuchsia-mem:c",
"$zx/system/ulib/async",
"$zx/system/ulib/async:async-default",
"$zx/system/ulib/async-loop",
"$zx/system/ulib/async-loop:async-loop-default.static",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/fidl",
"$zx/system/ulib/fidl-utils",
"$zx/system/ulib/ldmsg",
"$zx/system/ulib/unittest",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
]
}
}
fidl_library("fidl.test.echo") {
visibility = [ ":*" ]
sources = [
"echo.test.fidl",
]
}
fidl_library("fidl.test.spaceship") {
visibility = [ ":*" ]
sources = [
"spaceship.test.fidl",
]
}
fidl_library("fidl.test.ctransformer") {
visibility = [ ":*" ]
sources = [
"ctransformer.test.fidl",
]
public_deps = [
"$zx/system/utest/fidl:example"
]
}