| # Copyright 2021 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/go/go_library.gni") |
| import("//build/testing/host_test_data.gni") |
| import("//tools/fidl/lib/fidlgentest/fidlgentest_go_test.gni") |
| |
| go_library("fidlgentest") { |
| sources = [ |
| "endtoendtest.go", |
| "endtoendtest_test.go", |
| ] |
| deps = [ "//tools/fidl/lib/fidlgen" ] |
| } |
| |
| if (is_host) { |
| fidlgentest_go_test("fidlgentest_lib_test") { |
| gopackages = [ "go.fuchsia.dev/fuchsia/tools/fidl/lib/fidlgentest" ] |
| deps = [ ":fidlgentest" ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":fidlgentest_lib_test($host_toolchain)" ] |
| } |