gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/hostcpu/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 = "hostcpu",
    10      srcs = [
    11          "getcpu_amd64.s",
    12          "getcpu_arm64.s",
    13          "hostcpu.go",
    14      ],
    15      visibility = ["//:sandbox"],
    16  )
    17  
    18  go_test(
    19      name = "hostcpu_test",
    20      size = "small",
    21      srcs = ["hostcpu_test.go"],
    22      library = ":hostcpu",
    23  )