gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/cmd/metricserver/BUILD (about)

     1  load("//tools:defs.bzl", "go_binary")
     2  load("//tools/embeddedbinary:defs.bzl", "embedded_binary_go_library")
     3  
     4  package(
     5      default_applicable_licenses = ["//:license"],
     6      licenses = ["notice"],
     7  )
     8  
     9  go_binary(
    10      name = "metricserver_bin",
    11      srcs = [
    12          "metricserver_main.go",
    13      ],
    14      visibility = [
    15          "//test/metricclient:__subpackages__",
    16      ],
    17      deps = [
    18          "//pkg/log",
    19          "//runsc/cmd/metricserver/metricservercmd",
    20          "//runsc/cmd/util",
    21          "//runsc/config",
    22          "//runsc/flag",
    23          "//runsc/metricserver",
    24          "@com_github_google_subcommands//:go_default_library",
    25      ],
    26  )
    27  
    28  embedded_binary_go_library(
    29      name = "metricserver",
    30      binary = ":metricserver_bin",
    31      visibility = [
    32          "//runsc:__subpackages__",
    33      ],
    34  )