blob: cdcca4d755c2bc6547aaeb725f1414adef507e25 [file]
# Copyright 2020 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/bazel/bazel_host_tool.gni")
assert(is_host, "bazel_host_tool() can only be called in a host toolchain.")
bazel_host_tool("testparser_cmd") {
bazel_target = ":testparser_cmd"
bazel_output_path = "{{BAZEL_TARGET_OUT_DIR}}/testparser_cmd_/testparser_cmd"
output_name = "testparser"
}
group("tests") {
testonly = true
deps = [ ":testparser_tests($host_toolchain)" ]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
if (is_host) {
go_library("testparser") {
sources = [
"googletest.go",
"testparser.go",
"trftest.go",
"vulkanctstest.go",
"zircon_utest.go",
]
visibility = [ "//*" ]
deps = [
"//src/connectivity/network/testing/conformance/parseoutput",
"//tools/build",
"//tools/testing/runtests",
]
}
}
if (is_host) {
go_test("testparser_tests") {
sources = [ "testparser_test.go" ]
embed = [ ":testparser" ]
visibility = [
":*",
"//tools:*",
]
deps = [
"//third_party/golibs:github.com/google/go-cmp/cmp",
"//third_party/golibs:github.com/google/go-cmp/cmp/cmpopts",
]
}
}