gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/prometheus/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_library(
     9      name = "prometheus",
    10      srcs = [
    11          "prometheus.go",
    12          "prometheus_verify.go",
    13      ],
    14      stateify = False,
    15      visibility = ["//:sandbox"],
    16      deps = ["//pkg/metric:metric_go_proto"],
    17  )
    18  
    19  go_test(
    20      name = "prometheus_test",
    21      size = "small",
    22      srcs = ["prometheus_test.go"],
    23      library = ":prometheus",
    24      deps = [
    25          "//pkg/metric:metric_go_proto",
    26          "@com_github_golang_protobuf//proto:go_default_library",
    27          "@com_github_google_go_cmp//cmp:go_default_library",
    28          "@com_github_prometheus_common//expfmt",
    29          "@org_golang_google_protobuf//encoding/prototext:go_default_library",
    30          "@org_golang_google_protobuf//proto:go_default_library",
    31          "@org_golang_google_protobuf//reflect/protoreflect:go_default_library",
    32          "@org_golang_google_protobuf//testing/protocmp:go_default_library",
    33      ],
    34  )