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

     1  load("//tools:defs.bzl", "go_library", "proto_library")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "memevent",
     7      srcs = ["memory_events.go"],
     8      visibility = ["//:sandbox"],
     9      deps = [
    10          ":memory_events_go_proto",
    11          "//pkg/eventchannel",
    12          "//pkg/log",
    13          "//pkg/metric",
    14          "//pkg/sentry/kernel",
    15          "//pkg/sentry/usage",
    16          "//pkg/sync",
    17      ],
    18  )
    19  
    20  proto_library(
    21      name = "memory_events",
    22      srcs = ["memory_events.proto"],
    23      visibility = ["//visibility:public"],
    24  )