gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/loader/vdsodata/BUILD (about)

     1  load("//tools:arch.bzl", "arch_genrule")
     2  load("//tools:defs.bzl", "go_library")
     3  
     4  package(
     5      default_applicable_licenses = ["//:license"],
     6      licenses = ["notice"],
     7  )
     8  
     9  arch_genrule(
    10      name = "vdso_arch",
    11      src = "//vdso",
    12      template = "vdso_%s.so",
    13  )
    14  
    15  go_library(
    16      name = "vdsodata",
    17      srcs = [
    18          "vdsodata.go",
    19          "vdsodata_amd64.go",
    20          "vdsodata_arm64.go",
    21      ],
    22      embedsrcs = [
    23          ":vdso_arch",  # keep
    24      ],
    25      marshal = False,
    26      stateify = False,
    27      visibility = ["//pkg/sentry:internal"],
    28  )