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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "goid",
     7      srcs = [
     8          "goid.go",
     9          "goid_amd64.s",
    10          "goid_arm64.s",
    11      ],
    12      stateify = False,
    13      visibility = ["//visibility:public"],
    14  )
    15  
    16  go_test(
    17      name = "goid_test",
    18      size = "small",
    19      srcs = [
    20          "goid_test.go",
    21      ],
    22      library = ":goid",
    23  )