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

     1  load("//tools:defs.bzl", "go_library", "proto_library")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_library(
     9      name = "arch",
    10      srcs = [
    11          "aligned.go",
    12          "arch.go",
    13          "arch_aarch64.go",
    14          "arch_amd64.go",
    15          "arch_arm64.go",
    16          "arch_state_x86.go",
    17          "arch_x86.go",
    18          "arch_x86_impl.go",
    19          "auxv.go",
    20          "signal_amd64.go",
    21          "signal_arm64.go",
    22          "stack.go",
    23          "stack_unsafe.go",
    24          "syscalls_amd64.go",
    25          "syscalls_arm64.go",
    26      ],
    27      marshal = True,
    28      visibility = ["//:sandbox"],
    29      deps = [
    30          ":registers_go_proto",
    31          "//pkg/abi/linux",
    32          "//pkg/context",
    33          "//pkg/cpuid",
    34          "//pkg/errors/linuxerr",
    35          "//pkg/hostarch",
    36          "//pkg/log",
    37          "//pkg/marshal",
    38          "//pkg/marshal/primitive",
    39          "//pkg/rand",
    40          "//pkg/sentry/arch/fpu",
    41          "//pkg/sentry/limits",
    42          "//pkg/usermem",
    43          "@org_golang_x_sys//unix:go_default_library",
    44      ],
    45  )
    46  
    47  proto_library(
    48      name = "registers",
    49      srcs = ["registers.proto"],
    50      visibility = ["//visibility:public"],
    51  )