blob: 4bf35460154ddf131139259d563d9332a1c0d9f7 [file] [log] [blame] [edit]
# Copyright 2025 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_binary.gni")
import("//build/go/go_library.gni")
import("//build/go/go_test.gni")
go_library("rust_test_parser_lib") {
sources = [
"rusttest.go",
"rusttest_test.go",
]
deps = [ "//tools/testing/runtests" ]
}
group("tests") {
testonly = true
deps = [ ":rust_test_parser_lib_tests" ]
}
go_test("rust_test_parser_lib_tests") {
library = ":rust_test_parser_lib"
deps = [ "//third_party/golibs:github.com/google/go-cmp" ]
}
go_library("main") {
source_dir = "cmd"
sources = [ "main.go" ]
deps = [
":rust_test_parser_lib",
"//tools/testing/testrunner:constants",
]
}
go_binary("rust_test_parser") {
library = ":main"
}