blob: 317adf19b121f1296c7309703f9fd341c94e1fb1 [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") {
embed = [ ":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") {
embed = [ ":main" ]
}