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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "hostcpu",
     7      srcs = [
     8          "getcpu_amd64.s",
     9          "getcpu_arm64.s",
    10          "hostcpu.go",
    11      ],
    12      visibility = ["//:sandbox"],
    13  )
    14  
    15  go_test(
    16      name = "hostcpu_test",
    17      size = "small",
    18      srcs = ["hostcpu_test.go"],
    19      library = ":hostcpu",
    20  )