kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/util/tools/print_test_status/BUILD (about)

     1  load("//tools:build_rules/shims.bzl", "go_binary")
     2  
     3  package(default_visibility = ["//kythe:default_visibility"])
     4  
     5  genrule(
     6      name = "copy_print_test_status",
     7      srcs = [":print_test_status_bin"],
     8      outs = ["print_test_status"],
     9      cmd = "cp $< $@",
    10      output_to_bindir = True,
    11  )
    12  
    13  go_binary(
    14      name = "print_test_status_bin",
    15      srcs = ["print_test_status.go"],
    16      deps = [
    17          "//kythe/go/platform/vfs",
    18          "//kythe/go/util/log",
    19          "//third_party/bazel:test_status_go_proto",
    20          "@org_golang_google_protobuf//proto",
    21      ],
    22  )