gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/hosttid/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 = "hosttid",
    10      srcs = [
    11          "hosttid.go",
    12          "hosttid_amd64.s",
    13          "hosttid_arm64.s",
    14      ],
    15      visibility = ["//visibility:public"],
    16  )
    17  
    18  go_test(
    19      name = "hosttid_test",
    20      size = "small",
    21      srcs = [
    22          "hosttid_test.go",
    23      ],
    24      library = ":hosttid",
    25      deps = [
    26          "//pkg/sync",
    27          "@org_golang_x_sys//unix:go_default_library",
    28      ],
    29  )
    30  
    31  go_test(
    32      name = "hosttid_net_test",
    33      size = "small",
    34      srcs = [
    35          "hosttid_net_test.go",
    36          "hosttid_test.go",
    37      ],
    38      library = ":hosttid",
    39      deps = [
    40          "//pkg/sync",
    41          "@org_golang_x_sys//unix:go_default_library",
    42      ],
    43  )