blob: 8c04847b33fc73a80b954c50b7f6f054f42a890a [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")
# This file will evaluated in $default_toolchain when processing the
# fidl_library() invocations below. But that toolchain doesn't support
# compiling targets, so don't define the actual target there.
if (current_toolchain != default_toolchain) {
zx_test("fidl-coding-tables") {
sources = [ "coding_tables_tests.cc" ]
deps = [
":fidl.test.example.codingtables.c",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/fidl",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}
}
fidl_library("fidl.test.example.codingtablesdeps") {
visibility = [ ":*" ]
sources = [ "coding_tables_deps.test.fidl" ]
}
fidl_library("fidl.test.example.codingtables") {
visibility = [ ":*" ]
sources = [ "coding_tables.test.fidl" ]
public_deps = [ ":fidl.test.example.codingtablesdeps" ]
}