blob: 18f5e0993ee34cbc213dcd00e8c40315275156e7 [file] [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("dart_test_parser_lib") {
sources = [
"dartsystemtest.go",
"dartsystemtest_test.go",
]
deps = [ "//tools/testing/runtests" ]
}
group("tests") {
testonly = true
deps = [ ":dart_test_parser_lib_tests" ]
}
go_test("dart_test_parser_lib_tests") {
embed = [ ":dart_test_parser_lib" ]
deps = [ "//third_party/golibs:github.com/google/go-cmp" ]
}
go_library("main") {
source_dir = "cmd"
sources = [ "main.go" ]
deps = [
":dart_test_parser_lib",
"//tools/testing/testrunner:constants",
]
}
go_binary("dart_test_parser") {
embed = [ ":main" ]
}