github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/log/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "log",
     7      srcs = [
     8          "glog.go",
     9          "json.go",
    10          "json_k8s.go",
    11          "log.go",
    12      ],
    13      marshal = False,
    14      stateify = False,
    15      visibility = [
    16          "//visibility:public",
    17      ],
    18      deps = [
    19          "//pkg/linewriter",
    20          "//pkg/sync",
    21      ],
    22  )
    23  
    24  go_test(
    25      name = "log_test",
    26      size = "small",
    27      srcs = [
    28          "json_test.go",
    29          "log_test.go",
    30      ],
    31      library = ":log",
    32  )