mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
This allows other code to use them as deps, which is impossible as a go_binary. PiperOrigin-RevId: 591054831
21 lines
389 B
Python
21 lines
389 B
Python
load("//tools:defs.bzl", "go_binary")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "xdp_loader",
|
|
srcs = [
|
|
"main.go",
|
|
],
|
|
pure = True,
|
|
visibility = ["//:sandbox"],
|
|
deps = [
|
|
"//runsc/flag",
|
|
"//tools/xdp/cmd",
|
|
"@com_github_google_subcommands//:go_default_library",
|
|
],
|
|
)
|