mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
24 lines
420 B
Python
24 lines
420 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "hostcpu",
|
|
srcs = [
|
|
"getcpu_amd64.s",
|
|
"getcpu_arm64.s",
|
|
"hostcpu.go",
|
|
],
|
|
visibility = ["//:sandbox"],
|
|
)
|
|
|
|
go_test(
|
|
name = "hostcpu_test",
|
|
size = "small",
|
|
srcs = ["hostcpu_test.go"],
|
|
library = ":hostcpu",
|
|
)
|